Lines Matching refs:dsa_switch
95 static enum dsa_tag_protocol a5psw_get_tag_protocol(struct dsa_switch *ds, in a5psw_get_tag_protocol()
187 static void a5psw_port_disable(struct dsa_switch *ds, int port) in a5psw_port_disable()
195 static int a5psw_port_enable(struct dsa_switch *ds, int port, in a5psw_port_enable()
206 static int a5psw_port_change_mtu(struct dsa_switch *ds, int port, int new_mtu) in a5psw_port_change_mtu()
216 static int a5psw_port_max_mtu(struct dsa_switch *ds, int port) in a5psw_port_max_mtu()
221 static void a5psw_phylink_get_caps(struct dsa_switch *ds, int port, in a5psw_phylink_get_caps()
300 static int a5psw_set_ageing_time(struct dsa_switch *ds, unsigned int msecs) in a5psw_set_ageing_time()
358 static int a5psw_port_bridge_join(struct dsa_switch *ds, int port, in a5psw_port_bridge_join()
380 static void a5psw_port_bridge_leave(struct dsa_switch *ds, int port, in a5psw_port_bridge_leave()
394 static int a5psw_port_pre_bridge_flags(struct dsa_switch *ds, int port, in a5psw_port_pre_bridge_flags()
406 a5psw_port_bridge_flags(struct dsa_switch *ds, int port, in a5psw_port_bridge_flags()
447 static void a5psw_port_stp_state_set(struct dsa_switch *ds, int port, u8 state) in a5psw_port_stp_state_set()
481 static void a5psw_port_fast_age(struct dsa_switch *ds, int port) in a5psw_port_fast_age()
507 static int a5psw_port_fdb_add(struct dsa_switch *ds, int port, in a5psw_port_fdb_add()
558 static int a5psw_port_fdb_del(struct dsa_switch *ds, int port, in a5psw_port_fdb_del()
617 static int a5psw_port_fdb_dump(struct dsa_switch *ds, int port, in a5psw_port_fdb_dump()
653 static int a5psw_port_vlan_filtering(struct dsa_switch *ds, int port, in a5psw_port_vlan_filtering()
739 static int a5psw_port_vlan_add(struct dsa_switch *ds, int port, in a5psw_port_vlan_add()
770 static int a5psw_port_vlan_del(struct dsa_switch *ds, int port, in a5psw_port_vlan_del()
798 static void a5psw_get_strings(struct dsa_switch *ds, int port, u32 stringset, in a5psw_get_strings()
810 static void a5psw_get_ethtool_stats(struct dsa_switch *ds, int port, in a5psw_get_ethtool_stats()
820 static int a5psw_get_sset_count(struct dsa_switch *ds, int port, int sset) in a5psw_get_sset_count()
828 static void a5psw_get_eth_mac_stats(struct dsa_switch *ds, int port, in a5psw_get_eth_mac_stats()
867 static void a5psw_get_rmon_stats(struct dsa_switch *ds, int port, in a5psw_get_rmon_stats()
890 static void a5psw_get_eth_ctrl_stats(struct dsa_switch *ds, int port, in a5psw_get_eth_ctrl_stats()
923 static int a5psw_setup(struct dsa_switch *ds) in a5psw_setup()
1209 struct dsa_switch *ds; in a5psw_probe()