Home
last modified time | relevance | path

Searched refs:align (Results 1 – 25 of 59) sorted by relevance

123

/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/usbhost/
H A DdrvPCIMEM.c117 size_t size, size_t align, size_t allocation) in pci_pool_create() argument
121 if (align == 0) in pci_pool_create()
122 align = 1; in pci_pool_create()
125 else if (size < align) in pci_pool_create()
126 size = align; in pci_pool_create()
127 else if ((size % align) != 0) { in pci_pool_create()
128 size += align + 1; in pci_pool_create()
129 size &= ~(align - 1); in pci_pool_create()
/utopia/UTPA2-700.0.x/modules/mfe/api/mfe_ex/
H A Dmadp_mfe.c132 #define CEILING_ALIGN(value, align) (((MS_U32)(value)+((align)-1UL)) & ~((align)-1UL)) argument
890 MS_PHY align = 0; in mfe_check_input_alignment() local
895 align = 0x1FF; // 512-byte alignment in mfe_check_input_alignment()
897 align = 0xFF; // 256-byte alignment in mfe_check_input_alignment()
905 align = 0x7; // 8-byte alignment in mfe_check_input_alignment()
913 align = 0x3FF; // 1024-byte alignment in mfe_check_input_alignment()
922 if ((YUVPlane.Cur_Y0.miuAddress & align) != 0 || in mfe_check_input_alignment()
923 (YUVPlane.Cur_C0.miuAddress & align) != 0) in mfe_check_input_alignment()
930 if ((YUVPlane.Cur_Y1.miuAddress & align) != 0 || in mfe_check_input_alignment()
931 (YUVPlane.Cur_C1.miuAddress & align) != 0) in mfe_check_input_alignment()
H A Dyuvgen.c479 #define CEILING_ALIGN(value, align) (((MS_U32)(value)+((align)-1UL)) & ~((align)-1UL)) argument
/utopia/UTPA2-700.0.x/projects/build/scripts/dtc/
H A Dflattree.c53 void (*align)(void *, int); member
110 .align = bin_emit_align,
236 .align = asm_emit_align,
273 emit->align(etarget, sizeof(cell_t)); in flatten_tree()
288 emit->align(etarget, 8); in flatten_tree()
291 emit->align(etarget, sizeof(cell_t)); in flatten_tree()
300 emit->align(etarget, 8); in flatten_tree()
303 emit->align(etarget, sizeof(cell_t)); in flatten_tree()
609 static void flat_realign(struct inbuf *inb, int align) in flat_realign() argument
613 inb->ptr = inb->base + ALIGN(off, align); in flat_realign()
H A Ddata.c286 struct data data_append_align(struct data d, int align) in data_append_align() argument
288 int newlen = ALIGN(d.len, align); in data_append_align()
H A Ddtc.h116 struct data data_append_align(struct data d, int align);
/utopia/UTPA2-700.0.x/modules/msos/msos/linux_kernel/
H A Dmem_priv.h345 CYG_ADDRWORD align ) in Cyg_Mempool_Implementation__Create() argument
364 CYG_ASSERT( align > 0, "Bad alignment" ); in Cyg_Mempool_Implementation__Create()
365 CYG_ASSERT(0!=align ,"align is zero"); in Cyg_Mempool_Implementation__Create()
366 CYG_ASSERT(0==(align & (align-1)),"align not a power of 2"); in Cyg_Mempool_Implementation__Create()
376 pThis->alignment = align; in Cyg_Mempool_Implementation__Create()
/utopia/UTPA2-700.0.x/modules/msos/msos/linux_kernel_V2/
H A Dmem_priv.h346 CYG_ADDRWORD align ) in Cyg_Mempool_Implementation__Create() argument
365 CYG_ASSERT( align > 0, "Bad alignment" ); in Cyg_Mempool_Implementation__Create()
366 CYG_ASSERT(0!=align ,"align is zero"); in Cyg_Mempool_Implementation__Create()
367 CYG_ASSERT(0==(align & (align-1)),"align not a power of 2"); in Cyg_Mempool_Implementation__Create()
377 pThis->alignment = align; in Cyg_Mempool_Implementation__Create()
/utopia/UTPA2-700.0.x/modules/msos/msos/linux/
H A Dmem_priv.h342 CYG_ADDRWORD align ) in Cyg_Mempool_Implementation__Create() argument
360 CYG_ASSERT( align > 0, "Bad alignment" ); in Cyg_Mempool_Implementation__Create()
361 CYG_ASSERT(0!=align ,"align is zero"); in Cyg_Mempool_Implementation__Create()
362 CYG_ASSERT(0==(align & (align-1)),"align not a power of 2"); in Cyg_Mempool_Implementation__Create()
372 pThis->alignment = align; in Cyg_Mempool_Implementation__Create()
H A Dmdrv_cma_pool_st.h34 MS_U64 align; member
H A DdrvCMAPool.c343 alloc_args.align = 0x1000ULL; // 4096 in MApi_CMA_Pool_GetMem()
/utopia/UTPA2-700.0.x/modules/msos/msos/ucos/
H A Dmem_priv.h345 CYG_ADDRWORD align ) in Cyg_Mempool_Implementation__Create() argument
363 CYG_ASSERT( align > 0, "Bad alignment" ); in Cyg_Mempool_Implementation__Create()
364 CYG_ASSERT(0!=align ,"align is zero"); in Cyg_Mempool_Implementation__Create()
365 CYG_ASSERT(0==(align & (align-1)),"align not a power of 2"); in Cyg_Mempool_Implementation__Create()
375 pThis->alignment = align; in Cyg_Mempool_Implementation__Create()
/utopia/UTPA2-700.0.x/modules/mfe/drv/mfe_ex/cModel/
H A Dbufmng.c89 #define CEILING_ALIGN(value, align) (((MS_U32)(value)+((align)-1UL)) & ~((align)-1UL)) argument
H A Dmfe_common.c96 #define CEILING_ALIGN(value, align) (((MS_U32)(value)+((align)-1UL)) & ~((align)-1UL)) argument
/utopia/UTPA2-700.0.x/projects/tmplib/include/
H A DapiGFX.h231 #define GE_ALIGNED_VALUE(value, align) ( ((value) + ((align)-1)) & ~((align)-1) ) argument
/utopia/UTPA2-700.0.x/projects/build/scripts/
H A DKbuild.include116 # cc-option-align
117 # Prefix align with either -falign or -malign
118 cc-option-align = $(subst -functions=0,,\
/utopia/UTPA2-700.0.x/modules/xc/drv/xc/
H A Dmdrv_sc_scaling.c.01832 //For BWR: XC write memory using YUV420, ScaledCropWin.y/ScaledCropWin.heigh need 2 align.
1852 // For no-3D, just need crop.y and crop.height 2 align.
2601 …XC_LOG_TRACE(XC_DBGLEVEL_SETWINDOW,"======= Pre-scaling V size have to align 2 !!!!!!!!===========…
2796 //Pre-scaling V size have to align 2
2838 //Pre-scaling V size have to align 2
5984 XC_LOG_TRACE(XC_DGBLEVEL_CROPCALC,"align width = %d\n", u16AlignWidth);
5999 //so do not use pre-align. use OPM line buffer offset instead.
6040 XC_LOG_TRACE(XC_DGBLEVEL_CROPCALC,"align width in frcm = %d\n", u16AlignWidth);
6059 u16AlignWidth /= 2; //opm fetch actual align size
6064 XC_LOG_TRACE(XC_DGBLEVEL_CROPCALC,"align width = %d\n", u16AlignWidth);
[all …]
/utopia/UTPA2-700.0.x/projects/build/
H A DMakefile963 CC_OPTS = $(CFG_CC_OPTS) -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Wcast-align
981 CC_OPTS = $(CFG_CC_OPTS) -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Wcast-align
998 CC_OPTS = $(CFG_CC_OPTS) -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Wcast-align
1011 CC_OPTS += -mstrict-align
1025 CC_OPTS += -fno-short-enums -Wno-unused -Wno-cast-align -fno-strict-aliasing
/utopia/UTPA2-700.0.x/mxlib/include/
H A DapiGFX.h232 #define GE_ALIGNED_VALUE(value, align) ( ((value) + ((align)-1)) & ~((align)-1) ) argument
/utopia/UTPA2-700.0.x/projects/tools/lint/mips-linux-gnu_include/sys/
H A Dasm.h153 .align 2; \
163 .align 2; \
/utopia/UTPA2-700.0.x/projects/build/scripts/kconfig/
H A Dqconf.cc247 void ConfigItem::paintCell(QPainter* p, const QColorGroup& cg, int column, int width, int align) in paintCell() argument
253 Parent::paintCell(p, list->inactivedColorGroup, column, width, align); in paintCell()
255 Parent::paintCell(p, cg, column, width, align); in paintCell()
257 Parent::paintCell(p, list->disabledColorGroup, column, width, align); in paintCell()
H A Dqconf.h194 void paintCell(QPainter* p, const QColorGroup& cg, int column, int width, int align);
/utopia/UTPA2-700.0.x/projects/tools/lint/mips-linux-gnu_include/linux/tc_ematch/
H A Dtc_em_cmp.h11 __u8 align:4; member
/utopia/UTPA2-700.0.x/modules/usb/drv/usb_ecos/usbhost/include/
H A DdrvPCIMEM.h134 size_t size, size_t align, size_t allocation);
/utopia/UTPA2-700.0.x/modules/dms/drv/dms_dipgop/
H A DdrvDMS.c178 #define DMS_DIP_Alignment(value, align) ((value)/(align) * (align)) argument
179 #define DMS_DIPR_Alignment(value, align) ((value + (align-1))/(align) * (align)) argument

123