xgene_enet_desc_ring 13 drivers/net/ethernet/apm/xgene/xgene_enet_hw.c static void xgene_enet_ring_init(struct xgene_enet_desc_ring *ring) xgene_enet_desc_ring 33 drivers/net/ethernet/apm/xgene/xgene_enet_hw.c static void xgene_enet_ring_set_type(struct xgene_enet_desc_ring *ring) xgene_enet_desc_ring 50 drivers/net/ethernet/apm/xgene/xgene_enet_hw.c static void xgene_enet_ring_set_recombbuf(struct xgene_enet_desc_ring *ring) xgene_enet_desc_ring 60 drivers/net/ethernet/apm/xgene/xgene_enet_hw.c static void xgene_enet_ring_wr32(struct xgene_enet_desc_ring *ring, xgene_enet_desc_ring 68 drivers/net/ethernet/apm/xgene/xgene_enet_hw.c static void xgene_enet_ring_rd32(struct xgene_enet_desc_ring *ring, xgene_enet_desc_ring 76 drivers/net/ethernet/apm/xgene/xgene_enet_hw.c static void xgene_enet_write_ring_state(struct xgene_enet_desc_ring *ring) xgene_enet_desc_ring 88 drivers/net/ethernet/apm/xgene/xgene_enet_hw.c static void xgene_enet_clr_ring_state(struct xgene_enet_desc_ring *ring) xgene_enet_desc_ring 94 drivers/net/ethernet/apm/xgene/xgene_enet_hw.c static void xgene_enet_set_ring_state(struct xgene_enet_desc_ring *ring) xgene_enet_desc_ring 106 drivers/net/ethernet/apm/xgene/xgene_enet_hw.c static void xgene_enet_set_ring_id(struct xgene_enet_desc_ring *ring) xgene_enet_desc_ring 125 drivers/net/ethernet/apm/xgene/xgene_enet_hw.c static void xgene_enet_clr_desc_ring_id(struct xgene_enet_desc_ring *ring) xgene_enet_desc_ring 134 drivers/net/ethernet/apm/xgene/xgene_enet_hw.c static struct xgene_enet_desc_ring *xgene_enet_setup_ring( xgene_enet_desc_ring 135 drivers/net/ethernet/apm/xgene/xgene_enet_hw.c struct xgene_enet_desc_ring *ring) xgene_enet_desc_ring 161 drivers/net/ethernet/apm/xgene/xgene_enet_hw.c static void xgene_enet_clear_ring(struct xgene_enet_desc_ring *ring) xgene_enet_desc_ring 179 drivers/net/ethernet/apm/xgene/xgene_enet_hw.c static void xgene_enet_wr_cmd(struct xgene_enet_desc_ring *ring, int count) xgene_enet_desc_ring 184 drivers/net/ethernet/apm/xgene/xgene_enet_hw.c static u32 xgene_enet_ring_len(struct xgene_enet_desc_ring *ring) xgene_enet_desc_ring 195 drivers/net/ethernet/apm/xgene/xgene_enet_hw.c void xgene_enet_parse_error(struct xgene_enet_desc_ring *ring, xgene_enet_desc_ring 733 drivers/net/ethernet/apm/xgene/xgene_enet_hw.c struct xgene_enet_desc_ring *ring) xgene_enet_desc_ring 17 drivers/net/ethernet/apm/xgene/xgene_enet_hw.h struct xgene_enet_desc_ring; xgene_enet_desc_ring 422 drivers/net/ethernet/apm/xgene/xgene_enet_hw.h void xgene_enet_parse_error(struct xgene_enet_desc_ring *ring, xgene_enet_desc_ring 20 drivers/net/ethernet/apm/xgene/xgene_enet_main.c static void xgene_enet_init_bufpool(struct xgene_enet_desc_ring *buf_pool) xgene_enet_desc_ring 67 drivers/net/ethernet/apm/xgene/xgene_enet_main.c static int xgene_enet_refill_pagepool(struct xgene_enet_desc_ring *buf_pool, xgene_enet_desc_ring 118 drivers/net/ethernet/apm/xgene/xgene_enet_main.c static int xgene_enet_refill_bufpool(struct xgene_enet_desc_ring *buf_pool, xgene_enet_desc_ring 174 drivers/net/ethernet/apm/xgene/xgene_enet_main.c static void xgene_enet_delete_bufpool(struct xgene_enet_desc_ring *buf_pool) xgene_enet_desc_ring 194 drivers/net/ethernet/apm/xgene/xgene_enet_main.c static void xgene_enet_delete_pagepool(struct xgene_enet_desc_ring *buf_pool) xgene_enet_desc_ring 215 drivers/net/ethernet/apm/xgene/xgene_enet_main.c struct xgene_enet_desc_ring *rx_ring = data; xgene_enet_desc_ring 225 drivers/net/ethernet/apm/xgene/xgene_enet_main.c static int xgene_enet_tx_completion(struct xgene_enet_desc_ring *cp_ring, xgene_enet_desc_ring 390 drivers/net/ethernet/apm/xgene/xgene_enet_main.c static __le64 *xgene_enet_get_exp_bufs(struct xgene_enet_desc_ring *ring) xgene_enet_desc_ring 401 drivers/net/ethernet/apm/xgene/xgene_enet_main.c static dma_addr_t *xgene_get_frag_dma_array(struct xgene_enet_desc_ring *ring) xgene_enet_desc_ring 406 drivers/net/ethernet/apm/xgene/xgene_enet_main.c static int xgene_enet_setup_tx_desc(struct xgene_enet_desc_ring *tx_ring, xgene_enet_desc_ring 553 drivers/net/ethernet/apm/xgene/xgene_enet_main.c struct xgene_enet_desc_ring *tx_ring; xgene_enet_desc_ring 608 drivers/net/ethernet/apm/xgene/xgene_enet_main.c static void xgene_enet_free_pagepool(struct xgene_enet_desc_ring *buf_pool, xgene_enet_desc_ring 668 drivers/net/ethernet/apm/xgene/xgene_enet_main.c static int xgene_enet_rx_frame(struct xgene_enet_desc_ring *rx_ring, xgene_enet_desc_ring 672 drivers/net/ethernet/apm/xgene/xgene_enet_main.c struct xgene_enet_desc_ring *buf_pool, *page_pool; xgene_enet_desc_ring 781 drivers/net/ethernet/apm/xgene/xgene_enet_main.c static int xgene_enet_process_ring(struct xgene_enet_desc_ring *ring, xgene_enet_desc_ring 848 drivers/net/ethernet/apm/xgene/xgene_enet_main.c struct xgene_enet_desc_ring *ring; xgene_enet_desc_ring 851 drivers/net/ethernet/apm/xgene/xgene_enet_main.c ring = container_of(napi, struct xgene_enet_desc_ring, napi); xgene_enet_desc_ring 880 drivers/net/ethernet/apm/xgene/xgene_enet_main.c struct xgene_enet_desc_ring *ring; xgene_enet_desc_ring 905 drivers/net/ethernet/apm/xgene/xgene_enet_main.c struct xgene_enet_desc_ring *ring; xgene_enet_desc_ring 937 drivers/net/ethernet/apm/xgene/xgene_enet_main.c struct xgene_enet_desc_ring *ring; xgene_enet_desc_ring 1044 drivers/net/ethernet/apm/xgene/xgene_enet_main.c static void xgene_enet_delete_ring(struct xgene_enet_desc_ring *ring) xgene_enet_desc_ring 1058 drivers/net/ethernet/apm/xgene/xgene_enet_main.c struct xgene_enet_desc_ring *buf_pool, *page_pool; xgene_enet_desc_ring 1059 drivers/net/ethernet/apm/xgene/xgene_enet_main.c struct xgene_enet_desc_ring *ring; xgene_enet_desc_ring 1125 drivers/net/ethernet/apm/xgene/xgene_enet_main.c static void xgene_enet_free_desc_ring(struct xgene_enet_desc_ring *ring) xgene_enet_desc_ring 1145 drivers/net/ethernet/apm/xgene/xgene_enet_main.c struct xgene_enet_desc_ring *page_pool; xgene_enet_desc_ring 1147 drivers/net/ethernet/apm/xgene/xgene_enet_main.c struct xgene_enet_desc_ring *ring; xgene_enet_desc_ring 1192 drivers/net/ethernet/apm/xgene/xgene_enet_main.c struct xgene_enet_desc_ring *ring) xgene_enet_desc_ring 1203 drivers/net/ethernet/apm/xgene/xgene_enet_main.c struct xgene_enet_desc_ring *ring) xgene_enet_desc_ring 1210 drivers/net/ethernet/apm/xgene/xgene_enet_main.c static struct xgene_enet_desc_ring *xgene_enet_create_desc_ring( xgene_enet_desc_ring 1216 drivers/net/ethernet/apm/xgene/xgene_enet_main.c struct xgene_enet_desc_ring *ring; xgene_enet_desc_ring 1224 drivers/net/ethernet/apm/xgene/xgene_enet_main.c ring = devm_kzalloc(dev, sizeof(struct xgene_enet_desc_ring), xgene_enet_desc_ring 1303 drivers/net/ethernet/apm/xgene/xgene_enet_main.c struct xgene_enet_desc_ring *rx_ring, *tx_ring, *cp_ring; xgene_enet_desc_ring 1305 drivers/net/ethernet/apm/xgene/xgene_enet_main.c struct xgene_enet_desc_ring *page_pool = NULL; xgene_enet_desc_ring 1306 drivers/net/ethernet/apm/xgene/xgene_enet_main.c struct xgene_enet_desc_ring *buf_pool = NULL; xgene_enet_desc_ring 1473 drivers/net/ethernet/apm/xgene/xgene_enet_main.c struct xgene_enet_desc_ring *ring; xgene_enet_desc_ring 1810 drivers/net/ethernet/apm/xgene/xgene_enet_main.c struct xgene_enet_desc_ring *page_pool; xgene_enet_desc_ring 1812 drivers/net/ethernet/apm/xgene/xgene_enet_main.c struct xgene_enet_desc_ring *buf_pool; xgene_enet_desc_ring 118 drivers/net/ethernet/apm/xgene/xgene_enet_main.h struct xgene_enet_desc_ring *cp_ring; xgene_enet_desc_ring 119 drivers/net/ethernet/apm/xgene/xgene_enet_main.h struct xgene_enet_desc_ring *buf_pool; xgene_enet_desc_ring 120 drivers/net/ethernet/apm/xgene/xgene_enet_main.h struct xgene_enet_desc_ring *page_pool; xgene_enet_desc_ring 163 drivers/net/ethernet/apm/xgene/xgene_enet_main.h struct xgene_enet_desc_ring *ring); xgene_enet_desc_ring 172 drivers/net/ethernet/apm/xgene/xgene_enet_main.h struct xgene_enet_desc_ring * (*setup)(struct xgene_enet_desc_ring *); xgene_enet_desc_ring 173 drivers/net/ethernet/apm/xgene/xgene_enet_main.h void (*clear)(struct xgene_enet_desc_ring *); xgene_enet_desc_ring 174 drivers/net/ethernet/apm/xgene/xgene_enet_main.h void (*wr_cmd)(struct xgene_enet_desc_ring *, int); xgene_enet_desc_ring 175 drivers/net/ethernet/apm/xgene/xgene_enet_main.h u32 (*len)(struct xgene_enet_desc_ring *); xgene_enet_desc_ring 176 drivers/net/ethernet/apm/xgene/xgene_enet_main.h void (*coalesce)(struct xgene_enet_desc_ring *); xgene_enet_desc_ring 191 drivers/net/ethernet/apm/xgene/xgene_enet_main.h struct xgene_enet_desc_ring *tx_ring[XGENE_NUM_TX_RING]; xgene_enet_desc_ring 192 drivers/net/ethernet/apm/xgene/xgene_enet_main.h struct xgene_enet_desc_ring *rx_ring[XGENE_NUM_RX_RING]; xgene_enet_desc_ring 255 drivers/net/ethernet/apm/xgene/xgene_enet_main.h static inline u16 xgene_enet_dst_ring_num(struct xgene_enet_desc_ring *ring) xgene_enet_desc_ring 12 drivers/net/ethernet/apm/xgene/xgene_enet_ring2.c static void xgene_enet_ring_init(struct xgene_enet_desc_ring *ring) xgene_enet_desc_ring 34 drivers/net/ethernet/apm/xgene/xgene_enet_ring2.c static void xgene_enet_ring_set_type(struct xgene_enet_desc_ring *ring) xgene_enet_desc_ring 47 drivers/net/ethernet/apm/xgene/xgene_enet_ring2.c static void xgene_enet_ring_set_recombbuf(struct xgene_enet_desc_ring *ring) xgene_enet_desc_ring 55 drivers/net/ethernet/apm/xgene/xgene_enet_ring2.c static void xgene_enet_ring_wr32(struct xgene_enet_desc_ring *ring, xgene_enet_desc_ring 63 drivers/net/ethernet/apm/xgene/xgene_enet_ring2.c static void xgene_enet_write_ring_state(struct xgene_enet_desc_ring *ring) xgene_enet_desc_ring 75 drivers/net/ethernet/apm/xgene/xgene_enet_ring2.c static void xgene_enet_clr_ring_state(struct xgene_enet_desc_ring *ring) xgene_enet_desc_ring 81 drivers/net/ethernet/apm/xgene/xgene_enet_ring2.c static void xgene_enet_set_ring_state(struct xgene_enet_desc_ring *ring) xgene_enet_desc_ring 95 drivers/net/ethernet/apm/xgene/xgene_enet_ring2.c static void xgene_enet_set_ring_id(struct xgene_enet_desc_ring *ring) xgene_enet_desc_ring 118 drivers/net/ethernet/apm/xgene/xgene_enet_ring2.c static void xgene_enet_clr_desc_ring_id(struct xgene_enet_desc_ring *ring) xgene_enet_desc_ring 127 drivers/net/ethernet/apm/xgene/xgene_enet_ring2.c static struct xgene_enet_desc_ring *xgene_enet_setup_ring( xgene_enet_desc_ring 128 drivers/net/ethernet/apm/xgene/xgene_enet_ring2.c struct xgene_enet_desc_ring *ring) xgene_enet_desc_ring 152 drivers/net/ethernet/apm/xgene/xgene_enet_ring2.c static void xgene_enet_clear_ring(struct xgene_enet_desc_ring *ring) xgene_enet_desc_ring 158 drivers/net/ethernet/apm/xgene/xgene_enet_ring2.c static void xgene_enet_wr_cmd(struct xgene_enet_desc_ring *ring, int count) xgene_enet_desc_ring 171 drivers/net/ethernet/apm/xgene/xgene_enet_ring2.c static u32 xgene_enet_ring_len(struct xgene_enet_desc_ring *ring) xgene_enet_desc_ring 182 drivers/net/ethernet/apm/xgene/xgene_enet_ring2.c static void xgene_enet_setup_coalescing(struct xgene_enet_desc_ring *ring) xgene_enet_desc_ring 509 drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.c struct xgene_enet_desc_ring *ring) xgene_enet_desc_ring 445 drivers/net/ethernet/apm/xgene/xgene_enet_xgmac.c struct xgene_enet_desc_ring *ring)