Searched refs:ppe_cb (Results 1 – 3 of 3) sorted by relevance
116 struct hns_ppe_cb *ppe_cb; in hns_ppe_get_cfg() local120 ppe_cb = &ppe_common->ppe_cb[i]; in hns_ppe_get_cfg()121 ppe_cb->dev = ppe_common->dev; in hns_ppe_get_cfg()122 ppe_cb->next = NULL; in hns_ppe_get_cfg()123 ppe_cb->ppe_common_cb = ppe_common; in hns_ppe_get_cfg()124 ppe_cb->index = i; in hns_ppe_get_cfg()125 ppe_cb->port = hns_ppe_get_port(ppe_common, i); in hns_ppe_get_cfg()126 ppe_cb->io_base = hns_ppe_get_iobase(ppe_common, i); in hns_ppe_get_cfg()127 ppe_cb->virq = 0; 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() argument[all …]
87 struct hns_ppe_cb ppe_cb[0]; member97 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);
72 return &ppe_comm->ppe_cb[ppe_index]; in hns_get_ppe_cb()489 struct hns_ppe_cb *ppe_cb; in hns_ae_update_stats() local500 ppe_cb = hns_get_ppe_cb(handle); in hns_ae_update_stats()517 hns_ppe_update_stats(ppe_cb); in hns_ae_update_stats()518 rx_missed_errors = ppe_cb->hw_stats.rx_drop_no_buf; in hns_ae_update_stats()519 tx_errors += ppe_cb->hw_stats.tx_err_checksum in hns_ae_update_stats()520 + ppe_cb->hw_stats.tx_err_fifo_empty; in hns_ae_update_stats()569 struct hns_ppe_cb *ppe_cb; in hns_ae_get_stats() local580 ppe_cb = hns_get_ppe_cb(handle); in hns_ae_get_stats()587 hns_ppe_get_stats(ppe_cb, p); in hns_ae_get_stats()[all …]