Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/cirrus/
H A Dep93xx_eth.c28 #define RX_QUEUE_ENTRIES 64 macro
145 struct ep93xx_rdesc rdesc[RX_QUEUE_ENTRIES];
147 struct ep93xx_rstat rstat[RX_QUEUE_ENTRIES];
160 void *rx_buf[RX_QUEUE_ENTRIES];
302 ep->rx_pointer = (entry + 1) & (RX_QUEUE_ENTRIES - 1); in ep93xx_rx()
452 for (i = 0; i < RX_QUEUE_ENTRIES; i++) { in ep93xx_free_buffers()
487 for (i = 0; i < RX_QUEUE_ENTRIES; i++) { in ep93xx_alloc_buffers()
559 wrw(ep, REG_RXDQBLEN, RX_QUEUE_ENTRIES * sizeof(struct ep93xx_rdesc)); in ep93xx_start_hw()
565 wrw(ep, REG_RXSTSQBLEN, RX_QUEUE_ENTRIES * sizeof(struct ep93xx_rstat)); in ep93xx_start_hw()
594 wrl(ep, REG_RXDENQ, RX_QUEUE_ENTRIES); in ep93xx_start_hw()
[all …]
/openbmc/linux/drivers/net/ethernet/faraday/
H A Dftmac100.c29 #define RX_QUEUE_ENTRIES 128 /* must be power of 2 */ macro
47 struct ftmac100_rxdes rxdes[RX_QUEUE_ENTRIES];
326 return (pointer + 1) & (RX_QUEUE_ENTRIES - 1); in ftmac100_next_rx_pointer()
729 for (i = 0; i < RX_QUEUE_ENTRIES; i++) { in ftmac100_free_buffers()
768 ftmac100_rxdes_set_end_of_ring(&priv->descs->rxdes[RX_QUEUE_ENTRIES - 1]); in ftmac100_alloc_buffers()
770 for (i = 0; i < RX_QUEUE_ENTRIES; i++) { in ftmac100_alloc_buffers()