Lines Matching refs:dsa_switch
104 struct dsa_switch *ds;
320 void b53_imp_vlan_setup(struct dsa_switch *ds, int cpu_port);
321 int b53_configure_vlan(struct dsa_switch *ds);
322 void b53_get_strings(struct dsa_switch *ds, int port, u32 stringset,
324 void b53_get_ethtool_stats(struct dsa_switch *ds, int port, uint64_t *data);
325 int b53_get_sset_count(struct dsa_switch *ds, int port, int sset);
326 void b53_get_ethtool_phy_stats(struct dsa_switch *ds, int port, uint64_t *data);
327 int b53_br_join(struct dsa_switch *ds, int port, struct net_device *bridge);
328 void b53_br_leave(struct dsa_switch *ds, int port, struct net_device *bridge);
329 void b53_br_set_stp_state(struct dsa_switch *ds, int port, u8 state);
330 void b53_br_fast_age(struct dsa_switch *ds, int port);
331 int b53_br_flags_pre(struct dsa_switch *ds, int port,
334 int b53_br_flags(struct dsa_switch *ds, int port,
337 int b53_setup_devlink_resources(struct dsa_switch *ds);
338 void b53_port_event(struct dsa_switch *ds, int port);
339 void b53_phylink_validate(struct dsa_switch *ds, int port,
342 int b53_phylink_mac_link_state(struct dsa_switch *ds, int port,
344 void b53_phylink_mac_config(struct dsa_switch *ds, int port,
347 void b53_phylink_mac_an_restart(struct dsa_switch *ds, int port);
348 void b53_phylink_mac_link_down(struct dsa_switch *ds, int port,
351 void b53_phylink_mac_link_up(struct dsa_switch *ds, int port,
357 int b53_vlan_filtering(struct dsa_switch *ds, int port, bool vlan_filtering,
359 int b53_vlan_add(struct dsa_switch *ds, int port,
362 int b53_vlan_del(struct dsa_switch *ds, int port,
364 int b53_fdb_add(struct dsa_switch *ds, int port,
366 int b53_fdb_del(struct dsa_switch *ds, int port,
368 int b53_fdb_dump(struct dsa_switch *ds, int port,
370 int b53_mdb_add(struct dsa_switch *ds, int port,
372 int b53_mdb_del(struct dsa_switch *ds, int port,
374 int b53_mirror_add(struct dsa_switch *ds, int port,
376 enum dsa_tag_protocol b53_get_tag_protocol(struct dsa_switch *ds, int port,
378 void b53_mirror_del(struct dsa_switch *ds, int port,
380 int b53_enable_port(struct dsa_switch *ds, int port, struct phy_device *phy);
381 void b53_disable_port(struct dsa_switch *ds, int port);
382 void b53_brcm_hdr_setup(struct dsa_switch *ds, int port);
383 void b53_eee_enable_set(struct dsa_switch *ds, int port, bool enable);
384 int b53_eee_init(struct dsa_switch *ds, int port, struct phy_device *phy);
385 int b53_get_mac_eee(struct dsa_switch *ds, int port, struct ethtool_eee *e);
386 int b53_set_mac_eee(struct dsa_switch *ds, int port, struct ethtool_eee *e);