Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/net/
H A Dbcm-sf2-eth-gmac.c142 for (i = 0; i < RX_BUF_NUM; i++) { in dma_rx_dump()
150 for (i = 0; i < RX_BUF_NUM; i++) { in dma_rx_dump()
222 RX_BUF_NUM * DESCP_SIZE_ALIGNED); in dma_rx_init()
224 memset(dma->rx_buf, 0, RX_BUF_NUM * RX_BUF_SIZE_ALIGNED); in dma_rx_init()
227 for (i = 0; i < RX_BUF_NUM; i++) { in dma_rx_init()
232 if (i == (RX_BUF_NUM - 1)) in dma_rx_init()
248 DESCP_SIZE_ALIGNED * RX_BUF_NUM); in dma_rx_init()
251 RX_BUF_SIZE_ALIGNED * RX_BUF_NUM); in dma_rx_init()
439 DESCP_SIZE_ALIGNED * RX_BUF_NUM); in gmac_check_rx_done()
451 dma->cur_rx_index = (index + 1) & (RX_BUF_NUM - 1); in gmac_check_rx_done()
[all …]
H A Dbcm-sf2-eth.h13 #define RX_BUF_NUM 32 macro
/openbmc/linux/drivers/net/ethernet/toshiba/
H A Dtc35815.c347 #define RX_BUF_NUM 128 /* < 256 */ macro
375 struct BDesc bd[RX_BUF_NUM];
434 } tx_skbs[TX_FD_NUM], rx_skbs[RX_BUF_NUM];
875 sizeof(struct BDesc) * RX_BUF_NUM + in tc35815_init_queues()
885 for (i = 0; i < RX_BUF_NUM; i++) { in tc35815_init_queues()
936 lp->fbl_ptr->fd.FDCtl = cpu_to_le32(RX_BUF_NUM | FD_CownsFD); in tc35815_init_queues()
943 for (i = 0; i < RX_BUF_NUM; i++) { in tc35815_init_queues()
954 for (i = 0; i < RX_BUF_NUM; i++) { in tc35815_init_queues()
1043 for (i = 0; i < RX_BUF_NUM; i++) { in tc35815_free_queues()
1105 for (i = 0; i < RX_BUF_NUM; i++) in dump_frfd()
[all …]