Lines Matching refs:prio
72 int prio; in mlxsw_sp_port_headroom_ets_set() local
76 for (prio = 0; prio < IEEE_8021QAZ_MAX_TCS; prio++) in mlxsw_sp_port_headroom_ets_set()
77 hdroom.prios.prio[prio].ets_buf_idx = ets->prio_tc[prio]; in mlxsw_sp_port_headroom_ets_set()
478 u8 prio) in mlxsw_sp_port_pfc_cnt_get() argument
486 MLXSW_REG_PPCNT_PRIO_CNT, prio); in mlxsw_sp_port_pfc_cnt_get()
491 my_pfc->requests[prio] = mlxsw_reg_ppcnt_tx_pause_get(ppcnt_pl); in mlxsw_sp_port_pfc_cnt_get()
492 my_pfc->indications[prio] = mlxsw_reg_ppcnt_rx_pause_get(ppcnt_pl); in mlxsw_sp_port_pfc_cnt_get()
538 int prio; in mlxsw_sp_dcbnl_ieee_setpfc() local
554 for (prio = 0; prio < IEEE_8021QAZ_MAX_TCS; prio++) in mlxsw_sp_dcbnl_ieee_setpfc()
555 hdroom.prios.prio[prio].lossy = !(pfc->pfc_en & BIT(prio)); in mlxsw_sp_dcbnl_ieee_setpfc()
587 int prio; in mlxsw_sp_dcbnl_getbuffer() local
603 for (prio = 0; prio < IEEE_8021Q_MAX_PRIORITIES; prio++) in mlxsw_sp_dcbnl_getbuffer()
604 buf->prio2buffer[prio] = hdroom->prios.prio[prio].buf_idx; in mlxsw_sp_dcbnl_getbuffer()
614 int prio; in mlxsw_sp_dcbnl_setbuffer() local
624 for (prio = 0; prio < IEEE_8021Q_MAX_PRIORITIES; prio++) in mlxsw_sp_dcbnl_setbuffer()
625 hdroom.prios.prio[prio].set_buf_idx = buf->prio2buffer[prio]; in mlxsw_sp_dcbnl_setbuffer()