Searched refs:hnae_ring (Results 1 – 7 of 7) sorted by relevance
| /linux-6.15/drivers/net/ethernet/hisilicon/hns/ |
| H A D | hnae.h | 266 struct hnae_ring { struct 324 static inline int ring_space(struct hnae_ring *ring) in ring_space() 330 static inline int is_ring_empty(struct hnae_ring *ring) in is_ring_empty() 348 int (*map_buffer)(struct hnae_ring *ring, struct hnae_desc_cb *cb); 356 struct hnae_ring rx_ring ____cacheline_internodealigned_in_smp; 357 struct hnae_ring tx_ring ____cacheline_internodealigned_in_smp; 476 void (*toggle_ring_irq)(struct hnae_ring *ring, u32 val); 586 static inline int hnae_reserve_buffer_map(struct hnae_ring *ring, in hnae_reserve_buffer_map() 650 static inline void hnae_reuse_buffer(struct hnae_ring *ring, int i) in hnae_reuse_buffer() 662 struct hnae_ring *ring; in hnae_reinit_all_ring_desc() [all …]
|
| H A D | hnae.c | 38 static int hnae_alloc_buffer(struct hnae_ring *ring, struct hnae_desc_cb *cb) in hnae_alloc_buffer() 56 static void hnae_free_buffer(struct hnae_ring *ring, struct hnae_desc_cb *cb) in hnae_free_buffer() 69 static int hnae_map_buffer(struct hnae_ring *ring, struct hnae_desc_cb *cb) in hnae_map_buffer() 80 static void hnae_unmap_buffer(struct hnae_ring *ring, struct hnae_desc_cb *cb) in hnae_unmap_buffer() 121 static void hnae_free_buffers(struct hnae_ring *ring) in hnae_free_buffers() 130 static int hnae_alloc_buffers(struct hnae_ring *ring) in hnae_alloc_buffers() 149 static void hnae_free_desc(struct hnae_ring *ring) in hnae_free_desc() 160 static int hnae_alloc_desc(struct hnae_ring *ring) in hnae_alloc_desc() 181 static void hnae_fini_ring(struct hnae_ring *ring) in hnae_fini_ring() 195 hnae_init_ring(struct hnae_queue *q, struct hnae_ring *ring, int flags) in hnae_init_ring()
|
| H A D | hns_enet.h | 34 struct hnae_ring *ring; 45 void (*fill_desc)(struct hnae_ring *ring, void *priv, 50 int *bnum, struct hnae_ring *ring);
|
| H A D | hns_enet.c | 280 struct hnae_ring *ring) in hns_nic_maybe_stop_tx_v2() 331 struct hnae_ring *ring = ring_data->ring; in hns_nic_net_xmit_hw() 565 struct hnae_ring *ring = ring_data->ring; in hns_nic_poll_rx_skb() 690 struct hnae_ring *ring = ring_data->ring; in hns_nic_alloc_rx_buffers() 801 struct hnae_ring *ring = ring_data->ring; in hns_nic_adpt_coalesce() 846 struct hnae_ring *ring = ring_data->ring; in hns_nic_rx_poll_one() 897 struct hnae_ring *ring = ring_data->ring; in hns_nic_rx_fini_pro() 924 struct hnae_ring *ring = ring_data->ring; in hns_nic_rx_fini_pro_v2() 974 struct hnae_ring *ring = ring_data->ring; in hns_nic_tx_poll_one() 1028 struct hnae_ring *ring = ring_data->ring; in hns_nic_tx_fini_pro() [all …]
|
| H A D | hns_dsaf_rcb.c | 241 struct hnae_ring *ring = in hns_rcb_ring_init() 434 struct hnae_ring *ring; in hns_rcb_ring_get_cfg()
|
| H A D | hns_ae_adapt.c | 389 static void hns_ae_toggle_ring_irq(struct hnae_ring *ring, u32 mask) in hns_ae_toggle_ring_irq() 401 static void hns_aev2_toggle_ring_irq(struct hnae_ring *ring, u32 mask) in hns_aev2_toggle_ring_irq()
|
| H A D | hns_ethtool.c | 375 struct hnae_ring *ring; in __lb_other_process()
|