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