Lines Matching defs:ds
50 static int dsa_loop_setup_devlink_resources(struct dsa_switch *ds) in dsa_loop_setup_devlink_resources()
78 static enum dsa_tag_protocol dsa_loop_get_protocol(struct dsa_switch *ds, in dsa_loop_get_protocol()
87 static int dsa_loop_setup(struct dsa_switch *ds) in dsa_loop_setup()
101 static void dsa_loop_teardown(struct dsa_switch *ds) in dsa_loop_teardown()
106 static int dsa_loop_get_sset_count(struct dsa_switch *ds, int port, int sset) in dsa_loop_get_sset_count()
114 static void dsa_loop_get_strings(struct dsa_switch *ds, int port, in dsa_loop_get_strings()
128 static void dsa_loop_get_ethtool_stats(struct dsa_switch *ds, int port, in dsa_loop_get_ethtool_stats()
138 static int dsa_loop_phy_read(struct dsa_switch *ds, int port, int regnum) in dsa_loop_phy_read()
153 static int dsa_loop_phy_write(struct dsa_switch *ds, int port, in dsa_loop_phy_write()
169 static int dsa_loop_port_bridge_join(struct dsa_switch *ds, int port, in dsa_loop_port_bridge_join()
180 static void dsa_loop_port_bridge_leave(struct dsa_switch *ds, int port, in dsa_loop_port_bridge_leave()
187 static void dsa_loop_port_stp_state_set(struct dsa_switch *ds, int port, in dsa_loop_port_stp_state_set()
194 static int dsa_loop_port_vlan_filtering(struct dsa_switch *ds, int port, in dsa_loop_port_vlan_filtering()
204 static int dsa_loop_port_vlan_add(struct dsa_switch *ds, int port, in dsa_loop_port_vlan_add()
237 static int dsa_loop_port_vlan_del(struct dsa_switch *ds, int port, in dsa_loop_port_vlan_del()
265 static int dsa_loop_port_change_mtu(struct dsa_switch *ds, int port, in dsa_loop_port_change_mtu()
275 static int dsa_loop_port_max_mtu(struct dsa_switch *ds, int port) in dsa_loop_port_max_mtu()
304 struct dsa_switch *ds; in dsa_loop_drv_probe() local
344 struct dsa_switch *ds = dev_get_drvdata(&mdiodev->dev); in dsa_loop_drv_remove() local
358 struct dsa_switch *ds = dev_get_drvdata(&mdiodev->dev); in dsa_loop_drv_shutdown() local