Home
last modified time | relevance | path

Searched refs:hnae_queue (Results 1 – 6 of 6) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_rcb.h87 struct hnae_queue q;
119 void hns_rcb_start(struct hnae_queue *q, u32 val);
126 void hns_rcb_ring_enable_hw(struct hnae_queue *q, u32 val);
127 void hns_rcb_int_clr_hw(struct hnae_queue *q, u32 flag);
128 void hns_rcb_int_ctrl_hw(struct hnae_queue *q, u32 flag, u32 enable);
129 void hns_rcbv2_int_ctrl_hw(struct hnae_queue *q, u32 flag, u32 mask);
130 void hns_rcbv2_int_clr_hw(struct hnae_queue *q, u32 flag);
133 void hns_rcb_reset_ring_hw(struct hnae_queue *q);
134 void hns_rcb_wait_fbd_clean(struct hnae_queue **qs, int q_num, u32 flag);
135 int hns_rcb_wait_tx_ring_clean(struct hnae_queue *qs);
[all …]
Dhns_dsaf_rcb.c40 void hns_rcb_wait_fbd_clean(struct hnae_queue **qs, int q_num, u32 flag) in hns_rcb_wait_fbd_clean()
65 int hns_rcb_wait_tx_ring_clean(struct hnae_queue *qs) in hns_rcb_wait_tx_ring_clean()
92 void hns_rcb_reset_ring_hw(struct hnae_queue *q) in hns_rcb_reset_ring_hw()
142 void hns_rcb_int_ctrl_hw(struct hnae_queue *q, u32 flag, u32 mask) in hns_rcb_int_ctrl_hw()
159 void hns_rcb_int_clr_hw(struct hnae_queue *q, u32 flag) in hns_rcb_int_clr_hw()
172 void hns_rcbv2_int_ctrl_hw(struct hnae_queue *q, u32 flag, u32 mask) in hns_rcbv2_int_ctrl_hw()
183 void hns_rcbv2_int_clr_hw(struct hnae_queue *q, u32 flag) in hns_rcbv2_int_clr_hw()
197 void hns_rcb_ring_enable_hw(struct hnae_queue *q, u32 val) in hns_rcb_ring_enable_hw()
202 void hns_rcb_start(struct hnae_queue *q, u32 val) in hns_rcb_start()
222 void hns_rcb_set_tx_ring_bs(struct hnae_queue *q, u32 buf_size) in hns_rcb_set_tx_ring_bs()
[all …]
Dhnae.h264 struct hnae_queue;
270 struct hnae_queue *q;
352 struct hnae_queue { struct
466 void (*init_queue)(struct hnae_queue *q);
467 void (*fini_queue)(struct hnae_queue *q);
482 void (*get_ring_bdnum_limit)(struct hnae_queue *queue,
561 struct hnae_queue *qs[]; /* flexible array of all queues */
Dhnae.c193 hnae_init_ring(struct hnae_queue *q, struct hnae_ring *ring, int flags) in hnae_init_ring()
237 static int hnae_init_queue(struct hnae_handle *h, struct hnae_queue *q, in hnae_init_queue()
264 static void hnae_fini_queue(struct hnae_queue *q) in hnae_fini_queue()
Dhns_ae_adapt.c62 static struct ring_pair_cb *hns_ae_get_ring_pair(struct hnae_queue *q) in hns_ae_get_ring_pair()
193 static void hns_ae_init_queue(struct hnae_queue *q) in hns_ae_init_queue()
201 static void hns_ae_fini_queue(struct hnae_queue *q) in hns_ae_fini_queue()
297 struct hnae_queue *q; in hns_ae_set_mtu()
466 static void hns_ae_get_ring_bdnum_limit(struct hnae_queue *queue, in hns_ae_get_ring_bdnum_limit()
626 struct hnae_queue *queue; in hns_ae_update_stats()
Dhns_ethtool.c676 struct hnae_queue *queue; in hns_get_ringparam()