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);
255 struct dsa_switch *ds;
297 int sja1105_vlan_filtering(struct dsa_switch *ds, int port, bool enabled,
302 int sja1105_mdiobus_register(struct dsa_switch *ds);
303 void sja1105_mdiobus_unregister(struct dsa_switch *ds);
310 int sja1105_devlink_setup(struct dsa_switch *ds);
311 void sja1105_devlink_teardown(struct dsa_switch *ds);
312 int sja1105_devlink_info_get(struct dsa_switch *ds,
364 void sja1105_get_ethtool_stats(struct dsa_switch *ds, int port, u64 *data);
365 void sja1105_get_strings(struct dsa_switch *ds, int port,
367 int sja1105_get_sset_count(struct dsa_switch *ds, int port, int sset);
395 int sja1105et_fdb_add(struct dsa_switch *ds, int port,
397 int sja1105et_fdb_del(struct dsa_switch *ds, int port,
399 int sja1105pqrs_fdb_add(struct dsa_switch *ds, int port,
401 int sja1105pqrs_fdb_del(struct dsa_switch *ds, int port,
405 int sja1105_cls_flower_del(struct dsa_switch *ds, int port,
407 int sja1105_cls_flower_add(struct dsa_switch *ds, int port,
409 int sja1105_cls_flower_stats(struct dsa_switch *ds, int port,
411 void sja1105_flower_setup(struct dsa_switch *ds);
412 void sja1105_flower_teardown(struct dsa_switch *ds);