Lines Matching defs:port_cfg
1171 * @port_cfg: Port configuration information.
1184 struct ksz_port_cfg port_cfg[TOTAL_PORT_NUM];
1955 * port_cfg - set port register bits
1964 static void port_cfg(struct ksz_hw *hw, int port, int offset, u16 bits,
2125 port_cfg(hw, p,
2272 sw->port_cfg[port].rx_rate[prio] =
2273 sw->port_cfg[port].tx_rate[prio] = 0;
2283 port_cfg(hw, p,
2289 port_cfg(hw, p,
2309 port_cfg(hw, p,
2315 port_cfg(hw, p,
2321 port_cfg(hw, p,
2343 port_cfg(hw, p,
2349 port_cfg(hw, p,
2367 port_cfg(hw, p,
2373 port_cfg(hw, p,
2393 port_cfg(hw, p,
2399 port_cfg(hw, p,
2405 port_cfg(hw, p,
2452 port_cfg(hw, p,
2458 port_cfg(hw, p,
2464 port_cfg(hw, p,
2470 port_cfg(hw, p,
2564 hw->ksz_switch->port_cfg[port].port_prio = prio;
2624 sw->port_cfg[port].port_prio = 0;
2625 sw_cfg_port_based(hw, port, sw->port_cfg[port].port_prio);
2668 port_get_def_vid(hw, port, &sw->port_cfg[port].vid);
2669 sw->port_cfg[port].member = PORT_MASK;
2694 hw->ksz_switch->port_cfg[port].member = member;
2827 hw->ksz_switch->port_cfg[port].stp_state = state;
3468 port_cfg(hw, p,
5354 if (STP_STATE_FORWARDING == sw->port_cfg[port].stp_state)
5358 if (member != sw->port_cfg[port].member)