Lines Matching refs:dsa_switch
119 int (*reset_cmd)(struct dsa_switch *ds);
122 int (*fdb_add_cmd)(struct dsa_switch *ds, int port,
124 int (*fdb_del_cmd)(struct dsa_switch *ds, int port,
128 bool (*rxtstamp)(struct dsa_switch *ds, int port, struct sk_buff *skb);
129 void (*txtstamp)(struct dsa_switch *ds, int port, struct sk_buff *skb);
236 struct dsa_switch *ds;
276 int sja1105_vlan_filtering(struct dsa_switch *ds, int port, bool enabled,
281 int sja1105_mdiobus_register(struct dsa_switch *ds);
282 void sja1105_mdiobus_unregister(struct dsa_switch *ds);
289 int sja1105_devlink_setup(struct dsa_switch *ds);
290 void sja1105_devlink_teardown(struct dsa_switch *ds);
291 int sja1105_devlink_info_get(struct dsa_switch *ds,
343 void sja1105_get_ethtool_stats(struct dsa_switch *ds, int port, u64 *data);
344 void sja1105_get_strings(struct dsa_switch *ds, int port,
346 int sja1105_get_sset_count(struct dsa_switch *ds, int port, int sset);
374 int sja1105et_fdb_add(struct dsa_switch *ds, int port,
376 int sja1105et_fdb_del(struct dsa_switch *ds, int port,
378 int sja1105pqrs_fdb_add(struct dsa_switch *ds, int port,
380 int sja1105pqrs_fdb_del(struct dsa_switch *ds, int port,
384 int sja1105_cls_flower_del(struct dsa_switch *ds, int port,
386 int sja1105_cls_flower_add(struct dsa_switch *ds, int port,
388 int sja1105_cls_flower_stats(struct dsa_switch *ds, int port,
390 void sja1105_flower_setup(struct dsa_switch *ds);
391 void sja1105_flower_teardown(struct dsa_switch *ds);