Lines Matching refs:align

90 void *DEMOGfxAllocMEM1(u32 size, u32 align)  in DEMOGfxAllocMEM1()  argument
94 if (align < 4) in DEMOGfxAllocMEM1()
96 align = 4; in DEMOGfxAllocMEM1()
103 ptr = MEMAllocFromExpHeapEx(gDEMOMem1Heap, size, align); in DEMOGfxAllocMEM1()
104 GX2NotifyMemAlloc(ptr, size, align); in DEMOGfxAllocMEM1()
117 void *DEMOGfxAllocBucket(u32 size, u32 align) in DEMOGfxAllocBucket() argument
121 void * ptr = MEMAllocFromExpHeapEx(gDEMOBucketHeap, size, align); in DEMOGfxAllocBucket()
122 GX2NotifyMemAlloc(ptr, size, align); in DEMOGfxAllocBucket()
135 void *DEMOGfxAllocMEM2(u32 size, u32 align) in DEMOGfxAllocMEM2() argument
139 if (align < 4) in DEMOGfxAllocMEM2()
141 align = 4; in DEMOGfxAllocMEM2()
144 ptr = DEMOAllocEx(size, align); in DEMOGfxAllocMEM2()
145 GX2NotifyMemAlloc(ptr, size, align); in DEMOGfxAllocMEM2()
440 u32 size, align; in DEMOGfxInit() local
441 GX2CalcColorBufferAuxInfo(&DEMOColorBuffer, &size, &align); in DEMOGfxInit()
442 ptr = DEMOGfxAllocMEM1(size, align); in DEMOGfxInit()
463 u32 size, align; in DEMOGfxInit() local
464 GX2CalcDepthBufferHiZInfo(&DEMODepthBuffer, &size, &align); in DEMOGfxInit()
465 ptr = DEMOGfxAllocMEM1(size, align); in DEMOGfxInit()
615 u32 size, align; in DEMOGfxAcquiredForeground() local
616 GX2CalcColorBufferAuxInfo(&DEMOColorBuffer, &size, &align); in DEMOGfxAcquiredForeground()
617 ptr = DEMOGfxAllocMEM1(size, align); in DEMOGfxAcquiredForeground()
632 u32 size, align; in DEMOGfxAcquiredForeground() local
633 GX2CalcDepthBufferHiZInfo(&DEMODepthBuffer, &size, &align); in DEMOGfxAcquiredForeground()
634 ptr = DEMOGfxAllocMEM1(size, align); in DEMOGfxAcquiredForeground()