Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_ppe.h65 struct hns_ppe_cb { struct
67 struct hns_ppe_cb *next; /* pointer to next ppe device */ argument
87 struct hns_ppe_cb ppe_cb[0]; argument
97 void hns_ppe_update_stats(struct hns_ppe_cb *ppe_cb);
101 void hns_ppe_get_regs(struct hns_ppe_cb *ppe_cb, void *data);
103 void hns_ppe_get_strings(struct hns_ppe_cb *ppe_cb, int stringset, u8 *data);
104 void hns_ppe_get_stats(struct hns_ppe_cb *ppe_cb, u64 *data);
Dhns_dsaf_ppe.c57 ppe_num * sizeof(struct hns_ppe_cb), GFP_KERNEL); in hns_ppe_common_get_cfg()
116 struct hns_ppe_cb *ppe_cb; in hns_ppe_get_cfg()
131 static void hns_ppe_cnt_clr_ce(struct hns_ppe_cb *ppe_cb) in hns_ppe_cnt_clr_ce()
142 static void hns_ppe_checksum_hw(struct hns_ppe_cb *ppe_cb, u32 value) in hns_ppe_checksum_hw()
178 static void hns_ppe_set_port_mode(struct hns_ppe_cb *ppe_cb, in hns_ppe_set_port_mode()
249 static void hns_ppe_exc_irq_en(struct hns_ppe_cb *ppe_cb, int en) in hns_ppe_exc_irq_en()
271 static void hns_ppe_init_hw(struct hns_ppe_cb *ppe_cb) in hns_ppe_init_hw()
296 static void hns_ppe_uninit_hw(struct hns_ppe_cb *ppe_cb) in hns_ppe_uninit_hw()
312 memset(&ppe_common->ppe_cb[i], 0, sizeof(struct hns_ppe_cb)); in hns_ppe_uninit_ex()
354 void hns_ppe_update_stats(struct hns_ppe_cb *ppe_cb) in hns_ppe_update_stats()
[all …]
Dhns_ae_adapt.c56 static struct hns_ppe_cb *hns_get_ppe_cb(struct hnae_handle *handle) in hns_get_ppe_cb()
489 struct hns_ppe_cb *ppe_cb; in hns_ae_update_stats()
569 struct hns_ppe_cb *ppe_cb; in hns_ae_get_stats()
603 struct hns_ppe_cb *ppe_cb; in hns_ae_get_strings()
696 struct hns_ppe_cb *ppe_cb = hns_get_ppe_cb(handle); in hns_ae_get_regs()