Lines Matching refs:ARCH_DMA_MINALIGN
81 struct ftgmac100_txdes txdes[PKTBUFSTX] __aligned(ARCH_DMA_MINALIGN);
82 struct ftgmac100_rxdes rxdes[PKTBUFSRX] __aligned(ARCH_DMA_MINALIGN);
341 start = ((ulong)&priv->txdes[0]) & ~(ARCH_DMA_MINALIGN - 1); in ftgmac100_start()
342 end = start + roundup(sizeof(priv->txdes), ARCH_DMA_MINALIGN); in ftgmac100_start()
351 start = ((ulong)&priv->rxdes[0]) & ~(ARCH_DMA_MINALIGN - 1); in ftgmac100_start()
352 end = start + roundup(sizeof(priv->rxdes), ARCH_DMA_MINALIGN); in ftgmac100_start()
401 ulong des_start = ((ulong)curr_des) & ~(ARCH_DMA_MINALIGN - 1); in ftgmac100_free_pkt()
403 roundup(sizeof(*curr_des), ARCH_DMA_MINALIGN); in ftgmac100_free_pkt()
423 ulong des_start = ((ulong)curr_des) & ~(ARCH_DMA_MINALIGN - 1); in ftgmac100_recv()
425 roundup(sizeof(*curr_des), ARCH_DMA_MINALIGN); in ftgmac100_recv()
448 data_end = data_start + roundup(rxlen, ARCH_DMA_MINALIGN); in ftgmac100_recv()
458 ulong des_start = ((ulong)txdes) & ~(ARCH_DMA_MINALIGN - 1); in ftgmac100_read_txdesc()
459 ulong des_end = des_start + roundup(sizeof(*txdes), ARCH_DMA_MINALIGN); in ftgmac100_read_txdesc()
476 ulong des_start = ((ulong)curr_des) & ~(ARCH_DMA_MINALIGN - 1); in BUILD_WAIT_FOR_BIT()
478 roundup(sizeof(*curr_des), ARCH_DMA_MINALIGN); in BUILD_WAIT_FOR_BIT()
498 data_end = data_start + roundup(length, ARCH_DMA_MINALIGN); in BUILD_WAIT_FOR_BIT()