Home
last modified time | relevance | path

Searched refs:PTR_ALIGN (Results 1 – 6 of 6) sorted by relevance

/external/u-boot/lib/
Dof_live.c23 *mem = PTR_ALIGN(*mem, align); in unflatten_dt_alloc()
/external/u-boot/include/linux/
Dkernel.h43 #define PTR_ALIGN(p, a) ((typeof(p))ALIGN((unsigned long)(p), (a))) macro
/external/e2fsprogs/lib/ext2fs/
Dcrc32c.c39 #define PTR_ALIGN(p, a) ((__typeof__(p))ALIGN((unsigned long)(p), (a))) macro
/external/u-boot/drivers/net/
Dmvneta.c1028 WARN_ON(rxq->descs != PTR_ALIGN(rxq->descs, ARCH_DMA_MINALIGN)); in mvneta_rxq_init()
1066 WARN_ON(txq->descs != PTR_ALIGN(txq->descs, ARCH_DMA_MINALIGN)); in mvneta_txq_init()
Dmvpp2.c4074 PTR_ALIGN(aggr_txq->descs, MVPP2_CPU_D_CACHE_LINE_SIZE)); in mvpp2_aggr_txq_init()
4113 PTR_ALIGN(rxq->descs, MVPP2_CPU_D_CACHE_LINE_SIZE)); in mvpp2_rxq_init()
4198 PTR_ALIGN(txq->descs, MVPP2_CPU_D_CACHE_LINE_SIZE)); in mvpp2_txq_init()
/external/u-boot/drivers/usb/dwc3/
Dcore.c633 dwc = PTR_ALIGN(mem, DWC3_ALIGN_MASK + 1); in dwc3_uboot_init()