Home
last modified time | relevance | path

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

/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
109 void hns_ppe_update_stats(struct hns_ppe_cb *ppe_cb);
113 void hns_ppe_get_regs(struct hns_ppe_cb *ppe_cb, void *data);
115 void hns_ppe_get_strings(struct hns_ppe_cb *ppe_cb, int stringset, u8 *data);
116 void hns_ppe_get_stats(struct hns_ppe_cb *ppe_cb, u64 *data);
117 void hns_ppe_set_tso_enable(struct hns_ppe_cb *ppe_cb, u32 value);
118 void hns_ppe_set_rss_key(struct hns_ppe_cb *ppe_cb,
120 void hns_ppe_set_indir_table(struct hns_ppe_cb *ppe_cb,
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()
121 struct hns_ppe_cb *ppe_cb; in hns_ppe_get_cfg()
135 static void hns_ppe_cnt_clr_ce(struct hns_ppe_cb *ppe_cb) in hns_ppe_cnt_clr_ce()
141 static void hns_ppe_set_vlan_strip(struct hns_ppe_cb *ppe_cb, int en) in hns_ppe_set_vlan_strip()
151 static void hns_ppe_checksum_hw(struct hns_ppe_cb *ppe_cb, u32 value) in hns_ppe_checksum_hw()
187 static void hns_ppe_set_port_mode(struct hns_ppe_cb *ppe_cb, in hns_ppe_set_port_mode()
259 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.c37 static struct hns_ppe_cb *hns_get_ppe_cb(struct hnae_handle *handle) in hns_get_ppe_cb()
247 struct hns_ppe_cb *ppe_cb = hns_get_ppe_cb(handle); in hns_ae_set_tso_stats()
501 struct hns_ppe_cb *ppe_cb; in hns_ae_update_stats()
581 struct hns_ppe_cb *ppe_cb; in hns_ae_get_stats()
615 struct hns_ppe_cb *ppe_cb; in hns_ae_get_strings()
716 struct hns_ppe_cb *ppe_cb = hns_get_ppe_cb(handle); in hns_ae_get_regs()
765 struct hns_ppe_cb *ppe_cb = hns_get_ppe_cb(handle); in hns_ae_get_rss()
786 struct hns_ppe_cb *ppe_cb = hns_get_ppe_cb(handle); in hns_ae_set_rss()