• Home
  • Raw
  • Download

Lines Matching refs:prio

38 #define QED_DCBX_PRIO2TC(prio_tc_tbl, prio) \  argument
39 ((u32)(prio_tc_tbl >> ((7 - prio) * 4)) & 0x7)
168 bool app_tlv, bool enable, u8 prio, u8 tc, in qed_dcbx_set_params() argument
174 p_data->arr[type].priority = prio; in qed_dcbx_set_params()
192 qed_wr(p_hwfn, p_ptt, DORQ_REG_PF_PCP_BB_K2, prio << 1); in qed_dcbx_set_params()
200 bool app_tlv, bool enable, u8 prio, u8 tc, in qed_dcbx_update_app_info() argument
216 prio, tc, type, personality); in qed_dcbx_update_app_info()
506 entry->prio = ffs(pri_map) - 1; in qed_dcbx_get_app_data()
530 p_params->pfc.prio[0] = !!(pfc_map & DCBX_PFC_PRI_EN_BITMAP_PRI_0); in qed_dcbx_get_pfc_data()
531 p_params->pfc.prio[1] = !!(pfc_map & DCBX_PFC_PRI_EN_BITMAP_PRI_1); in qed_dcbx_get_pfc_data()
532 p_params->pfc.prio[2] = !!(pfc_map & DCBX_PFC_PRI_EN_BITMAP_PRI_2); in qed_dcbx_get_pfc_data()
533 p_params->pfc.prio[3] = !!(pfc_map & DCBX_PFC_PRI_EN_BITMAP_PRI_3); in qed_dcbx_get_pfc_data()
534 p_params->pfc.prio[4] = !!(pfc_map & DCBX_PFC_PRI_EN_BITMAP_PRI_4); in qed_dcbx_get_pfc_data()
535 p_params->pfc.prio[5] = !!(pfc_map & DCBX_PFC_PRI_EN_BITMAP_PRI_5); in qed_dcbx_get_pfc_data()
536 p_params->pfc.prio[6] = !!(pfc_map & DCBX_PFC_PRI_EN_BITMAP_PRI_6); in qed_dcbx_get_pfc_data()
537 p_params->pfc.prio[7] = !!(pfc_map & DCBX_PFC_PRI_EN_BITMAP_PRI_7); in qed_dcbx_get_pfc_data()
1041 if (p_params->pfc.prio[i]) in qed_dcbx_set_pfc_data()
1161 *entry |= ((u32)(p_params->app_entry[i].prio) << in qed_dcbx_set_app_data()
1391 static void qed_dcbnl_getpgtccfgrx(struct qed_dev *cdev, int tc, u8 *prio, in qed_dcbnl_getpgtccfgrx() argument
1395 *prio = *bwg_id = *bw_pct = *up_map = 0; in qed_dcbnl_getpgtccfgrx()
1421 *setting = dcbx_info->operational.params.pfc.prio[priority]; in qed_dcbnl_getpfccfg()
1446 dcbx_set.config.params.pfc.prio[priority] = !!setting; in qed_dcbnl_setpfccfg()
1597 static void qed_dcbnl_setpgtccfgrx(struct qed_dev *cdev, int prio, in qed_dcbnl_setpgtccfgrx() argument
1731 u8 prio = 0; in qed_dcbnl_getapp() local
1742 prio = entry->prio; in qed_dcbnl_getapp()
1755 return prio; in qed_dcbnl_getapp()
1793 dcbx_set.config.params.app_entry[i].prio = pri_map; in qed_dcbnl_setapp()
1978 table[i].priority = dcbx_info->remote.params.app_entry[i].prio; in qed_dcbnl_peer_getapptable()
1999 if (dcbx_info->remote.params.pfc.prio[i]) in qed_dcbnl_cee_peer_getpfc()
2067 if (params->pfc.prio[i]) in qed_dcbnl_get_ieee_pfc()
2107 dcbx_set.config.params.pfc.prio[i] = !!(pfc->pfc_en & BIT(i)); in qed_dcbnl_ieee_setpfc()
2256 u8 prio = 0; in qed_dcbnl_ieee_getapp() local
2283 prio = entry->prio; in qed_dcbnl_ieee_getapp()
2295 app->priority = ffs(prio) - 1; in qed_dcbnl_ieee_getapp()
2362 dcbx_set.config.params.app_entry[i].prio = BIT(app->priority); in qed_dcbnl_ieee_setapp()