Lines Matching refs:prio
2267 int prio;
2271 for (prio = 0; prio < PRIO_QUEUES; prio++) {
2272 sw->port_cfg[port].rx_rate[prio] =
2273 sw->port_cfg[port].tx_rate[prio] = 0;
2553 * @prio: The priority to set.
2557 static void sw_cfg_port_based(struct ksz_hw *hw, int port, u8 prio)
2561 if (prio > PORT_BASED_PRIORITY_BASE)
2562 prio = PORT_BASED_PRIORITY_BASE;
2564 hw->ksz_switch->port_cfg[port].port_prio = prio;
2568 data |= prio << PORT_BASED_PRIORITY_SHIFT;