Lines Matching defs:ds
406 mt753x_preferred_default_local_cpu_port(struct dsa_switch *ds) in mt753x_preferred_default_local_cpu_port()
418 mt7530_pad_clk_setup(struct dsa_switch *ds, phy_interface_t interface) in mt7530_pad_clk_setup()
500 mt7531_pad_setup(struct dsa_switch *ds, phy_interface_t interface) in mt7531_pad_setup()
596 mt7530_mib_reset(struct dsa_switch *ds) in mt7530_mib_reset()
830 mt7530_get_strings(struct dsa_switch *ds, int port, u32 stringset, in mt7530_get_strings()
844 mt7530_get_ethtool_stats(struct dsa_switch *ds, int port, in mt7530_get_ethtool_stats()
865 mt7530_get_sset_count(struct dsa_switch *ds, int port, int sset) in mt7530_get_sset_count()
874 mt7530_set_ageing_time(struct dsa_switch *ds, unsigned int msecs) in mt7530_set_ageing_time()
931 static void mt7530_setup_port5(struct dsa_switch *ds, phy_interface_t interface) in mt7530_setup_port5()
1019 mt753x_cpu_port_enable(struct dsa_switch *ds, int port) in mt753x_cpu_port_enable()
1064 mt7530_port_enable(struct dsa_switch *ds, int port, in mt7530_port_enable()
1092 mt7530_port_disable(struct dsa_switch *ds, int port) in mt7530_port_disable()
1110 mt7530_port_change_mtu(struct dsa_switch *ds, int port, int new_mtu) in mt7530_port_change_mtu()
1150 mt7530_port_max_mtu(struct dsa_switch *ds, int port) in mt7530_port_max_mtu()
1156 mt7530_stp_state_set(struct dsa_switch *ds, int port, u8 state) in mt7530_stp_state_set()
1185 mt7530_port_pre_bridge_flags(struct dsa_switch *ds, int port, in mt7530_port_pre_bridge_flags()
1197 mt7530_port_bridge_flags(struct dsa_switch *ds, int port, in mt7530_port_bridge_flags()
1223 mt7530_port_bridge_join(struct dsa_switch *ds, int port, in mt7530_port_bridge_join()
1271 mt7530_port_set_vlan_unaware(struct dsa_switch *ds, int port) in mt7530_port_set_vlan_unaware()
1317 mt7530_port_set_vlan_aware(struct dsa_switch *ds, int port) in mt7530_port_set_vlan_aware()
1357 mt7530_port_bridge_leave(struct dsa_switch *ds, int port, in mt7530_port_bridge_leave()
1404 mt7530_port_fdb_add(struct dsa_switch *ds, int port, in mt7530_port_fdb_add()
1421 mt7530_port_fdb_del(struct dsa_switch *ds, int port, in mt7530_port_fdb_del()
1438 mt7530_port_fdb_dump(struct dsa_switch *ds, int port, in mt7530_port_fdb_dump()
1473 mt7530_port_mdb_add(struct dsa_switch *ds, int port, in mt7530_port_mdb_add()
1500 mt7530_port_mdb_del(struct dsa_switch *ds, int port, in mt7530_port_mdb_del()
1555 mt7530_port_vlan_filtering(struct dsa_switch *ds, int port, bool vlan_filtering, in mt7530_port_vlan_filtering()
1674 mt7530_port_vlan_add(struct dsa_switch *ds, int port, in mt7530_port_vlan_add()
1719 mt7530_port_vlan_del(struct dsa_switch *ds, int port, in mt7530_port_vlan_del()
1764 static int mt753x_port_mirror_add(struct dsa_switch *ds, int port, in mt753x_port_mirror_add()
1802 static void mt753x_port_mirror_del(struct dsa_switch *ds, int port, in mt753x_port_mirror_del()
1826 mtk_get_tag_protocol(struct dsa_switch *ds, int port, in mtk_get_tag_protocol()
2065 struct dsa_switch *ds = priv->ds; in mt7530_setup_mdio_irq() local
2157 struct dsa_switch *ds = priv->ds; in mt7530_setup_mdio() local
2192 mt7530_setup(struct dsa_switch *ds) in mt7530_setup()
2391 mt7531_setup_common(struct dsa_switch *ds) in mt7531_setup_common()
2441 mt7531_setup(struct dsa_switch *ds) in mt7531_setup()
2535 static void mt7530_mac_port_get_caps(struct dsa_switch *ds, int port, in mt7530_mac_port_get_caps()
2566 static void mt7531_mac_port_get_caps(struct dsa_switch *ds, int port, in mt7531_mac_port_get_caps()
2597 static void mt7988_mac_port_get_caps(struct dsa_switch *ds, int port, in mt7988_mac_port_get_caps()
2617 mt753x_pad_setup(struct dsa_switch *ds, const struct phylink_link_state *state) in mt753x_pad_setup()
2625 mt7530_mac_config(struct dsa_switch *ds, int port, unsigned int mode, in mt7530_mac_config()
2692 mt7988_mac_config(struct dsa_switch *ds, int port, unsigned int mode, in mt7988_mac_config()
2703 mt7531_mac_config(struct dsa_switch *ds, int port, unsigned int mode, in mt7531_mac_config()
2737 mt753x_mac_config(struct dsa_switch *ds, int port, unsigned int mode, in mt753x_mac_config()
2746 mt753x_phylink_mac_select_pcs(struct dsa_switch *ds, int port, in mt753x_phylink_mac_select_pcs()
2764 mt753x_phylink_mac_config(struct dsa_switch *ds, int port, unsigned int mode, in mt753x_phylink_mac_config()
2818 static void mt753x_phylink_mac_link_down(struct dsa_switch *ds, int port, in mt753x_phylink_mac_link_down()
2836 static void mt753x_phylink_mac_link_up(struct dsa_switch *ds, int port, in mt753x_phylink_mac_link_up()
2888 mt7531_cpu_port_config(struct dsa_switch *ds, int port) in mt7531_cpu_port_config()
2932 mt7988_cpu_port_config(struct dsa_switch *ds, int port) in mt7988_cpu_port_config()
2946 static void mt753x_phylink_get_caps(struct dsa_switch *ds, int port, in mt753x_phylink_get_caps()
3025 mt753x_setup(struct dsa_switch *ds) in mt753x_setup()
3059 static int mt753x_get_mac_eee(struct dsa_switch *ds, int port, in mt753x_get_mac_eee()
3071 static int mt753x_set_mac_eee(struct dsa_switch *ds, int port, in mt753x_set_mac_eee()
3089 static int mt7988_pad_setup(struct dsa_switch *ds, phy_interface_t interface) in mt7988_pad_setup()
3094 static int mt7988_setup(struct dsa_switch *ds) in mt7988_setup()