Lines Matching refs:port_cfg
1184 struct ksz_port_cfg port_cfg[TOTAL_PORT_NUM]; member
1963 static void port_cfg(struct ksz_hw *hw, int port, int offset, u16 bits, in port_cfg() function
2124 port_cfg(hw, p, in port_cfg_broad_storm()
2271 sw->port_cfg[port].rx_rate[prio] = in sw_init_prio_rate()
2272 sw->port_cfg[port].tx_rate[prio] = 0; in sw_init_prio_rate()
2282 port_cfg(hw, p, in port_cfg_back_pressure()
2288 port_cfg(hw, p, in port_cfg_force_flow_ctrl()
2308 port_cfg(hw, p, in port_cfg_rx()
2314 port_cfg(hw, p, in port_cfg_tx()
2336 port_cfg(hw, p, in port_cfg_ins_tag()
2342 port_cfg(hw, p, in port_cfg_rmv_tag()
2360 port_cfg(hw, p, in port_cfg_dis_non_vid()
2366 port_cfg(hw, p, in port_cfg_in_filter()
2386 port_cfg(hw, p, in port_cfg_mirror_sniffer()
2392 port_cfg(hw, p, in port_cfg_mirror_rx()
2398 port_cfg(hw, p, in port_cfg_mirror_tx()
2445 port_cfg(hw, p, in port_cfg_diffserv()
2451 port_cfg(hw, p, in port_cfg_802_1p()
2457 port_cfg(hw, p, in port_cfg_replace_vid()
2463 port_cfg(hw, p, in port_cfg_prio()
2557 hw->ksz_switch->port_cfg[port].port_prio = prio; in sw_cfg_port_based()
2617 sw->port_cfg[port].port_prio = 0; in sw_init_prio()
2618 sw_cfg_port_based(hw, port, sw->port_cfg[port].port_prio); in sw_init_prio()
2661 port_get_def_vid(hw, port, &sw->port_cfg[port].vid); in sw_init_vlan()
2662 sw->port_cfg[port].member = PORT_MASK; in sw_init_vlan()
2687 hw->ksz_switch->port_cfg[port].member = member; in sw_cfg_port_base_vlan()
2820 hw->ksz_switch->port_cfg[port].stp_state = state; in port_set_stp_state()
3461 port_cfg(hw, p, in port_set_power_saving()
5342 if (STP_STATE_FORWARDING == sw->port_cfg[port].stp_state) in bridge_change()
5346 if (member != sw->port_cfg[port].member) in bridge_change()