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);
258 struct dsa_switch *ds;
301 int sja1105_vlan_filtering(struct dsa_switch *ds, int port, bool enabled,
306 int sja1105_mdiobus_register(struct dsa_switch *ds);
307 void sja1105_mdiobus_unregister(struct dsa_switch *ds);
316 int sja1105_devlink_setup(struct dsa_switch *ds);
317 void sja1105_devlink_teardown(struct dsa_switch *ds);
318 int sja1105_devlink_info_get(struct dsa_switch *ds,
370 void sja1105_get_ethtool_stats(struct dsa_switch *ds, int port, u64 *data);
371 void sja1105_get_strings(struct dsa_switch *ds, int port,
373 int sja1105_get_sset_count(struct dsa_switch *ds, int port, int sset);
401 int sja1105et_fdb_add(struct dsa_switch *ds, int port,
403 int sja1105et_fdb_del(struct dsa_switch *ds, int port,
405 int sja1105pqrs_fdb_add(struct dsa_switch *ds, int port,
407 int sja1105pqrs_fdb_del(struct dsa_switch *ds, int port,
411 int sja1105_cls_flower_del(struct dsa_switch *ds, int port,
413 int sja1105_cls_flower_add(struct dsa_switch *ds, int port,
415 int sja1105_cls_flower_stats(struct dsa_switch *ds, int port,
417 void sja1105_flower_setup(struct dsa_switch *ds);
418 void sja1105_flower_teardown(struct dsa_switch *ds);