Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/sgi/
H A Dmeth.h6 #define RX_RING_ENTRIES 16 /* Do not change */ macro
227 #define ADVANCE_RX_PTR(x) x=(x+1)&(RX_RING_ENTRIES-1)
H A Dmeth.c82 rx_packet *rx_ring[RX_RING_ENTRIES];
83 dma_addr_t rx_ring_dmas[RX_RING_ENTRIES];
84 struct sk_buff *rx_skbs[RX_RING_ENTRIES];
229 for (i = 0; i < RX_RING_ENTRIES; i++) { in meth_init_rx_ring()
262 for (i = 0; i < RX_RING_ENTRIES; i++) { in meth_free_rx_ring()
302 (RX_RING_ENTRIES << METH_RX_DEPTH_SHIFT); in meth_reset()
H A Dioc3-eth.c60 #define RX_RING_ENTRIES 512 /* fixed in hardware */ macro
61 #define RX_RING_MASK (RX_RING_ENTRIES - 1)
62 #define RX_RING_SIZE (RX_RING_ENTRIES * sizeof(u64))
89 struct sk_buff *rx_skbs[RX_RING_ENTRIES];
/openbmc/linux/drivers/net/hippi/
H A Drrunner.h574 #define RX_RING_ENTRIES 32 macro
576 #define RX_RING_ENTRIES 16 macro
578 #define RX_TOTAL_SIZE (RX_RING_ENTRIES * sizeof(struct rx_desc))
809 struct sk_buff *rx_skbuff[RX_RING_ENTRIES];
H A Drrunner.c644 for (i = 0; i < RX_RING_ENTRIES; i++) { in rr_init1()
671 rrpriv->rx_ctrl[4].entries = RX_RING_ENTRIES; in rr_init1()
704 for (i = 0; i < RX_RING_ENTRIES; i++) { in rr_init1()
744 writel(RX_RING_ENTRIES - 1, &regs->IpRxPi); in rr_handle_event()
911 index = (index + (RX_RING_ENTRIES - 1)) % in rr_handle_event()
912 RX_RING_ENTRIES; in rr_handle_event()
1016 index = (index + 1) % RX_RING_ENTRIES; in rx_int()
1137 for (i = 0; i < RX_RING_ENTRIES; i++) { in rr_raz_rx()