Home
last modified time | relevance | path

Searched refs:prio_top (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.15/drivers/net/ethernet/freescale/enetc/
Denetc_qos.c190 u8 prio_top, prio_next; in enetc_setup_tc_cbs() local
194 prio_top = netdev_get_prio_tc_map(ndev, tc_nums - 1); in enetc_setup_tc_cbs()
198 if (tc != prio_top && tc != prio_next) in enetc_setup_tc_cbs()
205 if (tc == prio_top && in enetc_setup_tc_cbs()
231 if (!enetc_get_cbs_enable(&si->hw, prio_top)) { in enetc_setup_tc_cbs()
234 prio_top, prio_next); in enetc_setup_tc_cbs()
237 bw_sum += enetc_get_cbs_bw(&si->hw, prio_top); in enetc_setup_tc_cbs()
260 if (tc == prio_top) { in enetc_setup_tc_cbs()
266 ma = enetc_port_rd(&si->hw, ENETC_PTCMSDUR(prio_top)) * 8; in enetc_setup_tc_cbs()
267 ra = enetc_get_cbs_bw(&si->hw, prio_top) * in enetc_setup_tc_cbs()