Lines Matching refs:port_cfg
1163 * @port_cfg: Port configuration information.
1176 struct ksz_port_cfg port_cfg[TOTAL_PORT_NUM];
1948 * port_cfg - set port register bits
1957 static void port_cfg(struct ksz_hw *hw, int port, int offset, u16 bits,
2118 port_cfg(hw, p,
2265 sw->port_cfg[port].rx_rate[prio] =
2266 sw->port_cfg[port].tx_rate[prio] = 0;
2276 port_cfg(hw, p,
2282 port_cfg(hw, p,
2302 port_cfg(hw, p,
2308 port_cfg(hw, p,
2330 port_cfg(hw, p,
2336 port_cfg(hw, p,
2354 port_cfg(hw, p,
2360 port_cfg(hw, p,
2380 port_cfg(hw, p,
2386 port_cfg(hw, p,
2392 port_cfg(hw, p,
2439 port_cfg(hw, p,
2445 port_cfg(hw, p,
2451 port_cfg(hw, p,
2457 port_cfg(hw, p,
2551 hw->ksz_switch->port_cfg[port].port_prio = prio;
2611 sw->port_cfg[port].port_prio = 0;
2612 sw_cfg_port_based(hw, port, sw->port_cfg[port].port_prio);
2655 port_get_def_vid(hw, port, &sw->port_cfg[port].vid);
2656 sw->port_cfg[port].member = PORT_MASK;
2681 hw->ksz_switch->port_cfg[port].member = member;
2814 hw->ksz_switch->port_cfg[port].stp_state = state;
3452 port_cfg(hw, p,
5328 if (STP_STATE_FORWARDING == sw->port_cfg[port].stp_state)
5332 if (member != sw->port_cfg[port].member)