Lines Matching refs:vfcfg_tbl2

22 	if (!app || !app->pf->vfcfg_tbl2)  in nfp_net_sriov_check()
25 cap_vf = readw(app->pf->vfcfg_tbl2 + NFP_NET_VF_CFG_MB_CAP); in nfp_net_sriov_check()
48 writeb(vf, app->pf->vfcfg_tbl2 + NFP_NET_VF_CFG_MB_VF_NUM); in nfp_net_sriov_update()
49 writew(update, app->pf->vfcfg_tbl2 + NFP_NET_VF_CFG_MB_UPD); in nfp_net_sriov_update()
57 ret = readw(app->pf->vfcfg_tbl2 + NFP_NET_VF_CFG_MB_RET); in nfp_net_sriov_update()
83 writel(get_unaligned_be32(mac), app->pf->vfcfg_tbl2 + vf_offset); in nfp_app_set_vf_mac()
85 app->pf->vfcfg_tbl2 + vf_offset + NFP_NET_VF_CFG_MAC_LO); in nfp_app_set_vf_mac()
142 writel(vlan_tag, app->pf->vfcfg_tbl2 + vf_offset + NFP_NET_VF_CFG_VLAN); in nfp_app_set_vf_vlan()
172 app->pf->vfcfg_tbl2 + vf_offset + NFP_NET_VF_CFG_RATE); in nfp_app_set_vf_rate()
193 vf_ctrl = readb(app->pf->vfcfg_tbl2 + vf_offset); in nfp_app_set_vf_spoofchk()
196 writeb(vf_ctrl, app->pf->vfcfg_tbl2 + vf_offset); in nfp_app_set_vf_spoofchk()
217 vf_ctrl = readb(app->pf->vfcfg_tbl2 + vf_offset); in nfp_app_set_vf_trust()
220 writeb(vf_ctrl, app->pf->vfcfg_tbl2 + vf_offset); in nfp_app_set_vf_trust()
251 vf_ctrl = readb(app->pf->vfcfg_tbl2 + vf_offset); in nfp_app_set_vf_link_state()
254 writeb(vf_ctrl, app->pf->vfcfg_tbl2 + vf_offset); in nfp_app_set_vf_link_state()
276 mac_hi = readl(app->pf->vfcfg_tbl2 + vf_offset); in nfp_app_get_vf_config()
277 mac_lo = readw(app->pf->vfcfg_tbl2 + vf_offset + NFP_NET_VF_CFG_MAC_LO); in nfp_app_get_vf_config()
279 flags = readb(app->pf->vfcfg_tbl2 + vf_offset + NFP_NET_VF_CFG_CTRL); in nfp_app_get_vf_config()
280 vlan_tag = readl(app->pf->vfcfg_tbl2 + vf_offset + NFP_NET_VF_CFG_VLAN); in nfp_app_get_vf_config()
298 rate = readl(app->pf->vfcfg_tbl2 + vf_offset + in nfp_app_get_vf_config()