Searched refs:EMAC_DMA_ALIGN (Results 1 – 2 of 2) sorted by relevance
72 #define EMAC_DMA_ALIGN(x) ALIGN((x), dma_get_cache_alignment()) macro75 EMAC_DMA_ALIGN(CONFIG_IBM_EMAC_RX_SKB_HEADROOM)81 return EMAC_DMA_ALIGN(size + 2) + EMAC_RX_SKB_HEADROOM; in emac_rx_skb_size()87 return EMAC_DMA_ALIGN(emac_rx_size(mtu) + 2); in emac_rx_sync_size()
1597 EMAC_DMA_ALIGN(len + 2), DMA_FROM_DEVICE); in emac_recycle_rx_skb()