Lines Matching refs:port_cfg
1108 struct ksz_port_cfg port_cfg[TOTAL_PORT_NUM]; member
1857 static void port_cfg(struct ksz_hw *hw, int port, int offset, u16 bits, in port_cfg() function
1971 port_cfg(hw, p, in port_cfg_broad_storm()
2112 sw->port_cfg[port].rx_rate[prio] = in sw_init_prio_rate()
2113 sw->port_cfg[port].tx_rate[prio] = 0; in sw_init_prio_rate()
2123 port_cfg(hw, p, in port_cfg_back_pressure()
2131 port_cfg(hw, p, in port_cfg_mirror_sniffer()
2137 port_cfg(hw, p, in port_cfg_mirror_rx()
2143 port_cfg(hw, p, in port_cfg_mirror_tx()
2168 port_cfg(hw, p, in port_cfg_diffserv()
2174 port_cfg(hw, p, in port_cfg_802_1p()
2180 port_cfg(hw, p, in port_cfg_replace_vid()
2186 port_cfg(hw, p, in port_cfg_prio()
2256 hw->ksz_switch->port_cfg[port].port_prio = prio; in sw_cfg_port_based()
2316 sw->port_cfg[port].port_prio = 0; in sw_init_prio()
2317 sw_cfg_port_based(hw, port, sw->port_cfg[port].port_prio); in sw_init_prio()
2360 port_get_def_vid(hw, port, &sw->port_cfg[port].vid); in sw_init_vlan()
2361 sw->port_cfg[port].member = PORT_MASK; in sw_init_vlan()
2386 hw->ksz_switch->port_cfg[port].member = member; in sw_cfg_port_base_vlan()
2502 hw->ksz_switch->port_cfg[port].stp_state = state; in port_set_stp_state()
3079 port_cfg(hw, p, in port_set_power_saving()
4954 if (STP_STATE_FORWARDING == sw->port_cfg[port].stp_state) in bridge_change()
4958 if (member != sw->port_cfg[port].member) in bridge_change()