Searched refs:hnae_ring (Results 1 – 7 of 7) sorted by relevance
/linux-4.4.14/drivers/net/ethernet/hisilicon/hns/ |
D | hnae.h | 221 struct hnae_ring { struct 265 static inline int ring_dist(struct hnae_ring *ring, int begin, int end) in ring_dist() argument 273 static inline int ring_space(struct hnae_ring *ring) in ring_space() 279 static inline int is_ring_empty(struct hnae_ring *ring) in is_ring_empty() 295 int (*alloc_buffer)(struct hnae_ring *ring, struct hnae_desc_cb *cb); 296 void (*free_buffer)(struct hnae_ring *ring, struct hnae_desc_cb *cb); 297 int (*map_buffer)(struct hnae_ring *ring, struct hnae_desc_cb *cb); 298 void (*unmap_buffer)(struct hnae_ring *ring, struct hnae_desc_cb *cb); 305 struct hnae_ring rx_ring, tx_ring; 413 void (*toggle_ring_irq)(struct hnae_ring *ring, u32 val); [all …]
|
D | hnae.c | 40 static int hnae_alloc_buffer(struct hnae_ring *ring, struct hnae_desc_cb *cb) in hnae_alloc_buffer() 58 static void hnae_free_buffer(struct hnae_ring *ring, struct hnae_desc_cb *cb) in hnae_free_buffer() 67 static int hnae_map_buffer(struct hnae_ring *ring, struct hnae_desc_cb *cb) in hnae_map_buffer() 78 static void hnae_unmap_buffer(struct hnae_ring *ring, struct hnae_desc_cb *cb) in hnae_unmap_buffer() 117 static void hnae_free_buffers(struct hnae_ring *ring) in hnae_free_buffers() 126 static int hnae_alloc_buffers(struct hnae_ring *ring) in hnae_alloc_buffers() 145 static void hnae_free_desc(struct hnae_ring *ring) in hnae_free_desc() 157 static int hnae_alloc_desc(struct hnae_ring *ring) in hnae_alloc_desc() 178 static void hnae_fini_ring(struct hnae_ring *ring) in hnae_fini_ring() 189 hnae_init_ring(struct hnae_queue *q, struct hnae_ring *ring, int flags) in hnae_init_ring()
|
D | hns_enet.c | 37 static void fill_desc(struct hnae_ring *ring, void *priv, in fill_desc() 98 static void unfill_desc(struct hnae_ring *ring) in unfill_desc() 109 struct hnae_ring *ring = ring_data->ring; in hns_nic_net_xmit_hw() 335 struct hnae_ring *ring = ring_data->ring; in hns_nic_poll_rx_skb() 466 struct hnae_ring *ring = ring_data->ring; in hns_nic_alloc_rx_buffers() 506 struct hnae_ring *ring = ring_data->ring; in hns_nic_rx_poll_one() 562 struct hnae_ring *ring = ring_data->ring; in hns_nic_rx_fini_pro() 576 static inline void hns_nic_reclaim_one_desc(struct hnae_ring *ring, in hns_nic_reclaim_one_desc() 589 static int is_valid_clean_head(struct hnae_ring *ring, int h) in is_valid_clean_head() 618 struct hnae_ring *ring = ring_data->ring; in hns_nic_tx_poll_one() [all …]
|
D | hns_enet.h | 35 struct hnae_ring *ring;
|
D | hns_dsaf_rcb.c | 187 struct hnae_ring *ring = in hns_rcb_ring_init() 386 struct hnae_ring *ring; in hns_rcb_ring_get_cfg()
|
D | hns_ae_adapt.c | 328 void hns_ae_toggle_ring_irq(struct hnae_ring *ring, u32 mask) in hns_ae_toggle_ring_irq()
|
D | hns_ethtool.c | 399 struct hnae_ring *ring; in __lb_other_process()
|