Home
last modified time | relevance | path

Searched refs:hns_ppe_cb (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_ppe.h76 struct hns_ppe_cb { struct
78 struct hns_ppe_cb *next; /* pointer to next ppe device */ argument
99 struct hns_ppe_cb ppe_cb[0]; argument
103 int hns_ppe_wait_tx_fifo_clean(struct hns_ppe_cb *ppe_cb);
110 void hns_ppe_update_stats(struct hns_ppe_cb *ppe_cb);
114 void hns_ppe_get_regs(struct hns_ppe_cb *ppe_cb, void *data);
116 void hns_ppe_get_strings(struct hns_ppe_cb *ppe_cb, int stringset, u8 *data);
117 void hns_ppe_get_stats(struct hns_ppe_cb *ppe_cb, u64 *data);
118 void hns_ppe_set_tso_enable(struct hns_ppe_cb *ppe_cb, u32 value);
119 void hns_ppe_set_rss_key(struct hns_ppe_cb *ppe_cb,
[all …]
Dhns_dsaf_ppe.c22 void hns_ppe_set_tso_enable(struct hns_ppe_cb *ppe_cb, u32 value) in hns_ppe_set_tso_enable()
27 void hns_ppe_set_rss_key(struct hns_ppe_cb *ppe_cb, in hns_ppe_set_rss_key()
37 void hns_ppe_set_indir_table(struct hns_ppe_cb *ppe_cb, in hns_ppe_set_indir_table()
87 ppe_num * sizeof(struct hns_ppe_cb), GFP_KERNEL); in hns_ppe_common_get_cfg()
122 struct hns_ppe_cb *ppe_cb; in hns_ppe_get_cfg()
136 static void hns_ppe_cnt_clr_ce(struct hns_ppe_cb *ppe_cb) in hns_ppe_cnt_clr_ce()
142 static void hns_ppe_set_vlan_strip(struct hns_ppe_cb *ppe_cb, int en) in hns_ppe_set_vlan_strip()
152 static void hns_ppe_checksum_hw(struct hns_ppe_cb *ppe_cb, u32 value) in hns_ppe_checksum_hw()
188 static void hns_ppe_set_port_mode(struct hns_ppe_cb *ppe_cb, in hns_ppe_set_port_mode()
260 static void hns_ppe_exc_irq_en(struct hns_ppe_cb *ppe_cb, int en) in hns_ppe_exc_irq_en()
[all …]
Dhns_ae_adapt.c34 static struct hns_ppe_cb *hns_get_ppe_cb(struct hnae_handle *handle) in hns_get_ppe_cb()
161 struct hns_ppe_cb *ppe_cb; in hns_ae_wait_flow_down()
336 struct hns_ppe_cb *ppe_cb = hns_get_ppe_cb(handle); in hns_ae_set_tso_stats()
651 struct hns_ppe_cb *ppe_cb; in hns_ae_update_stats()
731 struct hns_ppe_cb *ppe_cb; in hns_ae_get_stats()
765 struct hns_ppe_cb *ppe_cb; in hns_ae_get_strings()
867 struct hns_ppe_cb *ppe_cb = hns_get_ppe_cb(handle); in hns_ae_get_regs()
916 struct hns_ppe_cb *ppe_cb = hns_get_ppe_cb(handle); in hns_ae_get_rss()
937 struct hns_ppe_cb *ppe_cb = hns_get_ppe_cb(handle); in hns_ae_set_rss()