ppe_cb 39 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c return &ppe_comm->ppe_cb[ppe_index]; ppe_cb 155 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c struct hns_ppe_cb *ppe_cb; ppe_cb 166 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c ppe_cb = hns_get_ppe_cb(handle); ppe_cb 167 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c ret = hns_ppe_wait_tx_fifo_clean(ppe_cb); ppe_cb 330 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c struct hns_ppe_cb *ppe_cb = hns_get_ppe_cb(handle); ppe_cb 332 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c hns_ppe_set_tso_enable(ppe_cb, enable); ppe_cb 648 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c struct hns_ppe_cb *ppe_cb; ppe_cb 659 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c ppe_cb = hns_get_ppe_cb(handle); ppe_cb 676 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c hns_ppe_update_stats(ppe_cb); ppe_cb 677 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c rx_missed_errors = ppe_cb->hw_stats.rx_drop_no_buf; ppe_cb 678 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c tx_errors += ppe_cb->hw_stats.tx_err_checksum ppe_cb 679 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c + ppe_cb->hw_stats.tx_err_fifo_empty; ppe_cb 728 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c struct hns_ppe_cb *ppe_cb; ppe_cb 739 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c ppe_cb = hns_get_ppe_cb(handle); ppe_cb 746 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c hns_ppe_get_stats(ppe_cb, p); ppe_cb 762 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c struct hns_ppe_cb *ppe_cb; ppe_cb 772 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c ppe_cb = hns_get_ppe_cb(handle); ppe_cb 779 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c hns_ppe_get_strings(ppe_cb, stringset, p); ppe_cb 864 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c struct hns_ppe_cb *ppe_cb = hns_get_ppe_cb(handle); ppe_cb 866 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c hns_ppe_get_regs(ppe_cb, p); ppe_cb 913 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c struct hns_ppe_cb *ppe_cb = hns_get_ppe_cb(handle); ppe_cb 921 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c memcpy(key, ppe_cb->rss_key, HNS_PPEV2_RSS_KEY_SIZE); ppe_cb 925 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c memcpy(indir, ppe_cb->rss_indir_table, ppe_cb 934 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c struct hns_ppe_cb *ppe_cb = hns_get_ppe_cb(handle); ppe_cb 938 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c memcpy(ppe_cb->rss_key, key, HNS_PPEV2_RSS_KEY_SIZE); ppe_cb 939 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c hns_ppe_set_rss_key(ppe_cb, ppe_cb->rss_key); ppe_cb 944 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c memcpy(ppe_cb->rss_indir_table, indir, ppe_cb 948 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c hns_ppe_set_indir_table(ppe_cb, ppe_cb->rss_indir_table); ppe_cb 18 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c void hns_ppe_set_tso_enable(struct hns_ppe_cb *ppe_cb, u32 value) ppe_cb 20 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c dsaf_set_dev_bit(ppe_cb, PPEV2_CFG_TSO_EN_REG, 0, !!value); ppe_cb 23 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c void hns_ppe_set_rss_key(struct hns_ppe_cb *ppe_cb, ppe_cb 29 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c dsaf_write_dev(ppe_cb, PPEV2_RSS_KEY_REG + key_item * 0x4, ppe_cb 33 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c void hns_ppe_set_indir_table(struct hns_ppe_cb *ppe_cb, ppe_cb 40 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c reg_value = dsaf_read_dev(ppe_cb, ppe_cb 56 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c ppe_cb, PPEV2_INDRECTION_TBL_REG + i * 0x4, reg_value); ppe_cb 83 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c struct_size(ppe_common, ppe_cb, ppe_num), ppe_cb 119 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c struct hns_ppe_cb *ppe_cb; ppe_cb 123 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c ppe_cb = &ppe_common->ppe_cb[i]; ppe_cb 124 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c ppe_cb->dev = ppe_common->dev; ppe_cb 125 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c ppe_cb->next = NULL; ppe_cb 126 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c ppe_cb->ppe_common_cb = ppe_common; ppe_cb 127 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c ppe_cb->index = i; ppe_cb 128 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c ppe_cb->io_base = hns_ppe_get_iobase(ppe_common, i); ppe_cb 129 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c ppe_cb->virq = 0; ppe_cb 133 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c static void hns_ppe_cnt_clr_ce(struct hns_ppe_cb *ppe_cb) ppe_cb 135 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c dsaf_set_dev_bit(ppe_cb, PPE_TNL_0_5_CNT_CLR_CE_REG, ppe_cb 139 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c static void hns_ppe_set_vlan_strip(struct hns_ppe_cb *ppe_cb, int en) ppe_cb 141 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c dsaf_write_dev(ppe_cb, PPEV2_VLAN_STRIP_EN_REG, en); ppe_cb 149 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c static void hns_ppe_checksum_hw(struct hns_ppe_cb *ppe_cb, u32 value) ppe_cb 151 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c dsaf_set_dev_field(ppe_cb, PPE_CFG_PRO_CHECK_EN_REG, ppe_cb 185 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c static void hns_ppe_set_port_mode(struct hns_ppe_cb *ppe_cb, ppe_cb 188 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c dsaf_write_dev(ppe_cb, PPE_CFG_XGE_MODE_REG, mode); ppe_cb 257 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c static void hns_ppe_exc_irq_en(struct hns_ppe_cb *ppe_cb, int en) ppe_cb 269 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c dsaf_write_dev(ppe_cb, PPE_RINT_REG, clr_vlue); ppe_cb 272 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c dsaf_write_dev(ppe_cb, PPE_INTEN_REG, msk_vlue & vld_msk); ppe_cb 275 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c int hns_ppe_wait_tx_fifo_clean(struct hns_ppe_cb *ppe_cb) ppe_cb 282 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c val = dsaf_read_dev(ppe_cb, PPE_CURR_TX_FIFO0_REG) & 0x3ffU; ppe_cb 290 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c dev_err(ppe_cb->dev, "hns ppe tx fifo clean wait timeout, still has %u pkt.\n", ppe_cb 302 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c static void hns_ppe_init_hw(struct hns_ppe_cb *ppe_cb) ppe_cb 304 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c struct ppe_common_cb *ppe_common_cb = ppe_cb->ppe_common_cb; ppe_cb 305 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c u32 port = ppe_cb->index; ppe_cb 310 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c netdev_rss_key_fill(ppe_cb->rss_key, HNS_PPEV2_RSS_KEY_SIZE); ppe_cb 317 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c hns_ppe_exc_irq_en(ppe_cb, 0); ppe_cb 320 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c hns_ppe_set_port_mode(ppe_cb, PPE_MODE_GE); ppe_cb 321 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c dsaf_write_dev(ppe_cb, PPE_CFG_PAUSE_IDLE_CNT_REG, 0); ppe_cb 323 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c hns_ppe_set_port_mode(ppe_cb, PPE_MODE_XGE); ppe_cb 326 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c hns_ppe_checksum_hw(ppe_cb, 0xffffffff); ppe_cb 327 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c hns_ppe_cnt_clr_ce(ppe_cb); ppe_cb 330 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c hns_ppe_set_vlan_strip(ppe_cb, 0); ppe_cb 332 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c dsaf_write_dev(ppe_cb, PPE_CFG_MAX_FRAME_LEN_REG, ppe_cb 336 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c hns_ppe_set_rss_key(ppe_cb, ppe_cb->rss_key); ppe_cb 340 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c ppe_cb->rss_indir_table[i] = i; ppe_cb 341 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c hns_ppe_set_indir_table(ppe_cb, ppe_cb->rss_indir_table); ppe_cb 349 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c static void hns_ppe_uninit_hw(struct hns_ppe_cb *ppe_cb) ppe_cb 353 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c if (ppe_cb->ppe_common_cb) { ppe_cb 354 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c struct dsaf_device *dsaf_dev = ppe_cb->ppe_common_cb->dsaf_dev; ppe_cb 356 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c port = ppe_cb->index; ppe_cb 367 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c hns_ppe_uninit_hw(&ppe_common->ppe_cb[i]); ppe_cb 368 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c memset(&ppe_common->ppe_cb[i], 0, sizeof(struct hns_ppe_cb)); ppe_cb 403 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c hns_ppe_init_hw(&ppe_common->ppe_cb[i]); ppe_cb 413 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c void hns_ppe_update_stats(struct hns_ppe_cb *ppe_cb) ppe_cb 415 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c struct hns_ppe_hw_stats *hw_stats = &ppe_cb->hw_stats; ppe_cb 418 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c += dsaf_read_dev(ppe_cb, PPE_HIS_RX_SW_PKT_CNT_REG); ppe_cb 420 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c += dsaf_read_dev(ppe_cb, PPE_HIS_RX_WR_BD_OK_PKT_CNT_REG); ppe_cb 422 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c += dsaf_read_dev(ppe_cb, PPE_HIS_RX_PKT_NO_BUF_CNT_REG); ppe_cb 424 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c += dsaf_read_dev(ppe_cb, PPE_HIS_RX_APP_BUF_FAIL_CNT_REG); ppe_cb 426 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c += dsaf_read_dev(ppe_cb, PPE_HIS_RX_APP_BUF_WAIT_CNT_REG); ppe_cb 428 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c += dsaf_read_dev(ppe_cb, PPE_HIS_RX_PKT_DROP_FUL_CNT_REG); ppe_cb 430 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c += dsaf_read_dev(ppe_cb, PPE_HIS_RX_PKT_DROP_PRT_CNT_REG); ppe_cb 433 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c += dsaf_read_dev(ppe_cb, PPE_HIS_TX_BD_CNT_REG); ppe_cb 435 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c += dsaf_read_dev(ppe_cb, PPE_HIS_TX_PKT_CNT_REG); ppe_cb 437 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c += dsaf_read_dev(ppe_cb, PPE_HIS_TX_PKT_OK_CNT_REG); ppe_cb 439 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c += dsaf_read_dev(ppe_cb, PPE_HIS_TX_PKT_EPT_CNT_REG); ppe_cb 441 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c += dsaf_read_dev(ppe_cb, PPE_HIS_TX_PKT_CS_FAIL_CNT_REG); ppe_cb 462 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c void hns_ppe_get_strings(struct hns_ppe_cb *ppe_cb, int stringset, u8 *data) ppe_cb 465 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c int index = ppe_cb->index; ppe_cb 493 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c void hns_ppe_get_stats(struct hns_ppe_cb *ppe_cb, u64 *data) ppe_cb 496 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c struct hns_ppe_hw_stats *hw_stats = &ppe_cb->hw_stats; ppe_cb 553 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c void hns_ppe_get_regs(struct hns_ppe_cb *ppe_cb, void *data) ppe_cb 555 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c struct ppe_common_cb *ppe_common = ppe_cb->ppe_common_cb; ppe_cb 586 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[525] = dsaf_read_dev(ppe_cb, PPE_CFG_TX_FIFO_THRSLD_REG); ppe_cb 587 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[526] = dsaf_read_dev(ppe_cb, PPE_CFG_RX_FIFO_THRSLD_REG); ppe_cb 588 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[527] = dsaf_read_dev(ppe_cb, PPE_CFG_RX_FIFO_PAUSE_THRSLD_REG); ppe_cb 589 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[528] = dsaf_read_dev(ppe_cb, PPE_CFG_RX_FIFO_SW_BP_THRSLD_REG); ppe_cb 590 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[529] = dsaf_read_dev(ppe_cb, PPE_CFG_PAUSE_IDLE_CNT_REG); ppe_cb 591 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[530] = dsaf_read_dev(ppe_cb, PPE_CFG_BUS_CTRL_REG); ppe_cb 592 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[531] = dsaf_read_dev(ppe_cb, PPE_CFG_TNL_TO_BE_RST_REG); ppe_cb 593 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[532] = dsaf_read_dev(ppe_cb, PPE_CURR_TNL_CAN_RST_REG); ppe_cb 595 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[533] = dsaf_read_dev(ppe_cb, PPE_CFG_XGE_MODE_REG); ppe_cb 596 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[534] = dsaf_read_dev(ppe_cb, PPE_CFG_MAX_FRAME_LEN_REG); ppe_cb 597 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[535] = dsaf_read_dev(ppe_cb, PPE_CFG_RX_PKT_MODE_REG); ppe_cb 598 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[536] = dsaf_read_dev(ppe_cb, PPE_CFG_RX_VLAN_TAG_REG); ppe_cb 599 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[537] = dsaf_read_dev(ppe_cb, PPE_CFG_TAG_GEN_REG); ppe_cb 600 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[538] = dsaf_read_dev(ppe_cb, PPE_CFG_PARSE_TAG_REG); ppe_cb 601 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[539] = dsaf_read_dev(ppe_cb, PPE_CFG_PRO_CHECK_EN_REG); ppe_cb 603 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[540] = dsaf_read_dev(ppe_cb, PPE_INTEN_REG); ppe_cb 604 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[541] = dsaf_read_dev(ppe_cb, PPE_RINT_REG); ppe_cb 605 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[542] = dsaf_read_dev(ppe_cb, PPE_INTSTS_REG); ppe_cb 606 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[543] = dsaf_read_dev(ppe_cb, PPE_CFG_RX_PKT_INT_REG); ppe_cb 608 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[544] = dsaf_read_dev(ppe_cb, PPE_CFG_HEAT_DECT_TIME0_REG); ppe_cb 609 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[545] = dsaf_read_dev(ppe_cb, PPE_CFG_HEAT_DECT_TIME1_REG); ppe_cb 612 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[546] = dsaf_read_dev(ppe_cb, PPE_HIS_RX_SW_PKT_CNT_REG); ppe_cb 613 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[547] = dsaf_read_dev(ppe_cb, PPE_HIS_RX_WR_BD_OK_PKT_CNT_REG); ppe_cb 614 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[548] = dsaf_read_dev(ppe_cb, PPE_HIS_RX_PKT_NO_BUF_CNT_REG); ppe_cb 615 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[549] = dsaf_read_dev(ppe_cb, PPE_HIS_TX_BD_CNT_REG); ppe_cb 616 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[550] = dsaf_read_dev(ppe_cb, PPE_HIS_TX_PKT_CNT_REG); ppe_cb 617 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[551] = dsaf_read_dev(ppe_cb, PPE_HIS_TX_PKT_OK_CNT_REG); ppe_cb 618 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[552] = dsaf_read_dev(ppe_cb, PPE_HIS_TX_PKT_EPT_CNT_REG); ppe_cb 619 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[553] = dsaf_read_dev(ppe_cb, PPE_HIS_TX_PKT_CS_FAIL_CNT_REG); ppe_cb 620 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[554] = dsaf_read_dev(ppe_cb, PPE_HIS_RX_APP_BUF_FAIL_CNT_REG); ppe_cb 621 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[555] = dsaf_read_dev(ppe_cb, PPE_HIS_RX_APP_BUF_WAIT_CNT_REG); ppe_cb 622 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[556] = dsaf_read_dev(ppe_cb, PPE_HIS_RX_PKT_DROP_FUL_CNT_REG); ppe_cb 623 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[557] = dsaf_read_dev(ppe_cb, PPE_HIS_RX_PKT_DROP_PRT_CNT_REG); ppe_cb 625 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[558] = dsaf_read_dev(ppe_cb, PPE_TNL_0_5_CNT_CLR_CE_REG); ppe_cb 626 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[559] = dsaf_read_dev(ppe_cb, PPE_CFG_AXI_DBG_REG); ppe_cb 627 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[560] = dsaf_read_dev(ppe_cb, PPE_HIS_PRO_ERR_REG); ppe_cb 628 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[561] = dsaf_read_dev(ppe_cb, PPE_HIS_TNL_FIFO_ERR_REG); ppe_cb 629 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[562] = dsaf_read_dev(ppe_cb, PPE_CURR_CFF_DATA_NUM_REG); ppe_cb 630 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[563] = dsaf_read_dev(ppe_cb, PPE_CURR_RX_ST_REG); ppe_cb 631 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[564] = dsaf_read_dev(ppe_cb, PPE_CURR_TX_ST_REG); ppe_cb 632 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[565] = dsaf_read_dev(ppe_cb, PPE_CURR_RX_FIFO0_REG); ppe_cb 633 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[566] = dsaf_read_dev(ppe_cb, PPE_CURR_RX_FIFO1_REG); ppe_cb 634 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[567] = dsaf_read_dev(ppe_cb, PPE_CURR_TX_FIFO0_REG); ppe_cb 635 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[568] = dsaf_read_dev(ppe_cb, PPE_CURR_TX_FIFO1_REG); ppe_cb 636 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[569] = dsaf_read_dev(ppe_cb, PPE_ECO0_REG); ppe_cb 637 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[570] = dsaf_read_dev(ppe_cb, PPE_ECO1_REG); ppe_cb 638 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c regs[571] = dsaf_read_dev(ppe_cb, PPE_ECO2_REG); ppe_cb 95 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.h struct hns_ppe_cb ppe_cb[0]; ppe_cb 99 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.h int hns_ppe_wait_tx_fifo_clean(struct hns_ppe_cb *ppe_cb); ppe_cb 106 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.h void hns_ppe_update_stats(struct hns_ppe_cb *ppe_cb); ppe_cb 110 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.h void hns_ppe_get_regs(struct hns_ppe_cb *ppe_cb, void *data); ppe_cb 112 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.h void hns_ppe_get_strings(struct hns_ppe_cb *ppe_cb, int stringset, u8 *data); ppe_cb 113 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.h void hns_ppe_get_stats(struct hns_ppe_cb *ppe_cb, u64 *data); ppe_cb 114 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.h void hns_ppe_set_tso_enable(struct hns_ppe_cb *ppe_cb, u32 value); ppe_cb 115 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.h void hns_ppe_set_rss_key(struct hns_ppe_cb *ppe_cb, ppe_cb 117 drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.h void hns_ppe_set_indir_table(struct hns_ppe_cb *ppe_cb,