Lines Matching refs:dsa_switch
142 int (*reset_cmd)(struct dsa_switch *ds);
145 int (*fdb_add_cmd)(struct dsa_switch *ds, int port,
147 int (*fdb_del_cmd)(struct dsa_switch *ds, int port,
151 bool (*rxtstamp)(struct dsa_switch *ds, int port, struct sk_buff *skb);
152 void (*txtstamp)(struct dsa_switch *ds, int port, struct sk_buff *skb);
261 struct dsa_switch *ds;
305 int sja1105_vlan_filtering(struct dsa_switch *ds, int port, bool enabled,
310 int sja1105_mdiobus_register(struct dsa_switch *ds);
311 void sja1105_mdiobus_unregister(struct dsa_switch *ds);
320 int sja1105_devlink_setup(struct dsa_switch *ds);
321 void sja1105_devlink_teardown(struct dsa_switch *ds);
322 int sja1105_devlink_info_get(struct dsa_switch *ds,
374 void sja1105_get_ethtool_stats(struct dsa_switch *ds, int port, u64 *data);
375 void sja1105_get_strings(struct dsa_switch *ds, int port,
377 int sja1105_get_sset_count(struct dsa_switch *ds, int port, int sset);
405 int sja1105et_fdb_add(struct dsa_switch *ds, int port,
407 int sja1105et_fdb_del(struct dsa_switch *ds, int port,
409 int sja1105pqrs_fdb_add(struct dsa_switch *ds, int port,
411 int sja1105pqrs_fdb_del(struct dsa_switch *ds, int port,
415 int sja1105_cls_flower_del(struct dsa_switch *ds, int port,
417 int sja1105_cls_flower_add(struct dsa_switch *ds, int port,
419 int sja1105_cls_flower_stats(struct dsa_switch *ds, int port,
421 void sja1105_flower_setup(struct dsa_switch *ds);
422 void sja1105_flower_teardown(struct dsa_switch *ds);