Lines Matching refs:port_cfg
1176 struct ksz_port_cfg port_cfg[TOTAL_PORT_NUM]; member
1957 static void port_cfg(struct ksz_hw *hw, int port, int offset, u16 bits, in port_cfg() function
2118 port_cfg(hw, p, in port_cfg_broad_storm()
2265 sw->port_cfg[port].rx_rate[prio] = in sw_init_prio_rate()
2266 sw->port_cfg[port].tx_rate[prio] = 0; in sw_init_prio_rate()
2276 port_cfg(hw, p, in port_cfg_back_pressure()
2282 port_cfg(hw, p, in port_cfg_force_flow_ctrl()
2302 port_cfg(hw, p, in port_cfg_rx()
2308 port_cfg(hw, p, in port_cfg_tx()
2330 port_cfg(hw, p, in port_cfg_ins_tag()
2336 port_cfg(hw, p, in port_cfg_rmv_tag()
2354 port_cfg(hw, p, in port_cfg_dis_non_vid()
2360 port_cfg(hw, p, in port_cfg_in_filter()
2380 port_cfg(hw, p, in port_cfg_mirror_sniffer()
2386 port_cfg(hw, p, in port_cfg_mirror_rx()
2392 port_cfg(hw, p, in port_cfg_mirror_tx()
2439 port_cfg(hw, p, in port_cfg_diffserv()
2445 port_cfg(hw, p, in port_cfg_802_1p()
2451 port_cfg(hw, p, in port_cfg_replace_vid()
2457 port_cfg(hw, p, in port_cfg_prio()
2551 hw->ksz_switch->port_cfg[port].port_prio = prio; in sw_cfg_port_based()
2611 sw->port_cfg[port].port_prio = 0; in sw_init_prio()
2612 sw_cfg_port_based(hw, port, sw->port_cfg[port].port_prio); in sw_init_prio()
2655 port_get_def_vid(hw, port, &sw->port_cfg[port].vid); in sw_init_vlan()
2656 sw->port_cfg[port].member = PORT_MASK; in sw_init_vlan()
2681 hw->ksz_switch->port_cfg[port].member = member; in sw_cfg_port_base_vlan()
2814 hw->ksz_switch->port_cfg[port].stp_state = state; in port_set_stp_state()
3452 port_cfg(hw, p, in port_set_power_saving()
5328 if (STP_STATE_FORWARDING == sw->port_cfg[port].stp_state) in bridge_change()
5332 if (member != sw->port_cfg[port].member) in bridge_change()