Lines Matching refs:dsa_switch
140 int (*reset_cmd)(struct dsa_switch *ds);
143 int (*fdb_add_cmd)(struct dsa_switch *ds, int port,
145 int (*fdb_del_cmd)(struct dsa_switch *ds, int port,
149 bool (*rxtstamp)(struct dsa_switch *ds, int port, struct sk_buff *skb);
150 void (*txtstamp)(struct dsa_switch *ds, int port, struct sk_buff *skb);
256 struct dsa_switch *ds;
299 int sja1105_vlan_filtering(struct dsa_switch *ds, int port, bool enabled,
304 int sja1105_mdiobus_register(struct dsa_switch *ds);
305 void sja1105_mdiobus_unregister(struct dsa_switch *ds);
312 int sja1105_devlink_setup(struct dsa_switch *ds);
313 void sja1105_devlink_teardown(struct dsa_switch *ds);
314 int sja1105_devlink_info_get(struct dsa_switch *ds,
366 void sja1105_get_ethtool_stats(struct dsa_switch *ds, int port, u64 *data);
367 void sja1105_get_strings(struct dsa_switch *ds, int port,
369 int sja1105_get_sset_count(struct dsa_switch *ds, int port, int sset);
397 int sja1105et_fdb_add(struct dsa_switch *ds, int port,
399 int sja1105et_fdb_del(struct dsa_switch *ds, int port,
401 int sja1105pqrs_fdb_add(struct dsa_switch *ds, int port,
403 int sja1105pqrs_fdb_del(struct dsa_switch *ds, int port,
407 int sja1105_cls_flower_del(struct dsa_switch *ds, int port,
409 int sja1105_cls_flower_add(struct dsa_switch *ds, int port,
411 int sja1105_cls_flower_stats(struct dsa_switch *ds, int port,
413 void sja1105_flower_setup(struct dsa_switch *ds);
414 void sja1105_flower_teardown(struct dsa_switch *ds);