Searched refs:vf_ctrl (Results 1 – 1 of 1) sorted by relevance
182 u8 vf_ctrl; in nfp_app_set_vf_spoofchk() local193 vf_ctrl = readb(app->pf->vfcfg_tbl2 + vf_offset); in nfp_app_set_vf_spoofchk()194 vf_ctrl &= ~NFP_NET_VF_CFG_CTRL_SPOOF; in nfp_app_set_vf_spoofchk()195 vf_ctrl |= FIELD_PREP(NFP_NET_VF_CFG_CTRL_SPOOF, enable); in nfp_app_set_vf_spoofchk()196 writeb(vf_ctrl, app->pf->vfcfg_tbl2 + vf_offset); in nfp_app_set_vf_spoofchk()206 u8 vf_ctrl; in nfp_app_set_vf_trust() local217 vf_ctrl = readb(app->pf->vfcfg_tbl2 + vf_offset); in nfp_app_set_vf_trust()218 vf_ctrl &= ~NFP_NET_VF_CFG_CTRL_TRUST; in nfp_app_set_vf_trust()219 vf_ctrl |= FIELD_PREP(NFP_NET_VF_CFG_CTRL_TRUST, enable); in nfp_app_set_vf_trust()220 writeb(vf_ctrl, app->pf->vfcfg_tbl2 + vf_offset); in nfp_app_set_vf_trust()[all …]