Home
last modified time | relevance | path

Searched refs:alignment (Results 1 – 21 of 21) sorted by relevance

/utopia/UTPA2-700.0.x/projects/build/scripts/
H A Drecordmcount.pl165 my $alignment; # The .align value to use for $mcount_section
225 $alignment = 8;
235 $alignment = 4;
247 $alignment = 4;
254 $alignment = 8;
260 $alignment = 2;
277 $alignment = 2;
304 $alignment = 8;
453 print FILE "\t.align $alignment\n" if (defined($alignment));
/utopia/UTPA2-700.0.x/modules/msos/msos/linux_kernel/
H A Dmem_priv.h190 cyg_int32 alignment; member
272 size = (size + pThis->alignment - 1) & -pThis->alignment; in Cyg_Mempool_Implementation__roundup()
376 pThis->alignment = align; in Cyg_Mempool_Implementation__Create()
377 while (pThis->alignment < (cyg_int32)sizeof(struct memdq)) in Cyg_Mempool_Implementation__Create()
378 pThis->alignment += pThis->alignment; in Cyg_Mempool_Implementation__Create()
379 CYG_ASSERT(0==(pThis->alignment & (pThis->alignment-1)),"alignment not a power of 2"); in Cyg_Mempool_Implementation__Create()
391 pThis->top = (cyg_uint8 *)((cyg_int32)(base+size+sizeof(struct memdq)) & -pThis->alignment) - in Cyg_Mempool_Implementation__Create()
396 CYG_ASSERT( ((cyg_int32)(pThis->top+sizeof(struct memdq)) & (pThis->alignment-1))==0, in Cyg_Mempool_Implementation__Create()
402 CYG_ASSERT( ((cyg_int32)pThis->memdq2alloc(pThis, dq) & (pThis->alignment-1))==0, in Cyg_Mempool_Implementation__Create()
491 CYG_ASSERT( ((CYG_ADDRESS)ptr & (pThis->alignment-1)) == 0, in Cyg_Mempool_Implementation__try_alloc()
H A Dmem_priv.c266 cyg_int32 alignment) in Cyg_Mempool__Create() argument
278 (CYG_ADDRWORD) alignment ); in Cyg_Mempool__Create()
H A Dmem.h112 MS_S32 alignment; member
/utopia/UTPA2-700.0.x/modules/msos/msos/linux_kernel_V2/
H A Dmem_priv.h191 cyg_int32 alignment; member
273 size = (size + pThis->alignment - 1) & -pThis->alignment; in Cyg_Mempool_Implementation__roundup()
377 pThis->alignment = align; in Cyg_Mempool_Implementation__Create()
378 while (pThis->alignment < (cyg_int32)sizeof(struct memdq)) in Cyg_Mempool_Implementation__Create()
379 pThis->alignment += pThis->alignment; in Cyg_Mempool_Implementation__Create()
380 CYG_ASSERT(0==(pThis->alignment & (pThis->alignment-1)),"alignment not a power of 2"); in Cyg_Mempool_Implementation__Create()
392 pThis->top = (cyg_uint8 *)((MS_VIRT)(base+size+sizeof(struct memdq)) & -pThis->alignment) - in Cyg_Mempool_Implementation__Create()
397 CYG_ASSERT( ((MS_VIRT)(pThis->top+sizeof(struct memdq)) & (pThis->alignment-1))==0, in Cyg_Mempool_Implementation__Create()
403 CYG_ASSERT( ((MS_VIRT)pThis->memdq2alloc(pThis, dq) & (pThis->alignment-1))==0, in Cyg_Mempool_Implementation__Create()
492 CYG_ASSERT( ((CYG_ADDRESS)ptr & (pThis->alignment-1)) == 0, in Cyg_Mempool_Implementation__try_alloc()
H A Dmem_priv.c266 cyg_int32 alignment) in Cyg_Mempool__Create() argument
278 (CYG_ADDRWORD) alignment ); in Cyg_Mempool__Create()
H A Dmem.h112 MS_S32 alignment; member
/utopia/UTPA2-700.0.x/modules/msos/msos/linux/
H A Dmem_priv.h190 cyg_int32 alignment; member
272 size = (size + pThis->alignment - 1) & -pThis->alignment; in Cyg_Mempool_Implementation__roundup()
372 pThis->alignment = align; in Cyg_Mempool_Implementation__Create()
373 while (pThis->alignment < (cyg_int32)sizeof(struct memdq)) in Cyg_Mempool_Implementation__Create()
374 pThis->alignment += pThis->alignment; in Cyg_Mempool_Implementation__Create()
375 CYG_ASSERT(0==(pThis->alignment & (pThis->alignment-1)),"alignment not a power of 2"); in Cyg_Mempool_Implementation__Create()
387 pThis->top = (cyg_uint8 *)((MS_VIRT)(base+size+sizeof(struct memdq)) & -pThis->alignment) - in Cyg_Mempool_Implementation__Create()
392 CYG_ASSERT( ((MS_VIRT)(pThis->top+sizeof(struct memdq)) & (pThis->alignment-1))==0, in Cyg_Mempool_Implementation__Create()
397 CYG_ASSERT( ((MS_VIRT)pThis->memdq2alloc(pThis, dq) & (pThis->alignment-1))==0, in Cyg_Mempool_Implementation__Create()
484 CYG_ASSERT( ((CYG_ADDRESS)ptr & (pThis->alignment-1)) == 0, in Cyg_Mempool_Implementation__try_alloc()
H A Ddlmalloc.c1298 void* mstar_mspace_memalign(mspace msp, size_t alignment, size_t bytes);
4476 static void* internal_memalign(mstate m, size_t alignment, size_t bytes) { in internal_memalign() argument
4477 if (alignment <= MALLOC_ALIGNMENT) /* Can just use malloc */ in internal_memalign()
4479 if (alignment < MIN_CHUNK_SIZE) /* must be at least a minimum chunk size */ in internal_memalign()
4480 alignment = MIN_CHUNK_SIZE; in internal_memalign()
4481 if ((alignment & (alignment-SIZE_T_ONE)) != 0) {/* Ensure a power of 2 */ in internal_memalign()
4483 while (a < alignment) a <<= 1; in internal_memalign()
4484 alignment = a; in internal_memalign()
4487 if (bytes >= MAX_REQUEST - alignment) { in internal_memalign()
4494 size_t req = nb + alignment + MIN_CHUNK_SIZE - CHUNK_OVERHEAD; in internal_memalign()
[all …]
H A Dmem_priv.c262 cyg_int32 alignment) in Cyg_Mempool__Create() argument
274 (CYG_ADDRWORD) alignment ); in Cyg_Mempool__Create()
H A Dmem.h112 MS_S32 alignment; member
H A Ddlmalloc.h581 void* mstar_mspace_memalign(mspace msp, size_t alignment, size_t bytes);
/utopia/UTPA2-700.0.x/modules/msos/msos/ucos/
H A Dmem_priv.h190 cyg_int32 alignment; member
272 size = (size + pThis->alignment - 1) & -pThis->alignment; in Cyg_Mempool_Implementation__roundup()
375 pThis->alignment = align; in Cyg_Mempool_Implementation__Create()
376 while (pThis->alignment < (cyg_int32)sizeof(struct memdq)) in Cyg_Mempool_Implementation__Create()
377 pThis->alignment += pThis->alignment; in Cyg_Mempool_Implementation__Create()
378 CYG_ASSERT(0==(pThis->alignment & (pThis->alignment-1)),"alignment not a power of 2"); in Cyg_Mempool_Implementation__Create()
390 pThis->top = (cyg_uint8 *)((cyg_int32)(base+size+sizeof(struct memdq)) & -pThis->alignment) - in Cyg_Mempool_Implementation__Create()
395 CYG_ASSERT( ((cyg_int32)(pThis->top+sizeof(struct memdq)) & (pThis->alignment-1))==0, in Cyg_Mempool_Implementation__Create()
400 CYG_ASSERT( ((cyg_int32)pThis->memdq2alloc(pThis, dq) & (pThis->alignment-1))==0, in Cyg_Mempool_Implementation__Create()
488 CYG_ASSERT( ((CYG_ADDRESS)ptr & (pThis->alignment-1)) == 0, in Cyg_Mempool_Implementation__try_alloc()
H A Ddlmalloc.c1087 void* mspace_memalign(mspace msp, size_t alignment, size_t bytes);
3876 static void* internal_memalign(mstate m, size_t alignment, size_t bytes) { in internal_memalign() argument
3877 if (alignment <= MALLOC_ALIGNMENT) /* Can just use malloc */ in internal_memalign()
3879 if (alignment < MIN_CHUNK_SIZE) /* must be at least a minimum chunk size */ in internal_memalign()
3880 alignment = MIN_CHUNK_SIZE; in internal_memalign()
3881 if ((alignment & (alignment-SIZE_T_ONE)) != 0) {/* Ensure a power of 2 */ in internal_memalign()
3883 while (a < alignment) a <<= 1; in internal_memalign()
3884 alignment = a; in internal_memalign()
3887 if (bytes >= MAX_REQUEST - alignment) { in internal_memalign()
3894 size_t req = nb + alignment + MIN_CHUNK_SIZE - CHUNK_OVERHEAD; in internal_memalign()
[all …]
H A Dmem_priv.c262 cyg_int32 alignment) in Cyg_Mempool__Create() argument
274 (CYG_ADDRWORD) alignment ); in Cyg_Mempool__Create()
H A Dmem.h112 MS_S32 alignment; member
/utopia/UTPA2-700.0.x/projects/tools/lint/mips-linux-gnu_include/
H A Dobstack.h231 #define obstack_specify_allocation(h, size, alignment, chunkfun, freefun) \ argument
232 _obstack_begin ((h), (size), (alignment), \
236 #define obstack_specify_allocation_with_arg(h, size, alignment, chunkfun, freefun, arg) \ argument
237 _obstack_begin_1 ((h), (size), (alignment), \
/utopia/UTPA2-700.0.x/modules/xc/drv/xc/
H A Dmdrv_sc_scaling.c.05961 …dth + OFFSET_PIXEL_ALIGNMENT - 1) & ~(OFFSET_PIXEL_ALIGNMENT-1); //TODO: T3 should be 32 alignment
5971 …tch + OFFSET_PIXEL_ALIGNMENT - 1) & ~(OFFSET_PIXEL_ALIGNMENT-1); //TODO: T3 should be 32 alignment
5986 // the hardware alignment in OPM > IPM case, it will get more data for alignment
5990 …t_pre_align_pixel(pInstance, FALSE, u16AlignWidth, eWindow);//M10/J2: insert alignment pixel at end
6006 //M10, J2, A2 and later chip, HW will auto insert pixel to alignment u16IPMFetch
6014 // the hardware alignment in OPM > IPM case, it will get more data for alignment
6018 …t_pre_align_pixel(pInstance, FALSE, u16AlignWidth, eWindow);//M10/J2: insert alignment pixel at end
6025 …_pre_align_pixel(pInstance, TRUE, u16AlignWidth, eWindow);//M10/J2: insert alignment pixel at start
6032 …t_pre_align_pixel(pInstance, FALSE, u16AlignWidth, eWindow);//M10/J2: insert alignment pixel at end
6038 …t_pre_align_pixel(pInstance, FALSE, u16AlignWidth, eWindow);//M10/J2: insert alignment pixel at end
[all …]
/utopia/UTPA2-700.0.x/modules/xc/hal/k6lite/xc/include/
H A Dmhal_xc_chip_config.h.0251 So, in this memory format, pixel alignment is 16 pixels (OFFSET_PIXEL_ALIGNMENT = 16).
352 …, A2, J2 HW will automatic use IPM fetch's reg setting to alignment IPM fetch, so skip sw alignment
/utopia/UTPA2-700.0.x/projects/tools/lint/mips-linux-gnu_include/linux/
H A Dsom.h147 unsigned int alignment :27; member
/utopia/UTPA2-700.0.x/modules/vdec_v3/api/vdec_v3/
H A DapiVDEC_EX.c.02815 // check alignment
15426 u32WritePtr = ((u32WritePtr+3)>>2)<<2; //4 byte alignment
26912 … param->ProtectInfo[0].u32Addr = VPU_CodeAddr + 0x1000; // buffer protect is 4k alignment;
26918 …32Addr = Bitstream_StartAddr_Sub + VDEC_DRIVER_PROC_BUFFER_SIZE; // buffer protect is 4k alignment;
26933 … param->ProtectInfo[0].u32Addr = VPU_CodeAddr + 0x1000; // buffer protect is 4k alignment;