vf_cb 20 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle); vf_cb 22 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c return vf_cb->mac_cb; vf_cb 34 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle); vf_cb 36 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c ppe_comm = vf_cb->dsaf_dev->ppe_common[0]; vf_cb 37 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c ppe_index = vf_cb->port_index; vf_cb 78 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c struct hnae_vf_cb *vf_cb; vf_cb 86 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c vf_cb = kzalloc(sizeof(*vf_cb) + vf_cb 88 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c if (unlikely(!vf_cb)) { vf_cb 93 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c ae_handle = &vf_cb->ae_handle; vf_cb 123 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c vf_cb->dsaf_dev = dsaf_dev; vf_cb 124 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c vf_cb->port_index = port_id; vf_cb 125 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c vf_cb->mac_cb = dsaf_dev->mac_cb[port_id]; vf_cb 127 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c ae_handle->phy_if = vf_cb->mac_cb->phy_if; vf_cb 128 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c ae_handle->phy_dev = vf_cb->mac_cb->phy_dev; vf_cb 129 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c ae_handle->if_support = vf_cb->mac_cb->if_support; vf_cb 130 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c ae_handle->port_type = vf_cb->mac_cb->mac_type; vf_cb 131 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c ae_handle->media_type = vf_cb->mac_cb->media_type; vf_cb 136 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c kfree(vf_cb); vf_cb 143 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle); vf_cb 149 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c kfree(vf_cb); vf_cb 156 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c struct hnae_vf_cb *vf_cb; vf_cb 178 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c vf_cb = hns_ae_get_vf_cb(handle); vf_cb 179 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c ret = hns_mac_wait_fifo_clean(vf_cb->mac_cb); vf_cb 206 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(q->handle); vf_cb 208 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c if (vf_cb->mac_cb->mac_type == HNAE_PORT_SERVICE) vf_cb 384 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle); vf_cb 386 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c if (vf_cb->mac_cb->mac_type == HNAE_PORT_DEBUG) { vf_cb 387 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c hns_mac_reset(vf_cb->mac_cb); vf_cb 388 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c hns_ppe_reset_common(vf_cb->dsaf_dev, 0); vf_cb 650 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle); vf_cb 658 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c port = vf_cb->port_index; vf_cb 730 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c struct hnae_vf_cb *vf_cb; vf_cb 737 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c vf_cb = hns_ae_get_vf_cb(handle); vf_cb 753 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c hns_dsaf_get_stats(vf_cb->dsaf_dev, p, vf_cb->port_index); vf_cb 765 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c struct hnae_vf_cb *vf_cb; vf_cb 769 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c vf_cb = hns_ae_get_vf_cb(handle); vf_cb 770 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c port = vf_cb->port_index; vf_cb 813 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle); vf_cb 822 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c ret = dsaf_dev->misc_op->cfg_serdes_loopback(vf_cb->mac_cb, vf_cb 826 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c ret = hns_mac_config_mac_loopback(vf_cb->mac_cb, loop, en); vf_cb 863 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle); vf_cb 869 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c hns_rcb_get_common_regs(vf_cb->dsaf_dev->rcb_common[0], p); vf_cb 877 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c hns_mac_get_regs(vf_cb->mac_cb, p); vf_cb 878 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c p += hns_mac_get_regs_count(vf_cb->mac_cb); vf_cb 880 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c if (vf_cb->mac_cb->mac_type == HNAE_PORT_SERVICE) vf_cb 881 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c hns_dsaf_get_regs(vf_cb->dsaf_dev, vf_cb->port_index, p); vf_cb 887 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c struct hnae_vf_cb *vf_cb = hns_ae_get_vf_cb(handle); vf_cb 892 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c total_num += hns_mac_get_regs_count(vf_cb->mac_cb); vf_cb 894 drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c if (vf_cb->mac_cb->mac_type == HNAE_PORT_SERVICE)