Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/net/
H A Dbcm-sf2-eth-gmac.c32 #define TX_BUF_SIZE_ALIGNED ALIGN(TX_BUF_SIZE, ARCH_DMA_MINALIGN) macro
121 bufp = (uint8_t *)(dma->tx_buf + i * TX_BUF_SIZE_ALIGNED); in dma_tx_dump()
171 memset(dma->tx_buf, 0, TX_BUF_NUM * TX_BUF_SIZE_ALIGNED); in dma_tx_init()
176 bufp = dma->tx_buf + i * TX_BUF_SIZE_ALIGNED; in dma_tx_init()
178 memset((void *)bufp, 0, TX_BUF_SIZE_ALIGNED); in dma_tx_init()
198 TX_BUF_SIZE_ALIGNED * TX_BUF_NUM); in dma_tx_init()
314 uint8_t *bufp = dma->tx_buf + dma->cur_tx_index * TX_BUF_SIZE_ALIGNED; in gmac_tx_packet()
359 (unsigned long)bufp + TX_BUF_SIZE_ALIGNED); in gmac_tx_packet()
916 tmp = memalign(ARCH_DMA_MINALIGN, TX_BUF_SIZE_ALIGNED * TX_BUF_NUM); in gmac_add()
924 dma->tx_buf, TX_BUF_SIZE_ALIGNED * TX_BUF_NUM); in gmac_add()