Lines Matching refs:dsa_switch

122 	struct dsa_switch *ds;
398 void b53_imp_vlan_setup(struct dsa_switch *ds, int cpu_port);
399 int b53_configure_vlan(struct dsa_switch *ds);
400 void b53_get_strings(struct dsa_switch *ds, int port, u32 stringset,
402 void b53_get_ethtool_stats(struct dsa_switch *ds, int port, uint64_t *data);
403 int b53_get_sset_count(struct dsa_switch *ds, int port, int sset);
404 void b53_get_ethtool_phy_stats(struct dsa_switch *ds, int port, uint64_t *data);
405 int b53_set_ageing_time(struct dsa_switch *ds, unsigned int msecs);
406 int b53_br_join(struct dsa_switch *ds, int port, struct dsa_bridge bridge,
408 void b53_br_leave(struct dsa_switch *ds, int port, struct dsa_bridge bridge);
409 void b53_br_set_stp_state(struct dsa_switch *ds, int port, u8 state);
410 void b53_br_fast_age(struct dsa_switch *ds, int port);
411 int b53_br_flags_pre(struct dsa_switch *ds, int port,
414 int b53_br_flags(struct dsa_switch *ds, int port,
417 int b53_setup_devlink_resources(struct dsa_switch *ds);
418 void b53_port_event(struct dsa_switch *ds, int port);
419 int b53_vlan_filtering(struct dsa_switch *ds, int port, bool vlan_filtering,
421 int b53_vlan_add(struct dsa_switch *ds, int port,
424 int b53_vlan_del(struct dsa_switch *ds, int port,
426 int b53_fdb_add(struct dsa_switch *ds, int port,
429 int b53_fdb_del(struct dsa_switch *ds, int port,
432 int b53_fdb_dump(struct dsa_switch *ds, int port,
434 int b53_mdb_add(struct dsa_switch *ds, int port,
437 int b53_mdb_del(struct dsa_switch *ds, int port,
440 int b53_mirror_add(struct dsa_switch *ds, int port,
443 enum dsa_tag_protocol b53_get_tag_protocol(struct dsa_switch *ds, int port,
445 void b53_mirror_del(struct dsa_switch *ds, int port,
447 int b53_setup_port(struct dsa_switch *ds, int port);
448 int b53_enable_port(struct dsa_switch *ds, int port, struct phy_device *phy);
449 void b53_disable_port(struct dsa_switch *ds, int port);
450 void b53_brcm_hdr_setup(struct dsa_switch *ds, int port);
451 int b53_eee_init(struct dsa_switch *ds, int port, struct phy_device *phy);
452 bool b53_support_eee(struct dsa_switch *ds, int port);
453 int b53_set_mac_eee(struct dsa_switch *ds, int port, struct ethtool_keee *e);