Lines Matching refs:pfvf
15 struct otx2_nic *pfvf = otx2_dl->pfvf; in otx2_dl_mcam_count_validate() local
18 if (!pfvf->flow_cfg) { in otx2_dl_mcam_count_validate()
24 flow_cfg = pfvf->flow_cfg; in otx2_dl_mcam_count_validate()
38 struct otx2_nic *pfvf = otx2_dl->pfvf; in otx2_dl_mcam_count_set() local
40 if (!pfvf->flow_cfg) in otx2_dl_mcam_count_set()
43 otx2_alloc_mcam_entries(pfvf, ctx->val.vu16); in otx2_dl_mcam_count_set()
52 struct otx2_nic *pfvf = otx2_dl->pfvf; in otx2_dl_mcam_count_get() local
55 if (!pfvf->flow_cfg) { in otx2_dl_mcam_count_get()
60 flow_cfg = pfvf->flow_cfg; in otx2_dl_mcam_count_get()
82 int otx2_register_dl(struct otx2_nic *pfvf) in otx2_register_dl() argument
89 sizeof(struct otx2_devlink), pfvf->dev); in otx2_register_dl()
91 dev_warn(pfvf->dev, "devlink_alloc failed\n"); in otx2_register_dl()
97 otx2_dl->pfvf = pfvf; in otx2_register_dl()
98 pfvf->dl = otx2_dl; in otx2_register_dl()
103 dev_err(pfvf->dev, in otx2_register_dl()
116 void otx2_unregister_dl(struct otx2_nic *pfvf) in otx2_unregister_dl() argument
118 struct otx2_devlink *otx2_dl = pfvf->dl; in otx2_unregister_dl()