Lines Matching defs:prio
2260 int prio;
2264 for (prio = 0; prio < PRIO_QUEUES; prio++) {
2265 sw->port_cfg[port].rx_rate[prio] =
2266 sw->port_cfg[port].tx_rate[prio] = 0;
2540 * @prio: The priority to set.
2544 static void sw_cfg_port_based(struct ksz_hw *hw, int port, u8 prio)
2548 if (prio > PORT_BASED_PRIORITY_BASE)
2549 prio = PORT_BASED_PRIORITY_BASE;
2551 hw->ksz_switch->port_cfg[port].port_prio = prio;
2555 data |= prio << PORT_BASED_PRIORITY_SHIFT;