Lines Matching refs:pfc
196 struct ieee_pfc *pfc) in xgbe_dcb_ieee_getpfc() argument
201 pfc->pfc_cap = pdata->hw_feat.tc_cnt; in xgbe_dcb_ieee_getpfc()
203 if (pdata->pfc) { in xgbe_dcb_ieee_getpfc()
204 pfc->pfc_en = pdata->pfc->pfc_en; in xgbe_dcb_ieee_getpfc()
205 pfc->mbc = pdata->pfc->mbc; in xgbe_dcb_ieee_getpfc()
206 pfc->delay = pdata->pfc->delay; in xgbe_dcb_ieee_getpfc()
213 struct ieee_pfc *pfc) in xgbe_dcb_ieee_setpfc() argument
218 pfc->pfc_cap, pfc->pfc_en, pfc->mbc, pfc->delay); in xgbe_dcb_ieee_setpfc()
220 if (!pdata->pfc) { in xgbe_dcb_ieee_setpfc()
221 pdata->pfc = devm_kzalloc(pdata->dev, sizeof(*pdata->pfc), in xgbe_dcb_ieee_setpfc()
223 if (!pdata->pfc) in xgbe_dcb_ieee_setpfc()
227 memcpy(pdata->pfc, pfc, sizeof(*pdata->pfc)); in xgbe_dcb_ieee_setpfc()