drivers/net/dsa/b53/b53_common.c
1043
static int b53_phy_read16(struct dsa_switch *ds, int addr, int reg)
drivers/net/dsa/b53/b53_common.c
1058
static int b53_phy_write16(struct dsa_switch *ds, int addr, int reg, u16 val)
drivers/net/dsa/b53/b53_common.c
1128
static struct phy_device *b53_get_phy_device(struct dsa_switch *ds, int port)
drivers/net/dsa/b53/b53_common.c
1141
void b53_get_strings(struct dsa_switch *ds, int port, u32 stringset,
drivers/net/dsa/b53/b53_common.c
1163
void b53_get_ethtool_stats(struct dsa_switch *ds, int port, uint64_t *data)
drivers/net/dsa/b53/b53_common.c
1196
void b53_get_ethtool_phy_stats(struct dsa_switch *ds, int port, uint64_t *data)
drivers/net/dsa/b53/b53_common.c
1208
int b53_get_sset_count(struct dsa_switch *ds, int port, int sset)
drivers/net/dsa/b53/b53_common.c
1248
int b53_setup_devlink_resources(struct dsa_switch *ds)
drivers/net/dsa/b53/b53_common.c
1276
static int b53_setup(struct dsa_switch *ds)
drivers/net/dsa/b53/b53_common.c
1340
static void b53_teardown(struct dsa_switch *ds)
drivers/net/dsa/b53/b53_common.c
1437
static void b53_adjust_63xx_rgmii(struct dsa_switch *ds, int port,
drivers/net/dsa/b53/b53_common.c
1457
static void b53_adjust_531x5_rgmii(struct dsa_switch *ds, int port,
drivers/net/dsa/b53/b53_common.c
1502
static void b53_adjust_5325_mii(struct dsa_switch *ds, int port)
drivers/net/dsa/b53/b53_common.c
1525
void b53_port_event(struct dsa_switch *ds, int port)
drivers/net/dsa/b53/b53_common.c
1537
static void b53_phylink_get_caps(struct dsa_switch *ds, int port,
drivers/net/dsa/b53/b53_common.c
1598
struct dsa_switch *ds = dp->ds;
drivers/net/dsa/b53/b53_common.c
1647
struct dsa_switch *ds = dp->ds;
drivers/net/dsa/b53/b53_common.c
1681
int b53_vlan_filtering(struct dsa_switch *ds, int port, bool vlan_filtering,
drivers/net/dsa/b53/b53_common.c
1695
static int b53_vlan_prepare(struct dsa_switch *ds, int port,
drivers/net/dsa/b53/b53_common.c
1716
int b53_vlan_add(struct dsa_switch *ds, int port,
drivers/net/dsa/b53/b53_common.c
1770
int b53_vlan_del(struct dsa_switch *ds, int port,
drivers/net/dsa/b53/b53_common.c
2029
int b53_fdb_add(struct dsa_switch *ds, int port,
drivers/net/dsa/b53/b53_common.c
2044
int b53_fdb_del(struct dsa_switch *ds, int port,
drivers/net/dsa/b53/b53_common.c
2182
int b53_fdb_dump(struct dsa_switch *ds, int port,
drivers/net/dsa/b53/b53_common.c
2226
int b53_mdb_add(struct dsa_switch *ds, int port,
drivers/net/dsa/b53/b53_common.c
2247
int b53_mdb_del(struct dsa_switch *ds, int port,
drivers/net/dsa/b53/b53_common.c
2264
int b53_br_join(struct dsa_switch *ds, int port, struct dsa_bridge bridge,
drivers/net/dsa/b53/b53_common.c
2331
void b53_br_leave(struct dsa_switch *ds, int port, struct dsa_bridge bridge)
drivers/net/dsa/b53/b53_common.c
2382
void b53_br_set_stp_state(struct dsa_switch *ds, int port, u8 state)
drivers/net/dsa/b53/b53_common.c
2416
void b53_br_fast_age(struct dsa_switch *ds, int port)
drivers/net/dsa/b53/b53_common.c
2425
int b53_br_flags_pre(struct dsa_switch *ds, int port,
drivers/net/dsa/b53/b53_common.c
2442
int b53_br_flags(struct dsa_switch *ds, int port,
drivers/net/dsa/b53/b53_common.c
2463
static bool b53_possible_cpu_port(struct dsa_switch *ds, int port)
drivers/net/dsa/b53/b53_common.c
2478
static bool b53_can_enable_brcm_tags(struct dsa_switch *ds, int port,
drivers/net/dsa/b53/b53_common.c
2504
enum dsa_tag_protocol b53_get_tag_protocol(struct dsa_switch *ds, int port,
drivers/net/dsa/b53/b53_common.c
2537
int b53_mirror_add(struct dsa_switch *ds, int port,
drivers/net/dsa/b53/b53_common.c
2563
void b53_mirror_del(struct dsa_switch *ds, int port,
drivers/net/dsa/b53/b53_common.c
2604
int b53_eee_init(struct dsa_switch *ds, int port, struct phy_device *phy)
drivers/net/dsa/b53/b53_common.c
2621
bool b53_support_eee(struct dsa_switch *ds, int port)
drivers/net/dsa/b53/b53_common.c
2629
int b53_set_mac_eee(struct dsa_switch *ds, int port, struct ethtool_keee *e)
drivers/net/dsa/b53/b53_common.c
2641
static int b53_change_mtu(struct dsa_switch *ds, int port, int mtu)
drivers/net/dsa/b53/b53_common.c
2659
static int b53_get_max_mtu(struct dsa_switch *ds, int port)
drivers/net/dsa/b53/b53_common.c
2669
int b53_set_ageing_time(struct dsa_switch *ds, unsigned int msecs)
drivers/net/dsa/b53/b53_common.c
3187
struct dsa_switch *ds;
drivers/net/dsa/b53/b53_common.c
540
void b53_imp_vlan_setup(struct dsa_switch *ds, int cpu_port)
drivers/net/dsa/b53/b53_common.c
654
static void b53_eee_enable_set(struct dsa_switch *ds, int port, bool enable)
drivers/net/dsa/b53/b53_common.c
667
int b53_setup_port(struct dsa_switch *ds, int port)
drivers/net/dsa/b53/b53_common.c
700
int b53_enable_port(struct dsa_switch *ds, int port, struct phy_device *phy)
drivers/net/dsa/b53/b53_common.c
743
void b53_disable_port(struct dsa_switch *ds, int port)
drivers/net/dsa/b53/b53_common.c
761
void b53_brcm_hdr_setup(struct dsa_switch *ds, int port)
drivers/net/dsa/b53/b53_common.c
878
static bool b53_vlan_port_needs_forced_tagged(struct dsa_switch *ds, int port)
drivers/net/dsa/b53/b53_common.c
885
static bool b53_vlan_port_may_join_untagged(struct dsa_switch *ds, int port)
drivers/net/dsa/b53/b53_common.c
901
int b53_configure_vlan(struct dsa_switch *ds)
drivers/net/dsa/b53/b53_priv.h
133
struct dsa_switch *ds;
drivers/net/dsa/b53/b53_priv.h
504
void b53_imp_vlan_setup(struct dsa_switch *ds, int cpu_port);
drivers/net/dsa/b53/b53_priv.h
505
int b53_configure_vlan(struct dsa_switch *ds);
drivers/net/dsa/b53/b53_priv.h
506
void b53_get_strings(struct dsa_switch *ds, int port, u32 stringset,
drivers/net/dsa/b53/b53_priv.h
508
void b53_get_ethtool_stats(struct dsa_switch *ds, int port, uint64_t *data);
drivers/net/dsa/b53/b53_priv.h
509
int b53_get_sset_count(struct dsa_switch *ds, int port, int sset);
drivers/net/dsa/b53/b53_priv.h
510
void b53_get_ethtool_phy_stats(struct dsa_switch *ds, int port, uint64_t *data);
drivers/net/dsa/b53/b53_priv.h
511
int b53_set_ageing_time(struct dsa_switch *ds, unsigned int msecs);
drivers/net/dsa/b53/b53_priv.h
512
int b53_br_join(struct dsa_switch *ds, int port, struct dsa_bridge bridge,
drivers/net/dsa/b53/b53_priv.h
514
void b53_br_leave(struct dsa_switch *ds, int port, struct dsa_bridge bridge);
drivers/net/dsa/b53/b53_priv.h
515
void b53_br_set_stp_state(struct dsa_switch *ds, int port, u8 state);
drivers/net/dsa/b53/b53_priv.h
516
void b53_br_fast_age(struct dsa_switch *ds, int port);
drivers/net/dsa/b53/b53_priv.h
517
int b53_br_flags_pre(struct dsa_switch *ds, int port,
drivers/net/dsa/b53/b53_priv.h
520
int b53_br_flags(struct dsa_switch *ds, int port,
drivers/net/dsa/b53/b53_priv.h
523
int b53_setup_devlink_resources(struct dsa_switch *ds);
drivers/net/dsa/b53/b53_priv.h
524
void b53_port_event(struct dsa_switch *ds, int port);
drivers/net/dsa/b53/b53_priv.h
525
int b53_vlan_filtering(struct dsa_switch *ds, int port, bool vlan_filtering,
drivers/net/dsa/b53/b53_priv.h
527
int b53_vlan_add(struct dsa_switch *ds, int port,
drivers/net/dsa/b53/b53_priv.h
530
int b53_vlan_del(struct dsa_switch *ds, int port,
drivers/net/dsa/b53/b53_priv.h
532
int b53_fdb_add(struct dsa_switch *ds, int port,
drivers/net/dsa/b53/b53_priv.h
535
int b53_fdb_del(struct dsa_switch *ds, int port,
drivers/net/dsa/b53/b53_priv.h
538
int b53_fdb_dump(struct dsa_switch *ds, int port,
drivers/net/dsa/b53/b53_priv.h
540
int b53_mdb_add(struct dsa_switch *ds, int port,
drivers/net/dsa/b53/b53_priv.h
543
int b53_mdb_del(struct dsa_switch *ds, int port,
drivers/net/dsa/b53/b53_priv.h
546
int b53_mirror_add(struct dsa_switch *ds, int port,
drivers/net/dsa/b53/b53_priv.h
549
enum dsa_tag_protocol b53_get_tag_protocol(struct dsa_switch *ds, int port,
drivers/net/dsa/b53/b53_priv.h
551
void b53_mirror_del(struct dsa_switch *ds, int port,
drivers/net/dsa/b53/b53_priv.h
553
int b53_setup_port(struct dsa_switch *ds, int port);
drivers/net/dsa/b53/b53_priv.h
554
int b53_enable_port(struct dsa_switch *ds, int port, struct phy_device *phy);
drivers/net/dsa/b53/b53_priv.h
555
void b53_disable_port(struct dsa_switch *ds, int port);
drivers/net/dsa/b53/b53_priv.h
556
void b53_brcm_hdr_setup(struct dsa_switch *ds, int port);
drivers/net/dsa/b53/b53_priv.h
557
int b53_eee_init(struct dsa_switch *ds, int port, struct phy_device *phy);
drivers/net/dsa/b53/b53_priv.h
558
bool b53_support_eee(struct dsa_switch *ds, int port);
drivers/net/dsa/b53/b53_priv.h
559
int b53_set_mac_eee(struct dsa_switch *ds, int port, struct ethtool_keee *e);
drivers/net/dsa/bcm_sf2.c
1004
static void bcm_sf2_sw_get_wol(struct dsa_switch *ds, int port,
drivers/net/dsa/bcm_sf2.c
1028
static int bcm_sf2_sw_set_wol(struct dsa_switch *ds, int port,
drivers/net/dsa/bcm_sf2.c
1058
static int bcm_sf2_sw_setup(struct dsa_switch *ds)
drivers/net/dsa/bcm_sf2.c
1080
static void bcm_sf2_sw_teardown(struct dsa_switch *ds)
drivers/net/dsa/bcm_sf2.c
116
static unsigned int bcm_sf2_num_active_ports(struct dsa_switch *ds)
drivers/net/dsa/bcm_sf2.c
1184
static void bcm_sf2_sw_get_strings(struct dsa_switch *ds, int port,
drivers/net/dsa/bcm_sf2.c
1194
static void bcm_sf2_sw_get_ethtool_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/bcm_sf2.c
1203
static int bcm_sf2_sw_get_sset_count(struct dsa_switch *ds, int port,
drivers/net/dsa/bcm_sf2.c
131
static void bcm_sf2_recalc_clock(struct dsa_switch *ds)
drivers/net/dsa/bcm_sf2.c
1376
struct dsa_switch *ds;
drivers/net/dsa/bcm_sf2.c
158
static void bcm_sf2_imp_setup(struct dsa_switch *ds, int port)
drivers/net/dsa/bcm_sf2.c
202
static void bcm_sf2_gphy_enable_set(struct dsa_switch *ds, bool enable)
drivers/net/dsa/bcm_sf2.c
280
static int bcm_sf2_port_setup(struct dsa_switch *ds, int port,
drivers/net/dsa/bcm_sf2.c
349
static void bcm_sf2_port_disable(struct dsa_switch *ds, int port)
drivers/net/dsa/bcm_sf2.c
442
struct dsa_switch *ds = dev_id;
drivers/net/dsa/bcm_sf2.c
454
struct dsa_switch *ds = dev_id;
drivers/net/dsa/bcm_sf2.c
607
static int bcm_sf2_mdio_register(struct dsa_switch *ds)
drivers/net/dsa/bcm_sf2.c
708
static u32 bcm_sf2_sw_get_phy_flags(struct dsa_switch *ds, int port)
drivers/net/dsa/bcm_sf2.c
724
static void bcm_sf2_sw_get_caps(struct dsa_switch *ds, int port,
drivers/net/dsa/bcm_sf2.c
794
static void bcm_sf2_sw_mac_link_set(struct dsa_switch *ds, int port,
drivers/net/dsa/bcm_sf2.c
906
static void bcm_sf2_sw_fixed_state(struct dsa_switch *ds, int port,
drivers/net/dsa/bcm_sf2.c
936
static void bcm_sf2_enable_acb(struct dsa_switch *ds)
drivers/net/dsa/bcm_sf2.c
950
static int bcm_sf2_sw_suspend(struct dsa_switch *ds)
drivers/net/dsa/bcm_sf2.c
972
static int bcm_sf2_sw_resume(struct dsa_switch *ds)
drivers/net/dsa/bcm_sf2.h
121
static inline struct bcm_sf2_priv *bcm_sf2_to_priv(struct dsa_switch *ds)
drivers/net/dsa/bcm_sf2.h
224
int bcm_sf2_get_rxnfc(struct dsa_switch *ds, int port,
drivers/net/dsa/bcm_sf2.h
226
int bcm_sf2_set_rxnfc(struct dsa_switch *ds, int port,
drivers/net/dsa/bcm_sf2.h
229
void bcm_sf2_cfp_exit(struct dsa_switch *ds);
drivers/net/dsa/bcm_sf2.h
230
int bcm_sf2_cfp_resume(struct dsa_switch *ds);
drivers/net/dsa/bcm_sf2.h
231
void bcm_sf2_cfp_get_strings(struct dsa_switch *ds, int port, u32 stringset,
drivers/net/dsa/bcm_sf2.h
233
void bcm_sf2_cfp_get_ethtool_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/bcm_sf2.h
235
int bcm_sf2_cfp_get_sset_count(struct dsa_switch *ds, int port, int sset);
drivers/net/dsa/bcm_sf2_cfp.c
1102
int bcm_sf2_get_rxnfc(struct dsa_switch *ds, int port,
drivers/net/dsa/bcm_sf2_cfp.c
1145
int bcm_sf2_set_rxnfc(struct dsa_switch *ds, int port,
drivers/net/dsa/bcm_sf2_cfp.c
1212
void bcm_sf2_cfp_exit(struct dsa_switch *ds)
drivers/net/dsa/bcm_sf2_cfp.c
1224
int bcm_sf2_cfp_resume(struct dsa_switch *ds)
drivers/net/dsa/bcm_sf2_cfp.c
1282
void bcm_sf2_cfp_get_strings(struct dsa_switch *ds, int port, u32 stringset,
drivers/net/dsa/bcm_sf2_cfp.c
1297
void bcm_sf2_cfp_get_ethtool_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/bcm_sf2_cfp.c
1329
int bcm_sf2_cfp_get_sset_count(struct dsa_switch *ds, int port, int sset)
drivers/net/dsa/bcm_sf2_cfp.c
846
static int bcm_sf2_cfp_rule_insert(struct dsa_switch *ds, int port,
drivers/net/dsa/bcm_sf2_cfp.c
926
static int bcm_sf2_cfp_rule_set(struct dsa_switch *ds, int port,
drivers/net/dsa/dsa_loop.c
125
static enum dsa_tag_protocol dsa_loop_get_protocol(struct dsa_switch *ds,
drivers/net/dsa/dsa_loop.c
134
static int dsa_loop_setup(struct dsa_switch *ds)
drivers/net/dsa/dsa_loop.c
148
static void dsa_loop_teardown(struct dsa_switch *ds)
drivers/net/dsa/dsa_loop.c
153
static int dsa_loop_get_sset_count(struct dsa_switch *ds, int port, int sset)
drivers/net/dsa/dsa_loop.c
161
static void dsa_loop_get_strings(struct dsa_switch *ds, int port,
drivers/net/dsa/dsa_loop.c
174
static void dsa_loop_get_ethtool_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/dsa_loop.c
184
static int dsa_loop_phy_read(struct dsa_switch *ds, int port, int regnum)
drivers/net/dsa/dsa_loop.c
199
static int dsa_loop_phy_write(struct dsa_switch *ds, int port,
drivers/net/dsa/dsa_loop.c
215
static int dsa_loop_port_bridge_join(struct dsa_switch *ds, int port,
drivers/net/dsa/dsa_loop.c
226
static void dsa_loop_port_bridge_leave(struct dsa_switch *ds, int port,
drivers/net/dsa/dsa_loop.c
233
static void dsa_loop_port_stp_state_set(struct dsa_switch *ds, int port,
drivers/net/dsa/dsa_loop.c
240
static int dsa_loop_port_vlan_filtering(struct dsa_switch *ds, int port,
drivers/net/dsa/dsa_loop.c
250
static int dsa_loop_port_vlan_add(struct dsa_switch *ds, int port,
drivers/net/dsa/dsa_loop.c
283
static int dsa_loop_port_vlan_del(struct dsa_switch *ds, int port,
drivers/net/dsa/dsa_loop.c
311
static int dsa_loop_port_change_mtu(struct dsa_switch *ds, int port,
drivers/net/dsa/dsa_loop.c
321
static int dsa_loop_port_max_mtu(struct dsa_switch *ds, int port)
drivers/net/dsa/dsa_loop.c
326
static void dsa_loop_phylink_get_caps(struct dsa_switch *dsa, int port,
drivers/net/dsa/dsa_loop.c
359
struct dsa_switch *ds;
drivers/net/dsa/dsa_loop.c
399
struct dsa_switch *ds = dev_get_drvdata(&mdiodev->dev);
drivers/net/dsa/dsa_loop.c
413
struct dsa_switch *ds = dev_get_drvdata(&mdiodev->dev);
drivers/net/dsa/dsa_loop.c
97
static int dsa_loop_setup_devlink_resources(struct dsa_switch *ds)
drivers/net/dsa/hirschmann/hellcreek.c
1169
static int hellcreek_devlink_info_get(struct dsa_switch *ds,
drivers/net/dsa/hirschmann/hellcreek.c
1210
static int hellcreek_setup_devlink_resources(struct dsa_switch *ds)
drivers/net/dsa/hirschmann/hellcreek.c
1264
struct dsa_switch *ds = dsa_devlink_to_ds(dl);
drivers/net/dsa/hirschmann/hellcreek.c
1291
struct dsa_switch *ds = dsa_devlink_to_ds(dl);
drivers/net/dsa/hirschmann/hellcreek.c
1335
static int hellcreek_setup_devlink_regions(struct dsa_switch *ds)
drivers/net/dsa/hirschmann/hellcreek.c
1373
static void hellcreek_teardown_devlink_regions(struct dsa_switch *ds)
drivers/net/dsa/hirschmann/hellcreek.c
1381
static int hellcreek_setup(struct dsa_switch *ds)
drivers/net/dsa/hirschmann/hellcreek.c
1458
static void hellcreek_teardown(struct dsa_switch *ds)
drivers/net/dsa/hirschmann/hellcreek.c
1464
static void hellcreek_phylink_get_caps(struct dsa_switch *ds, int port,
drivers/net/dsa/hirschmann/hellcreek.c
1490
hellcreek_port_prechangeupper(struct dsa_switch *ds, int port,
drivers/net/dsa/hirschmann/hellcreek.c
1738
static int hellcreek_port_set_schedule(struct dsa_switch *ds, int port,
drivers/net/dsa/hirschmann/hellcreek.c
1798
static int hellcreek_port_del_schedule(struct dsa_switch *ds, int port)
drivers/net/dsa/hirschmann/hellcreek.c
1872
static int hellcreek_port_setup_tc(struct dsa_switch *ds, int port,
drivers/net/dsa/hirschmann/hellcreek.c
240
static enum dsa_tag_protocol hellcreek_get_tag_protocol(struct dsa_switch *ds,
drivers/net/dsa/hirschmann/hellcreek.c
247
static int hellcreek_port_enable(struct dsa_switch *ds, int port,
drivers/net/dsa/hirschmann/hellcreek.c
271
static void hellcreek_port_disable(struct dsa_switch *ds, int port)
drivers/net/dsa/hirschmann/hellcreek.c
292
static void hellcreek_get_strings(struct dsa_switch *ds, int port,
drivers/net/dsa/hirschmann/hellcreek.c
301
static int hellcreek_get_sset_count(struct dsa_switch *ds, int port, int sset)
drivers/net/dsa/hirschmann/hellcreek.c
309
static void hellcreek_get_ethtool_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/hirschmann/hellcreek.c
348
static int hellcreek_vlan_prepare(struct dsa_switch *ds, int port,
drivers/net/dsa/hirschmann/hellcreek.c
455
static int hellcreek_vlan_add(struct dsa_switch *ds, int port,
drivers/net/dsa/hirschmann/hellcreek.c
477
static int hellcreek_vlan_del(struct dsa_switch *ds, int port,
drivers/net/dsa/hirschmann/hellcreek.c
489
static void hellcreek_port_stp_state_set(struct dsa_switch *ds, int port,
drivers/net/dsa/hirschmann/hellcreek.c
584
static void hellcreek_setup_vlan_membership(struct dsa_switch *ds, int port,
drivers/net/dsa/hirschmann/hellcreek.c
654
static int hellcreek_pre_bridge_flags(struct dsa_switch *ds, int port,
drivers/net/dsa/hirschmann/hellcreek.c
664
static int hellcreek_bridge_flags(struct dsa_switch *ds, int port,
drivers/net/dsa/hirschmann/hellcreek.c
681
static int hellcreek_port_bridge_join(struct dsa_switch *ds, int port,
drivers/net/dsa/hirschmann/hellcreek.c
700
static void hellcreek_port_bridge_leave(struct dsa_switch *ds, int port,
drivers/net/dsa/hirschmann/hellcreek.c
835
static int hellcreek_fdb_add(struct dsa_switch *ds, int port,
drivers/net/dsa/hirschmann/hellcreek.c
881
static int hellcreek_fdb_del(struct dsa_switch *ds, int port,
drivers/net/dsa/hirschmann/hellcreek.c
922
static int hellcreek_fdb_dump(struct dsa_switch *ds, int port,
drivers/net/dsa/hirschmann/hellcreek.c
969
static int hellcreek_vlan_filtering(struct dsa_switch *ds, int port,
drivers/net/dsa/hirschmann/hellcreek.h
280
struct dsa_switch *ds;
drivers/net/dsa/hirschmann/hellcreek_hwtstamp.c
112
int hellcreek_port_hwtstamp_set(struct dsa_switch *ds, int port,
drivers/net/dsa/hirschmann/hellcreek_hwtstamp.c
132
int hellcreek_port_hwtstamp_get(struct dsa_switch *ds, int port,
drivers/net/dsa/hirschmann/hellcreek_hwtstamp.c
18
int hellcreek_get_ts_info(struct dsa_switch *ds, int port,
drivers/net/dsa/hirschmann/hellcreek_hwtstamp.c
339
struct dsa_switch *ds = hellcreek->ds;
drivers/net/dsa/hirschmann/hellcreek_hwtstamp.c
359
void hellcreek_port_txtstamp(struct dsa_switch *ds, int port,
drivers/net/dsa/hirschmann/hellcreek_hwtstamp.c
402
bool hellcreek_port_rxtstamp(struct dsa_switch *ds, int port,
drivers/net/dsa/hirschmann/hellcreek_hwtstamp.c
444
struct dsa_switch *ds = hellcreek->ds;
drivers/net/dsa/hirschmann/hellcreek_hwtstamp.h
40
int hellcreek_port_hwtstamp_set(struct dsa_switch *ds, int port,
drivers/net/dsa/hirschmann/hellcreek_hwtstamp.h
43
int hellcreek_port_hwtstamp_get(struct dsa_switch *ds, int port,
drivers/net/dsa/hirschmann/hellcreek_hwtstamp.h
46
bool hellcreek_port_rxtstamp(struct dsa_switch *ds, int port,
drivers/net/dsa/hirschmann/hellcreek_hwtstamp.h
48
void hellcreek_port_txtstamp(struct dsa_switch *ds, int port,
drivers/net/dsa/hirschmann/hellcreek_hwtstamp.h
51
int hellcreek_get_ts_info(struct dsa_switch *ds, int port,
drivers/net/dsa/ks8995.c
189
struct dsa_switch *ds;
drivers/net/dsa/ks8995.c
531
dsa_tag_protocol ks8995_get_tag_protocol(struct dsa_switch *ds,
drivers/net/dsa/ks8995.c
539
static int ks8995_setup(struct dsa_switch *ds)
drivers/net/dsa/ks8995.c
544
static int ks8995_port_enable(struct dsa_switch *ds, int port,
drivers/net/dsa/ks8995.c
554
static void ks8995_port_disable(struct dsa_switch *ds, int port)
drivers/net/dsa/ks8995.c
561
static int ks8995_port_pre_bridge_flags(struct dsa_switch *ds, int port,
drivers/net/dsa/ks8995.c
572
static int ks8995_port_bridge_flags(struct dsa_switch *ds, int port,
drivers/net/dsa/ks8995.c
602
static void ks8995_port_stp_state_set(struct dsa_switch *ds, int port, u8 state)
drivers/net/dsa/ks8995.c
649
static void ks8995_phylink_get_caps(struct dsa_switch *dsa, int port,
drivers/net/dsa/ks8995.c
672
static int ks8995_change_mtu(struct dsa_switch *ds, int port, int new_mtu)
drivers/net/dsa/ks8995.c
727
static int ks8995_get_max_mtu(struct dsa_switch *ds, int port)
drivers/net/dsa/lan9303-core.c
1036
static void lan9303_get_strings(struct dsa_switch *ds, int port,
drivers/net/dsa/lan9303-core.c
1049
static void lan9303_get_ethtool_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/lan9303-core.c
1071
static int lan9303_get_sset_count(struct dsa_switch *ds, int port, int sset)
drivers/net/dsa/lan9303-core.c
1079
static int lan9303_phy_read(struct dsa_switch *ds, int port, int regnum)
drivers/net/dsa/lan9303-core.c
1092
static int lan9303_phy_write(struct dsa_switch *ds, int port, int regnum,
drivers/net/dsa/lan9303-core.c
1106
static int lan9303_port_enable(struct dsa_switch *ds, int port,
drivers/net/dsa/lan9303-core.c
1120
static void lan9303_port_disable(struct dsa_switch *ds, int port)
drivers/net/dsa/lan9303-core.c
1134
static int lan9303_port_bridge_join(struct dsa_switch *ds, int port,
drivers/net/dsa/lan9303-core.c
1150
static void lan9303_port_bridge_leave(struct dsa_switch *ds, int port,
drivers/net/dsa/lan9303-core.c
1162
static void lan9303_port_stp_state_set(struct dsa_switch *ds, int port,
drivers/net/dsa/lan9303-core.c
1202
static void lan9303_port_fast_age(struct dsa_switch *ds, int port)
drivers/net/dsa/lan9303-core.c
1213
static int lan9303_port_fdb_add(struct dsa_switch *ds, int port,
drivers/net/dsa/lan9303-core.c
1224
static int lan9303_port_fdb_del(struct dsa_switch *ds, int port,
drivers/net/dsa/lan9303-core.c
1236
static int lan9303_port_fdb_dump(struct dsa_switch *ds, int port,
drivers/net/dsa/lan9303-core.c
1250
static int lan9303_port_mdb_prepare(struct dsa_switch *ds, int port,
drivers/net/dsa/lan9303-core.c
1267
static int lan9303_port_mdb_add(struct dsa_switch *ds, int port,
drivers/net/dsa/lan9303-core.c
1283
static int lan9303_port_mdb_del(struct dsa_switch *ds, int port,
drivers/net/dsa/lan9303-core.c
1298
static void lan9303_phylink_get_caps(struct dsa_switch *ds, int port,
drivers/net/dsa/lan9303-core.c
1345
struct dsa_switch *ds = dp->ds;
drivers/net/dsa/lan9303-core.c
937
static enum dsa_tag_protocol lan9303_get_tag_protocol(struct dsa_switch *ds,
drivers/net/dsa/lan9303-core.c
944
static int lan9303_setup(struct dsa_switch *ds)
drivers/net/dsa/lantiq/lantiq_gswip.c
32
static void gswip_xrx200_phylink_get_caps(struct dsa_switch *ds, int port,
drivers/net/dsa/lantiq/lantiq_gswip.c
63
static void gswip_xrx300_phylink_get_caps(struct dsa_switch *ds, int port,
drivers/net/dsa/lantiq/lantiq_gswip.h
264
void (*phylink_get_caps)(struct dsa_switch *ds, int port,
drivers/net/dsa/lantiq/lantiq_gswip.h
268
int (*port_setup)(struct dsa_switch *ds, int port);
drivers/net/dsa/lantiq/lantiq_gswip.h
290
struct dsa_switch *ds;
drivers/net/dsa/lantiq/lantiq_gswip_common.c
1027
static int gswip_port_vlan_add(struct dsa_switch *ds, int port,
drivers/net/dsa/lantiq/lantiq_gswip_common.c
1056
static int gswip_port_vlan_del(struct dsa_switch *ds, int port,
drivers/net/dsa/lantiq/lantiq_gswip_common.c
1076
static void gswip_port_fast_age(struct dsa_switch *ds, int port)
drivers/net/dsa/lantiq/lantiq_gswip_common.c
1114
static void gswip_port_stp_state_set(struct dsa_switch *ds, int port, u8 state)
drivers/net/dsa/lantiq/lantiq_gswip_common.c
1146
static int gswip_port_fdb(struct dsa_switch *ds, int port,
drivers/net/dsa/lantiq/lantiq_gswip_common.c
1192
static int gswip_port_fdb_add(struct dsa_switch *ds, int port,
drivers/net/dsa/lantiq/lantiq_gswip_common.c
1202
static int gswip_port_fdb_del(struct dsa_switch *ds, int port,
drivers/net/dsa/lantiq/lantiq_gswip_common.c
1212
static int gswip_port_fdb_dump(struct dsa_switch *ds, int port,
drivers/net/dsa/lantiq/lantiq_gswip_common.c
1260
static int gswip_port_max_mtu(struct dsa_switch *ds, int port)
drivers/net/dsa/lantiq/lantiq_gswip_common.c
1266
static int gswip_port_change_mtu(struct dsa_switch *ds, int port, int new_mtu)
drivers/net/dsa/lantiq/lantiq_gswip_common.c
1292
static void gswip_phylink_get_caps(struct dsa_switch *ds, int port,
drivers/net/dsa/lantiq/lantiq_gswip_common.c
1491
static void gswip_get_strings(struct dsa_switch *ds, int port, u32 stringset,
drivers/net/dsa/lantiq/lantiq_gswip_common.c
1530
static void gswip_get_ethtool_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/lantiq/lantiq_gswip_common.c
1551
static int gswip_get_sset_count(struct dsa_switch *ds, int port, int sset)
drivers/net/dsa/lantiq/lantiq_gswip_common.c
1559
static int gswip_set_mac_eee(struct dsa_switch *ds, int port,
drivers/net/dsa/lantiq/lantiq_gswip_common.c
1592
static bool gswip_support_eee(struct dsa_switch *ds, int port)
drivers/net/dsa/lantiq/lantiq_gswip_common.c
1654
static int gswip_validate_cpu_port(struct dsa_switch *ds)
drivers/net/dsa/lantiq/lantiq_gswip_common.c
390
static int gswip_port_pre_bridge_flags(struct dsa_switch *ds, int port,
drivers/net/dsa/lantiq/lantiq_gswip_common.c
406
static int gswip_port_bridge_flags(struct dsa_switch *ds, int port,
drivers/net/dsa/lantiq/lantiq_gswip_common.c
419
static int gswip_port_setup(struct dsa_switch *ds, int port)
drivers/net/dsa/lantiq/lantiq_gswip_common.c
439
static int gswip_port_enable(struct dsa_switch *ds, int port,
drivers/net/dsa/lantiq/lantiq_gswip_common.c
467
static void gswip_port_disable(struct dsa_switch *ds, int port)
drivers/net/dsa/lantiq/lantiq_gswip_common.c
565
static int gswip_port_vlan_filtering(struct dsa_switch *ds, int port,
drivers/net/dsa/lantiq/lantiq_gswip_common.c
643
static int gswip_setup(struct dsa_switch *ds)
drivers/net/dsa/lantiq/lantiq_gswip_common.c
742
static void gswip_teardown(struct dsa_switch *ds)
drivers/net/dsa/lantiq/lantiq_gswip_common.c
749
static enum dsa_tag_protocol gswip_get_tag_protocol(struct dsa_switch *ds,
drivers/net/dsa/lantiq/lantiq_gswip_common.c
947
static int gswip_port_bridge_join(struct dsa_switch *ds, int port,
drivers/net/dsa/lantiq/lantiq_gswip_common.c
968
static void gswip_port_bridge_leave(struct dsa_switch *ds, int port,
drivers/net/dsa/lantiq/lantiq_gswip_common.c
981
static int gswip_port_vlan_prepare(struct dsa_switch *ds, int port,
drivers/net/dsa/lantiq/mxl-gsw1xx.c
530
static void gsw1xx_phylink_get_caps(struct dsa_switch *ds, int port,
drivers/net/dsa/lantiq/mxl-gsw1xx.c
566
static void gsw150_phylink_get_caps(struct dsa_switch *ds, int port,
drivers/net/dsa/lantiq/mxl-gsw1xx.c
626
static int gsw1xx_port_setup(struct dsa_switch *ds, int port)
drivers/net/dsa/microchip/ksz8.c
1110
static int ksz8_phy_read16(struct dsa_switch *ds, int addr, int reg)
drivers/net/dsa/microchip/ksz8.c
1367
static int ksz8_phy_write16(struct dsa_switch *ds, int addr, int reg, u16 val)
drivers/net/dsa/microchip/ksz8.c
1392
static void ksz8_flush_dyn_mac_table(struct dsa_switch *ds, int port)
drivers/net/dsa/microchip/ksz8.c
1428
static int ksz8_fdb_dump(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz8.c
1534
static int ksz8_mdb_add(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz8.c
1541
static int ksz8_mdb_del(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz8.c
1548
static int ksz8_fdb_add(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz8.c
1554
static int ksz8_fdb_del(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz8.c
1560
static int ksz8_port_vlan_filtering(struct dsa_switch *ds, int port, bool flag,
drivers/net/dsa/microchip/ksz8.c
1592
static int ksz8_port_vlan_add(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz8.c
1665
static int ksz8_port_vlan_del(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz8.c
1698
static int ksz8_port_mirror_add(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz8.c
1725
static void ksz8_port_mirror_del(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz8.c
1768
struct dsa_switch *ds = dev->ds;
drivers/net/dsa/microchip/ksz8.c
1805
static int ksz8_dsa_port_setup(struct dsa_switch *ds, int port)
drivers/net/dsa/microchip/ksz8.c
1831
static void ksz8_config_cpu_port(struct dsa_switch *ds)
drivers/net/dsa/microchip/ksz8.c
191
static int ksz8_change_mtu(struct dsa_switch *ds, int port, int mtu)
drivers/net/dsa/microchip/ksz8.c
2025
static int ksz8_handle_global_errata(struct dsa_switch *ds)
drivers/net/dsa/microchip/ksz8.c
2056
static int ksz8_setup(struct dsa_switch *ds)
drivers/net/dsa/microchip/ksz8.c
2234
static void ksz8_phylink_get_caps(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz8.c
2311
static int ksz8463_phy_read16(struct dsa_switch *ds, int addr, int reg)
drivers/net/dsa/microchip/ksz8.c
2352
static int ksz8463_phy_write16(struct dsa_switch *ds, int addr, int reg, u16 val)
drivers/net/dsa/microchip/ksz8.c
2364
static u32 ksz88xx_get_phy_flags(struct dsa_switch *ds, int port)
drivers/net/dsa/microchip/ksz8.c
2391
static enum dsa_tag_protocol ksz8463_get_tag_protocol(struct dsa_switch *ds,
drivers/net/dsa/microchip/ksz8.c
2398
static int ksz8463_connect_tag_protocol(struct dsa_switch *ds,
drivers/net/dsa/microchip/ksz8.c
2412
static enum dsa_tag_protocol ksz87xx_get_tag_protocol(struct dsa_switch *ds,
drivers/net/dsa/microchip/ksz8.c
2419
static int ksz87xx_connect_tag_protocol(struct dsa_switch *ds,
drivers/net/dsa/microchip/ksz8.c
2428
static enum dsa_tag_protocol ksz88xx_get_tag_protocol(struct dsa_switch *ds,
drivers/net/dsa/microchip/ksz8.c
2440
static int ksz88xx_connect_tag_protocol(struct dsa_switch *ds,
drivers/net/dsa/microchip/ksz9477.c
1029
int ksz9477_mdb_del(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz9477.c
1109
int ksz9477_port_mirror_add(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz9477.c
1149
void ksz9477_port_mirror_del(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz9477.c
1194
static void ksz9477_phylink_get_caps(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz9477.c
1216
static int ksz9477_set_ageing_time(struct dsa_switch *ds, unsigned int msecs)
drivers/net/dsa/microchip/ksz9477.c
1286
struct dsa_switch *ds = dev->ds;
drivers/net/dsa/microchip/ksz9477.c
1338
static int ksz9477_dsa_port_setup(struct dsa_switch *ds, int port)
drivers/net/dsa/microchip/ksz9477.c
1355
static void ksz9477_config_cpu_port(struct dsa_switch *ds)
drivers/net/dsa/microchip/ksz9477.c
1520
static int ksz9477_setup(struct dsa_switch *ds)
drivers/net/dsa/microchip/ksz9477.c
1711
static int ksz9477_hsr_join(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz9477.c
1795
static int ksz9477_hsr_leave(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz9477.c
1840
static enum dsa_tag_protocol ksz9477_get_tag_protocol(struct dsa_switch *ds,
drivers/net/dsa/microchip/ksz9477.c
1854
static int ksz9477_connect_tag_protocol(struct dsa_switch *ds,
drivers/net/dsa/microchip/ksz9477.c
1944
static void ksz9477_port_teardown(struct dsa_switch *ds, int port)
drivers/net/dsa/microchip/ksz9477.c
1991
static bool ksz9477_support_eee(struct dsa_switch *ds, int port)
drivers/net/dsa/microchip/ksz9477.c
49
static int ksz9477_change_mtu(struct dsa_switch *ds, int port, int mtu)
drivers/net/dsa/microchip/ksz9477.c
579
static int ksz9477_phy_read16(struct dsa_switch *ds, int addr, int reg)
drivers/net/dsa/microchip/ksz9477.c
617
static int ksz9477_phy_write16(struct dsa_switch *ds, int addr, int reg, u16 val)
drivers/net/dsa/microchip/ksz9477.c
634
void ksz9477_flush_dyn_mac_table(struct dsa_switch *ds, int port)
drivers/net/dsa/microchip/ksz9477.c
658
int ksz9477_port_vlan_filtering(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz9477.c
676
int ksz9477_port_vlan_add(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz9477.c
713
int ksz9477_port_vlan_del(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz9477.c
747
int ksz9477_fdb_add(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz9477.c
804
int ksz9477_fdb_del(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz9477.c
894
int ksz9477_fdb_dump(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz9477.c
949
int ksz9477_mdb_add(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz9477.h
16
void ksz9477_flush_dyn_mac_table(struct dsa_switch *ds, int port);
drivers/net/dsa/microchip/ksz9477.h
22
int ksz9477_port_vlan_filtering(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz9477.h
24
int ksz9477_port_vlan_add(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz9477.h
27
int ksz9477_port_vlan_del(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz9477.h
29
int ksz9477_port_mirror_add(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz9477.h
32
void ksz9477_port_mirror_del(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz9477.h
36
int ksz9477_fdb_dump(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz9477.h
38
int ksz9477_fdb_add(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz9477.h
40
int ksz9477_fdb_del(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz9477.h
42
int ksz9477_mdb_add(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz9477.h
44
int ksz9477_mdb_del(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz9477.h
51
int ksz9477_cls_flower_add(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz9477.h
53
int ksz9477_cls_flower_del(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz9477_tc_flower.c
215
int ksz9477_cls_flower_add(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz9477_tc_flower.c
269
int ksz9477_cls_flower_del(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz_common.c
1972
void ksz_phylink_get_caps(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz_common.c
2115
void ksz_get_stats64(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz_common.c
2128
void ksz_get_pause_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz_common.c
2141
void ksz_get_strings(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz_common.c
2180
struct dsa_switch *ds = dev->ds;
drivers/net/dsa/microchip/ksz_common.c
2262
struct dsa_switch *ds = dev->ds;
drivers/net/dsa/microchip/ksz_common.c
2270
struct dsa_switch *ds = dev->ds;
drivers/net/dsa/microchip/ksz_common.c
2330
struct dsa_switch *ds = dev->ds;
drivers/net/dsa/microchip/ksz_common.c
2354
struct dsa_switch *ds = dev->ds;
drivers/net/dsa/microchip/ksz_common.c
2394
struct dsa_switch *ds = dev->ds;
drivers/net/dsa/microchip/ksz_common.c
2488
struct dsa_switch *ds = dev->ds;
drivers/net/dsa/microchip/ksz_common.c
2729
void ksz_teardown(struct dsa_switch *ds)
drivers/net/dsa/microchip/ksz_common.c
2840
int ksz_sset_count(struct dsa_switch *ds, int port, int sset)
drivers/net/dsa/microchip/ksz_common.c
2850
void ksz_get_ethtool_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz_common.c
2868
int ksz_port_bridge_join(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz_common.c
2880
void ksz_port_bridge_leave(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz_common.c
2910
void ksz_port_stp_state_set(struct dsa_switch *ds, int port, u8 state)
drivers/net/dsa/microchip/ksz_common.c
2956
int ksz_port_pre_bridge_flags(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz_common.c
2966
int ksz_port_bridge_flags(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz_common.c
2987
int ksz_max_mtu(struct dsa_switch *ds, int port)
drivers/net/dsa/microchip/ksz_common.c
3021
int ksz_set_mac_eee(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz_common.c
3317
static int ksz_setup_tc_cbs(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz_common.c
3619
static int ksz_tc_setup_qdisc_ets(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz_common.c
3657
int ksz_setup_tc(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz_common.c
3717
void ksz_get_wol(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz_common.c
3762
int ksz_set_wol(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz_common.c
3834
struct dsa_switch *ds = dev->ds;
drivers/net/dsa/microchip/ksz_common.c
3870
int ksz_port_set_mac_address(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz_common.c
3912
bool ksz_is_port_mac_global_usable(struct dsa_switch *ds, int port)
drivers/net/dsa/microchip/ksz_common.c
3943
int ksz_switch_macaddr_get(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz_common.c
4003
void ksz_switch_macaddr_put(struct dsa_switch *ds)
drivers/net/dsa/microchip/ksz_common.c
4024
int ksz_suspend(struct dsa_switch *ds)
drivers/net/dsa/microchip/ksz_common.c
4032
int ksz_resume(struct dsa_switch *ds)
drivers/net/dsa/microchip/ksz_common.c
4045
struct dsa_switch *ds;
drivers/net/dsa/microchip/ksz_common.h
165
struct dsa_switch *ds;
drivers/net/dsa/microchip/ksz_common.h
393
void ksz_teardown(struct dsa_switch *ds);
drivers/net/dsa/microchip/ksz_common.h
396
bool ksz_is_port_mac_global_usable(struct dsa_switch *ds, int port);
drivers/net/dsa/microchip/ksz_common.h
399
void ksz_port_stp_state_set(struct dsa_switch *ds, int port, u8 state);
drivers/net/dsa/microchip/ksz_common.h
403
int ksz_switch_macaddr_get(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz_common.h
405
void ksz_switch_macaddr_put(struct dsa_switch *ds);
drivers/net/dsa/microchip/ksz_common.h
409
int ksz_sset_count(struct dsa_switch *ds, int port, int sset);
drivers/net/dsa/microchip/ksz_common.h
410
void ksz_get_ethtool_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz_common.h
412
void ksz_get_stats64(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz_common.h
414
void ksz_get_pause_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz_common.h
416
void ksz_get_strings(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz_common.h
419
int ksz_port_bridge_join(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz_common.h
423
void ksz_port_bridge_leave(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz_common.h
425
int ksz_port_pre_bridge_flags(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz_common.h
428
int ksz_port_bridge_flags(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz_common.h
432
void ksz_phylink_get_caps(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz_common.h
446
int ksz_max_mtu(struct dsa_switch *ds, int port);
drivers/net/dsa/microchip/ksz_common.h
448
int ksz_set_mac_eee(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz_common.h
451
int ksz_setup_tc(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz_common.h
454
void ksz_get_wol(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz_common.h
456
int ksz_set_wol(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz_common.h
458
int ksz_port_set_mac_address(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz_common.h
461
int ksz_suspend(struct dsa_switch *ds);
drivers/net/dsa/microchip/ksz_common.h
462
int ksz_resume(struct dsa_switch *ds);
drivers/net/dsa/microchip/ksz_dcb.c
182
int ksz_port_get_default_prio(struct dsa_switch *ds, int port)
drivers/net/dsa/microchip/ksz_dcb.c
209
int ksz_port_set_default_prio(struct dsa_switch *ds, int port, u8 prio)
drivers/net/dsa/microchip/ksz_dcb.c
236
int ksz_port_get_dscp_prio(struct dsa_switch *ds, int port, u8 dscp)
drivers/net/dsa/microchip/ksz_dcb.c
361
int ksz_port_add_dscp_prio(struct dsa_switch *ds, int port, u8 dscp, u8 prio)
drivers/net/dsa/microchip/ksz_dcb.c
381
int ksz_port_del_dscp_prio(struct dsa_switch *ds, int port, u8 dscp, u8 prio)
drivers/net/dsa/microchip/ksz_dcb.c
498
int ksz_port_set_apptrust(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz_dcb.c
541
int ksz_port_get_apptrust(struct dsa_switch *ds, int port, u8 *sel, int *nsel)
drivers/net/dsa/microchip/ksz_dcb.h
11
int ksz_port_get_default_prio(struct dsa_switch *ds, int port);
drivers/net/dsa/microchip/ksz_dcb.h
12
int ksz_port_set_default_prio(struct dsa_switch *ds, int port, u8 prio);
drivers/net/dsa/microchip/ksz_dcb.h
13
int ksz_port_get_dscp_prio(struct dsa_switch *ds, int port, u8 dscp);
drivers/net/dsa/microchip/ksz_dcb.h
14
int ksz_port_add_dscp_prio(struct dsa_switch *ds, int port, u8 dscp, u8 prio);
drivers/net/dsa/microchip/ksz_dcb.h
15
int ksz_port_del_dscp_prio(struct dsa_switch *ds, int port, u8 dscp, u8 prio);
drivers/net/dsa/microchip/ksz_dcb.h
16
int ksz_port_set_apptrust(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz_dcb.h
19
int ksz_port_get_apptrust(struct dsa_switch *ds, int port, u8 *sel, int *nsel);
drivers/net/dsa/microchip/ksz_ptp.c
1132
int ksz_ptp_irq_setup(struct dsa_switch *ds, u8 p)
drivers/net/dsa/microchip/ksz_ptp.c
1189
void ksz_ptp_irq_free(struct dsa_switch *ds, u8 p)
drivers/net/dsa/microchip/ksz_ptp.c
294
int ksz_get_ts_info(struct dsa_switch *ds, int port, struct kernel_ethtool_ts_info *ts)
drivers/net/dsa/microchip/ksz_ptp.c
323
int ksz_hwtstamp_get(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz_ptp.c
408
int ksz_hwtstamp_set(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz_ptp.c
454
bool ksz_port_rxtstamp(struct dsa_switch *ds, int port, struct sk_buff *skb,
drivers/net/dsa/microchip/ksz_ptp.c
496
void ksz_port_txtstamp(struct dsa_switch *ds, int port, struct sk_buff *skb)
drivers/net/dsa/microchip/ksz_ptp.c
569
struct dsa_switch *ds = xmit_work->dp->ds;
drivers/net/dsa/microchip/ksz_ptp.c
904
int ksz_ptp_clock_register(struct dsa_switch *ds)
drivers/net/dsa/microchip/ksz_ptp.c
959
void ksz_ptp_clock_unregister(struct dsa_switch *ds)
drivers/net/dsa/microchip/ksz_ptp.h
36
int ksz_ptp_clock_register(struct dsa_switch *ds);
drivers/net/dsa/microchip/ksz_ptp.h
38
void ksz_ptp_clock_unregister(struct dsa_switch *ds);
drivers/net/dsa/microchip/ksz_ptp.h
40
int ksz_get_ts_info(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz_ptp.h
42
int ksz_hwtstamp_get(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz_ptp.h
44
int ksz_hwtstamp_set(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/ksz_ptp.h
47
void ksz_port_txtstamp(struct dsa_switch *ds, int port, struct sk_buff *skb);
drivers/net/dsa/microchip/ksz_ptp.h
49
bool ksz_port_rxtstamp(struct dsa_switch *ds, int port, struct sk_buff *skb,
drivers/net/dsa/microchip/ksz_ptp.h
51
int ksz_ptp_irq_setup(struct dsa_switch *ds, u8 p);
drivers/net/dsa/microchip/ksz_ptp.h
52
void ksz_ptp_irq_free(struct dsa_switch *ds, u8 p);
drivers/net/dsa/microchip/ksz_ptp.h
61
static inline int ksz_ptp_clock_register(struct dsa_switch *ds)
drivers/net/dsa/microchip/ksz_ptp.h
66
static inline void ksz_ptp_clock_unregister(struct dsa_switch *ds) { }
drivers/net/dsa/microchip/ksz_ptp.h
68
static inline int ksz_ptp_irq_setup(struct dsa_switch *ds, u8 p)
drivers/net/dsa/microchip/ksz_ptp.h
73
static inline void ksz_ptp_irq_free(struct dsa_switch *ds, u8 p) {}
drivers/net/dsa/microchip/lan937x_main.c
338
static int lan937x_phy_read16(struct dsa_switch *ds, int addr, int reg)
drivers/net/dsa/microchip/lan937x_main.c
351
static int lan937x_phy_write16(struct dsa_switch *ds, int addr, int reg, u16 val)
drivers/net/dsa/microchip/lan937x_main.c
398
struct dsa_switch *ds = dev->ds;
drivers/net/dsa/microchip/lan937x_main.c
430
static int lan937x_dsa_port_setup(struct dsa_switch *ds, int port)
drivers/net/dsa/microchip/lan937x_main.c
447
static void lan937x_config_cpu_port(struct dsa_switch *ds)
drivers/net/dsa/microchip/lan937x_main.c
466
static int lan937x_change_mtu(struct dsa_switch *ds, int port, int new_mtu)
drivers/net/dsa/microchip/lan937x_main.c
497
static int lan937x_set_ageing_time(struct dsa_switch *ds, unsigned int msecs)
drivers/net/dsa/microchip/lan937x_main.c
611
static void lan937x_phylink_get_caps(struct dsa_switch *ds, int port,
drivers/net/dsa/microchip/lan937x_main.c
689
struct dsa_switch *ds = dev->ds;
drivers/net/dsa/microchip/lan937x_main.c
768
static int lan937x_setup(struct dsa_switch *ds)
drivers/net/dsa/microchip/lan937x_main.c
912
static enum dsa_tag_protocol lan937x_get_tag_protocol(struct dsa_switch *ds,
drivers/net/dsa/microchip/lan937x_main.c
919
static int lan937x_connect_tag_protocol(struct dsa_switch *ds,
drivers/net/dsa/mt7530.c
1003
mt7530_set_ageing_time(struct dsa_switch *ds, unsigned int msecs)
drivers/net/dsa/mt7530.c
1058
static void mt7530_setup_port5(struct dsa_switch *ds, phy_interface_t interface)
drivers/net/dsa/mt7530.c
1327
mt753x_cpu_port_enable(struct dsa_switch *ds, int port)
drivers/net/dsa/mt7530.c
1359
mt7530_port_enable(struct dsa_switch *ds, int port,
drivers/net/dsa/mt7530.c
1394
mt7530_port_disable(struct dsa_switch *ds, int port)
drivers/net/dsa/mt7530.c
1420
mt7530_port_change_mtu(struct dsa_switch *ds, int port, int new_mtu)
drivers/net/dsa/mt7530.c
1460
mt7530_port_max_mtu(struct dsa_switch *ds, int port)
drivers/net/dsa/mt7530.c
1466
mt7530_stp_state_set(struct dsa_switch *ds, int port, u8 state)
drivers/net/dsa/mt7530.c
1544
mt7530_port_pre_bridge_flags(struct dsa_switch *ds, int port,
drivers/net/dsa/mt7530.c
1556
mt7530_port_bridge_flags(struct dsa_switch *ds, int port,
drivers/net/dsa/mt7530.c
1593
mt7530_port_bridge_join(struct dsa_switch *ds, int port,
drivers/net/dsa/mt7530.c
1660
mt7530_port_set_vlan_unaware(struct dsa_switch *ds, int port)
drivers/net/dsa/mt7530.c
1704
mt7530_port_set_vlan_aware(struct dsa_switch *ds, int port)
drivers/net/dsa/mt7530.c
1744
mt7530_port_bridge_leave(struct dsa_switch *ds, int port,
drivers/net/dsa/mt7530.c
1764
mt7530_port_fdb_add(struct dsa_switch *ds, int port,
drivers/net/dsa/mt7530.c
1781
mt7530_port_fdb_del(struct dsa_switch *ds, int port,
drivers/net/dsa/mt7530.c
1798
mt7530_port_fdb_dump(struct dsa_switch *ds, int port,
drivers/net/dsa/mt7530.c
1833
mt7530_port_mdb_add(struct dsa_switch *ds, int port,
drivers/net/dsa/mt7530.c
1860
mt7530_port_mdb_del(struct dsa_switch *ds, int port,
drivers/net/dsa/mt7530.c
1888
mt7530_port_vlan_filtering(struct dsa_switch *ds, int port, bool vlan_filtering,
drivers/net/dsa/mt7530.c
1992
mt7530_port_vlan_add(struct dsa_switch *ds, int port,
drivers/net/dsa/mt7530.c
2046
mt7530_port_vlan_del(struct dsa_switch *ds, int port,
drivers/net/dsa/mt7530.c
2084
static int mt753x_port_mirror_add(struct dsa_switch *ds, int port,
drivers/net/dsa/mt7530.c
2122
static void mt753x_port_mirror_del(struct dsa_switch *ds, int port,
drivers/net/dsa/mt7530.c
2146
mtk_get_tag_protocol(struct dsa_switch *ds, int port,
drivers/net/dsa/mt7530.c
2262
struct dsa_switch *ds = priv->ds;
drivers/net/dsa/mt7530.c
2364
struct dsa_switch *ds = priv->ds;
drivers/net/dsa/mt7530.c
2410
mt7530_setup(struct dsa_switch *ds)
drivers/net/dsa/mt7530.c
2626
mt7531_setup_common(struct dsa_switch *ds)
drivers/net/dsa/mt7530.c
2697
mt7531_setup(struct dsa_switch *ds)
drivers/net/dsa/mt7530.c
2792
static void mt7530_mac_port_get_caps(struct dsa_switch *ds, int port,
drivers/net/dsa/mt7530.c
2823
static void mt7531_mac_port_get_caps(struct dsa_switch *ds, int port,
drivers/net/dsa/mt7530.c
2861
static void mt7988_mac_port_get_caps(struct dsa_switch *ds, int port,
drivers/net/dsa/mt7530.c
2883
static void en7581_mac_port_get_caps(struct dsa_switch *ds, int port,
drivers/net/dsa/mt7530.c
2906
mt7530_mac_config(struct dsa_switch *ds, int port, unsigned int mode,
drivers/net/dsa/mt7530.c
2958
mt7531_mac_config(struct dsa_switch *ds, int port, unsigned int mode,
drivers/net/dsa/mt7530.c
2996
struct dsa_switch *ds = dp->ds;
drivers/net/dsa/mt7530.c
3090
static void mt753x_phylink_get_caps(struct dsa_switch *ds, int port,
drivers/net/dsa/mt7530.c
3176
mt753x_setup(struct dsa_switch *ds)
drivers/net/dsa/mt7530.c
3216
mt753x_teardown(struct dsa_switch *ds)
drivers/net/dsa/mt7530.c
3224
static int mt753x_set_mac_eee(struct dsa_switch *ds, int port,
drivers/net/dsa/mt7530.c
3234
mt753x_conduit_state_change(struct dsa_switch *ds,
drivers/net/dsa/mt7530.c
3265
static int mt753x_tc_setup_qdisc_tbf(struct dsa_switch *ds, int port,
drivers/net/dsa/mt7530.c
3301
static int mt753x_setup_tc(struct dsa_switch *ds, int port,
drivers/net/dsa/mt7530.c
3312
static int mt7988_setup(struct dsa_switch *ds)
drivers/net/dsa/mt7530.c
362
mt753x_preferred_default_local_cpu_port(struct dsa_switch *ds)
drivers/net/dsa/mt7530.c
374
mt7530_setup_port6(struct dsa_switch *ds, phy_interface_t interface)
drivers/net/dsa/mt7530.c
515
mt7530_mib_reset(struct dsa_switch *ds)
drivers/net/dsa/mt7530.c
737
mt7530_get_strings(struct dsa_switch *ds, int port, u32 stringset,
drivers/net/dsa/mt7530.c
765
mt7530_get_ethtool_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/mt7530.c
781
mt7530_get_sset_count(struct dsa_switch *ds, int port, int sset)
drivers/net/dsa/mt7530.c
789
static void mt7530_get_eth_mac_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/mt7530.c
854
static void mt7530_get_rmon_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/mt7530.c
970
static void mt7530_get_stats64(struct dsa_switch *ds, int port,
drivers/net/dsa/mt7530.c
990
static void mt7530_get_eth_ctrl_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/mt7530.h
843
int (*sw_setup)(struct dsa_switch *ds);
drivers/net/dsa/mt7530.h
851
void (*mac_port_get_caps)(struct dsa_switch *ds, int port,
drivers/net/dsa/mt7530.h
853
void (*mac_port_config)(struct dsa_switch *ds, int port,
drivers/net/dsa/mt7530.h
886
struct dsa_switch *ds;
drivers/net/dsa/mv88e6060.c
187
static int mv88e6060_setup(struct dsa_switch *ds)
drivers/net/dsa/mv88e6060.c
225
static int mv88e6060_phy_read(struct dsa_switch *ds, int port, int regnum)
drivers/net/dsa/mv88e6060.c
238
mv88e6060_phy_write(struct dsa_switch *ds, int port, int regnum, u16 val)
drivers/net/dsa/mv88e6060.c
250
static void mv88e6060_phylink_get_caps(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6060.c
308
struct dsa_switch *ds;
drivers/net/dsa/mv88e6060.c
341
struct dsa_switch *ds = dev_get_drvdata(&mdiodev->dev);
drivers/net/dsa/mv88e6060.c
351
struct dsa_switch *ds = dev_get_drvdata(&mdiodev->dev);
drivers/net/dsa/mv88e6060.c
45
static enum dsa_tag_protocol mv88e6060_get_tag_protocol(struct dsa_switch *ds,
drivers/net/dsa/mv88e6060.h
116
struct dsa_switch *ds;
drivers/net/dsa/mv88e6xxx/chip.c
1204
static void mv88e6xxx_get_strings(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/chip.c
1256
static int mv88e6xxx_get_sset_count(struct dsa_switch *ds, int port, int sset)
drivers/net/dsa/mv88e6xxx/chip.c
1383
static void mv88e6xxx_get_ethtool_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/chip.c
1396
static void mv88e6xxx_get_eth_mac_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/chip.c
1434
static void mv88e6xxx_get_rmon_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/chip.c
1475
static int mv88e6xxx_get_regs_len(struct dsa_switch *ds, int port)
drivers/net/dsa/mv88e6xxx/chip.c
1487
static void mv88e6xxx_get_regs(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/chip.c
1515
static int mv88e6xxx_set_mac_eee(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/chip.c
1525
struct dsa_switch *ds = chip->ds;
drivers/net/dsa/mv88e6xxx/chip.c
1598
static void mv88e6xxx_port_stp_state_set(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/chip.c
1633
struct dsa_switch *ds = chip->ds;
drivers/net/dsa/mv88e6xxx/chip.c
1756
struct dsa_switch *ds;
drivers/net/dsa/mv88e6xxx/chip.c
1824
static void mv88e6xxx_port_fast_age(struct dsa_switch *ds, int port)
drivers/net/dsa/mv88e6xxx/chip.c
2062
static int mv88e6xxx_port_mst_state_set(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/chip.c
2107
static int mv88e6xxx_port_check_hw_vlan(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/chip.c
2173
static int mv88e6xxx_port_vlan_filtering(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/chip.c
2202
mv88e6xxx_port_vlan_prepare(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/chip.c
2435
static int mv88e6xxx_get_rxnfc(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/chip.c
2482
static int mv88e6xxx_set_rxnfc(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/chip.c
2654
static int mv88e6xxx_port_vlan_add(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/chip.c
2764
static int mv88e6xxx_port_vlan_del(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/chip.c
2806
static int mv88e6xxx_port_vlan_fast_age(struct dsa_switch *ds, int port, u16 vid)
drivers/net/dsa/mv88e6xxx/chip.c
2826
static int mv88e6xxx_vlan_msti_set(struct dsa_switch *ds,
drivers/net/dsa/mv88e6xxx/chip.c
2872
static int mv88e6xxx_port_fdb_add(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/chip.c
2894
static int mv88e6xxx_port_fdb_del(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/chip.c
2982
static int mv88e6xxx_port_fdb_dump(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/chip.c
2998
struct dsa_switch *ds = chip->ds;
drivers/net/dsa/mv88e6xxx/chip.c
3031
static int mv88e6xxx_map_virtual_bridge_to_pvt(struct dsa_switch *ds,
drivers/net/dsa/mv88e6xxx/chip.c
3040
static int mv88e6xxx_port_bridge_join(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/chip.c
3076
static void mv88e6xxx_port_bridge_leave(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/chip.c
3107
static int mv88e6xxx_crosschip_bridge_join(struct dsa_switch *ds,
drivers/net/dsa/mv88e6xxx/chip.c
3126
static void mv88e6xxx_crosschip_bridge_leave(struct dsa_switch *ds,
drivers/net/dsa/mv88e6xxx/chip.c
3328
struct dsa_switch *ds = chip->ds;
drivers/net/dsa/mv88e6xxx/chip.c
3368
struct dsa_switch *ds = chip->ds;
drivers/net/dsa/mv88e6xxx/chip.c
3604
static int mv88e6xxx_get_max_mtu(struct dsa_switch *ds, int port)
drivers/net/dsa/mv88e6xxx/chip.c
3615
static int mv88e6xxx_change_mtu(struct dsa_switch *ds, int port, int new_mtu)
drivers/net/dsa/mv88e6xxx/chip.c
3645
static int mv88e6xxx_set_ageing_time(struct dsa_switch *ds,
drivers/net/dsa/mv88e6xxx/chip.c
3967
static void mv88e6xxx_teardown(struct dsa_switch *ds)
drivers/net/dsa/mv88e6xxx/chip.c
3980
static int mv88e6xxx_setup(struct dsa_switch *ds)
drivers/net/dsa/mv88e6xxx/chip.c
4154
static int mv88e6xxx_port_setup(struct dsa_switch *ds, int port)
drivers/net/dsa/mv88e6xxx/chip.c
4169
static void mv88e6xxx_port_teardown(struct dsa_switch *ds, int port)
drivers/net/dsa/mv88e6xxx/chip.c
4180
static int mv88e6xxx_get_eeprom_len(struct dsa_switch *ds)
drivers/net/dsa/mv88e6xxx/chip.c
4187
static int mv88e6xxx_get_eeprom(struct dsa_switch *ds,
drivers/net/dsa/mv88e6xxx/chip.c
4208
static int mv88e6xxx_set_eeprom(struct dsa_switch *ds,
drivers/net/dsa/mv88e6xxx/chip.c
6646
static enum dsa_tag_protocol mv88e6xxx_get_tag_protocol(struct dsa_switch *ds,
drivers/net/dsa/mv88e6xxx/chip.c
6655
static int mv88e6xxx_change_tag_protocol(struct dsa_switch *ds,
drivers/net/dsa/mv88e6xxx/chip.c
6707
static int mv88e6xxx_port_mdb_add(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/chip.c
6729
static int mv88e6xxx_port_mdb_del(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/chip.c
6743
static int mv88e6xxx_port_mirror_add(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/chip.c
6783
static void mv88e6xxx_port_mirror_del(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/chip.c
6812
static int mv88e6xxx_port_pre_bridge_flags(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/chip.c
6834
static int mv88e6xxx_port_bridge_flags(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/chip.c
6897
static bool mv88e6xxx_lag_can_offload(struct dsa_switch *ds,
drivers/net/dsa/mv88e6xxx/chip.c
6940
static int mv88e6xxx_lag_sync_map(struct dsa_switch *ds, struct dsa_lag lag)
drivers/net/dsa/mv88e6xxx/chip.c
6995
static int mv88e6xxx_lag_sync_masks(struct dsa_switch *ds)
drivers/net/dsa/mv88e6xxx/chip.c
7058
static int mv88e6xxx_lag_sync_masks_map(struct dsa_switch *ds,
drivers/net/dsa/mv88e6xxx/chip.c
7071
static int mv88e6xxx_port_lag_change(struct dsa_switch *ds, int port)
drivers/net/dsa/mv88e6xxx/chip.c
7082
static int mv88e6xxx_port_lag_join(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/chip.c
7116
static int mv88e6xxx_port_lag_leave(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/chip.c
7129
static int mv88e6xxx_crosschip_lag_change(struct dsa_switch *ds, int sw_index,
drivers/net/dsa/mv88e6xxx/chip.c
7141
static int mv88e6xxx_crosschip_lag_join(struct dsa_switch *ds, int sw_index,
drivers/net/dsa/mv88e6xxx/chip.c
7165
static int mv88e6xxx_crosschip_lag_leave(struct dsa_switch *ds, int sw_index,
drivers/net/dsa/mv88e6xxx/chip.c
7254
struct dsa_switch *ds;
drivers/net/dsa/mv88e6xxx/chip.c
7467
struct dsa_switch *ds = dev_get_drvdata(&mdiodev->dev);
drivers/net/dsa/mv88e6xxx/chip.c
7493
struct dsa_switch *ds = dev_get_drvdata(&mdiodev->dev);
drivers/net/dsa/mv88e6xxx/chip.c
846
static void mv88e6xxx_get_caps(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/chip.h
356
struct dsa_switch *ds;
drivers/net/dsa/mv88e6xxx/devlink.c
177
int mv88e6xxx_setup_devlink_resources(struct dsa_switch *ds)
drivers/net/dsa/mv88e6xxx/devlink.c
271
struct dsa_switch *ds = dsa_devlink_to_ds(dl);
drivers/net/dsa/mv88e6xxx/devlink.c
31
int mv88e6xxx_devlink_param_get(struct dsa_switch *ds, u32 id,
drivers/net/dsa/mv88e6xxx/devlink.c
377
struct dsa_switch *ds = dsa_devlink_to_ds(dl);
drivers/net/dsa/mv88e6xxx/devlink.c
438
struct dsa_switch *ds = dsa_devlink_to_ds(dl);
drivers/net/dsa/mv88e6xxx/devlink.c
520
struct dsa_switch *ds = dsa_devlink_to_ds(dl);
drivers/net/dsa/mv88e6xxx/devlink.c
53
int mv88e6xxx_devlink_param_set(struct dsa_switch *ds, u32 id,
drivers/net/dsa/mv88e6xxx/devlink.c
576
struct dsa_switch *ds = dsa_devlink_to_ds(dl);
drivers/net/dsa/mv88e6xxx/devlink.c
614
struct dsa_switch *ds = dsa_devlink_port_to_ds(devlink_port);
drivers/net/dsa/mv88e6xxx/devlink.c
726
void mv88e6xxx_teardown_devlink_regions_global(struct dsa_switch *ds)
drivers/net/dsa/mv88e6xxx/devlink.c
736
void mv88e6xxx_teardown_devlink_regions_port(struct dsa_switch *ds, int port)
drivers/net/dsa/mv88e6xxx/devlink.c
743
int mv88e6xxx_setup_devlink_regions_port(struct dsa_switch *ds, int port)
drivers/net/dsa/mv88e6xxx/devlink.c
760
int mv88e6xxx_setup_devlink_regions_global(struct dsa_switch *ds)
drivers/net/dsa/mv88e6xxx/devlink.c
806
int mv88e6xxx_devlink_info_get(struct dsa_switch *ds,
drivers/net/dsa/mv88e6xxx/devlink.c
81
int mv88e6xxx_setup_devlink_params(struct dsa_switch *ds)
drivers/net/dsa/mv88e6xxx/devlink.c
87
void mv88e6xxx_teardown_devlink_params(struct dsa_switch *ds)
drivers/net/dsa/mv88e6xxx/devlink.h
10
int mv88e6xxx_setup_devlink_resources(struct dsa_switch *ds);
drivers/net/dsa/mv88e6xxx/devlink.h
11
int mv88e6xxx_devlink_param_get(struct dsa_switch *ds, u32 id,
drivers/net/dsa/mv88e6xxx/devlink.h
13
int mv88e6xxx_devlink_param_set(struct dsa_switch *ds, u32 id,
drivers/net/dsa/mv88e6xxx/devlink.h
15
int mv88e6xxx_setup_devlink_regions_global(struct dsa_switch *ds);
drivers/net/dsa/mv88e6xxx/devlink.h
16
void mv88e6xxx_teardown_devlink_regions_global(struct dsa_switch *ds);
drivers/net/dsa/mv88e6xxx/devlink.h
17
int mv88e6xxx_setup_devlink_regions_port(struct dsa_switch *ds, int port);
drivers/net/dsa/mv88e6xxx/devlink.h
18
void mv88e6xxx_teardown_devlink_regions_port(struct dsa_switch *ds, int port);
drivers/net/dsa/mv88e6xxx/devlink.h
20
int mv88e6xxx_devlink_info_get(struct dsa_switch *ds,
drivers/net/dsa/mv88e6xxx/devlink.h
8
int mv88e6xxx_setup_devlink_params(struct dsa_switch *ds);
drivers/net/dsa/mv88e6xxx/devlink.h
9
void mv88e6xxx_teardown_devlink_params(struct dsa_switch *ds);
drivers/net/dsa/mv88e6xxx/hwtstamp.c
171
int mv88e6xxx_port_hwtstamp_set(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/hwtstamp.c
192
int mv88e6xxx_port_hwtstamp_get(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/hwtstamp.c
327
bool mv88e6xxx_port_rxtstamp(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/hwtstamp.c
445
struct dsa_switch *ds = chip->ds;
drivers/net/dsa/mv88e6xxx/hwtstamp.c
463
void mv88e6xxx_port_txtstamp(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/hwtstamp.c
66
int mv88e6xxx_get_ts_info(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/hwtstamp.h
113
int mv88e6xxx_port_hwtstamp_set(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/hwtstamp.h
116
int mv88e6xxx_port_hwtstamp_get(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/hwtstamp.h
119
bool mv88e6xxx_port_rxtstamp(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/hwtstamp.h
121
void mv88e6xxx_port_txtstamp(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/hwtstamp.h
124
int mv88e6xxx_get_ts_info(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/hwtstamp.h
138
mv88e6xxx_port_hwtstamp_set(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/hwtstamp.h
146
mv88e6xxx_port_hwtstamp_get(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/hwtstamp.h
152
static inline bool mv88e6xxx_port_rxtstamp(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/hwtstamp.h
159
static inline void mv88e6xxx_port_txtstamp(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/hwtstamp.h
164
static inline int mv88e6xxx_get_ts_info(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/tcflower.c
143
int mv88e6xxx_cls_flower_del(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/tcflower.c
72
int mv88e6xxx_cls_flower_add(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/tcflower.h
11
int mv88e6xxx_cls_flower_del(struct dsa_switch *ds, int port,
drivers/net/dsa/mv88e6xxx/tcflower.h
9
int mv88e6xxx_cls_flower_add(struct dsa_switch *ds, int port,
drivers/net/dsa/mxl862xx/mxl862xx-phylink.c
21
void mxl862xx_phylink_get_caps(struct dsa_switch *ds, int port,
drivers/net/dsa/mxl862xx/mxl862xx-phylink.h
16
void mxl862xx_phylink_get_caps(struct dsa_switch *ds, int port,
drivers/net/dsa/mxl862xx/mxl862xx.c
1077
static int mxl862xx_port_vlan_filtering(struct dsa_switch *ds, int port,
drivers/net/dsa/mxl862xx/mxl862xx.c
1117
static int mxl862xx_port_vlan_add(struct dsa_switch *ds, int port,
drivers/net/dsa/mxl862xx/mxl862xx.c
1191
static int mxl862xx_port_vlan_del(struct dsa_switch *ds, int port,
drivers/net/dsa/mxl862xx/mxl862xx.c
1259
static int mxl862xx_setup_cpu_bridge(struct dsa_switch *ds, int port)
drivers/net/dsa/mxl862xx/mxl862xx.c
1275
static int mxl862xx_port_bridge_join(struct dsa_switch *ds, int port,
drivers/net/dsa/mxl862xx/mxl862xx.c
1303
static void mxl862xx_port_bridge_leave(struct dsa_switch *ds, int port,
drivers/net/dsa/mxl862xx/mxl862xx.c
1333
static int mxl862xx_port_setup(struct dsa_switch *ds, int port)
drivers/net/dsa/mxl862xx/mxl862xx.c
1408
static void mxl862xx_port_teardown(struct dsa_switch *ds, int port)
drivers/net/dsa/mxl862xx/mxl862xx.c
1426
static int mxl862xx_get_fid(struct dsa_switch *ds, struct dsa_db db)
drivers/net/dsa/mxl862xx/mxl862xx.c
1444
static int mxl862xx_port_fdb_add(struct dsa_switch *ds, int port,
drivers/net/dsa/mxl862xx/mxl862xx.c
1467
static int mxl862xx_port_fdb_del(struct dsa_switch *ds, int port,
drivers/net/dsa/mxl862xx/mxl862xx.c
1488
static int mxl862xx_port_fdb_dump(struct dsa_switch *ds, int port,
drivers/net/dsa/mxl862xx/mxl862xx.c
1520
static int mxl862xx_port_mdb_add(struct dsa_switch *ds, int port,
drivers/net/dsa/mxl862xx/mxl862xx.c
1557
static int mxl862xx_port_mdb_del(struct dsa_switch *ds, int port,
drivers/net/dsa/mxl862xx/mxl862xx.c
1602
static int mxl862xx_set_ageing_time(struct dsa_switch *ds, unsigned int msecs)
drivers/net/dsa/mxl862xx/mxl862xx.c
1622
static void mxl862xx_port_stp_state_set(struct dsa_switch *ds, int port,
drivers/net/dsa/mxl862xx/mxl862xx.c
164
static enum dsa_tag_protocol mxl862xx_get_tag_protocol(struct dsa_switch *ds,
drivers/net/dsa/mxl862xx/mxl862xx.c
1681
struct dsa_switch *ds = priv->ds;
drivers/net/dsa/mxl862xx/mxl862xx.c
1702
static void mxl862xx_port_set_host_flood(struct dsa_switch *ds, int port,
drivers/net/dsa/mxl862xx/mxl862xx.c
1713
static int mxl862xx_port_pre_bridge_flags(struct dsa_switch *ds, int port,
drivers/net/dsa/mxl862xx/mxl862xx.c
1724
static int mxl862xx_port_bridge_flags(struct dsa_switch *ds, int port,
drivers/net/dsa/mxl862xx/mxl862xx.c
1770
static void mxl862xx_get_strings(struct dsa_switch *ds, int port,
drivers/net/dsa/mxl862xx/mxl862xx.c
1782
static int mxl862xx_get_sset_count(struct dsa_switch *ds, int port, int sset)
drivers/net/dsa/mxl862xx/mxl862xx.c
1790
static int mxl862xx_read_rmon(struct dsa_switch *ds, int port,
drivers/net/dsa/mxl862xx/mxl862xx.c
1800
static void mxl862xx_get_ethtool_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/mxl862xx/mxl862xx.c
1825
static void mxl862xx_get_eth_mac_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/mxl862xx/mxl862xx.c
1850
static void mxl862xx_get_eth_ctrl_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/mxl862xx/mxl862xx.c
1862
static void mxl862xx_get_pause_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/mxl862xx/mxl862xx.c
1874
static void mxl862xx_get_rmon_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/mxl862xx/mxl862xx.c
1926
static void mxl862xx_stats_poll(struct dsa_switch *ds, int port)
drivers/net/dsa/mxl862xx/mxl862xx.c
2015
struct dsa_switch *ds = priv->ds;
drivers/net/dsa/mxl862xx/mxl862xx.c
2026
static void mxl862xx_get_stats64(struct dsa_switch *ds, int port,
drivers/net/dsa/mxl862xx/mxl862xx.c
2095
struct dsa_switch *ds;
drivers/net/dsa/mxl862xx/mxl862xx.c
2144
struct dsa_switch *ds = dev_get_drvdata(&mdiodev->dev);
drivers/net/dsa/mxl862xx/mxl862xx.c
2171
struct dsa_switch *ds = dev_get_drvdata(&mdiodev->dev);
drivers/net/dsa/mxl862xx/mxl862xx.c
225
static int mxl862xx_wait_ready(struct dsa_switch *ds)
drivers/net/dsa/mxl862xx/mxl862xx.c
267
static int mxl862xx_setup_mdio(struct dsa_switch *ds)
drivers/net/dsa/mxl862xx/mxl862xx.c
299
static int mxl862xx_bridge_config_fwd(struct dsa_switch *ds, u16 bridge_id,
drivers/net/dsa/mxl862xx/mxl862xx.c
341
static int mxl862xx_setup_drop_meter(struct dsa_switch *ds)
drivers/net/dsa/mxl862xx/mxl862xx.c
384
static int mxl862xx_set_bridge_port(struct dsa_switch *ds, int port)
drivers/net/dsa/mxl862xx/mxl862xx.c
506
static int mxl862xx_sync_bridge_members(struct dsa_switch *ds,
drivers/net/dsa/mxl862xx/mxl862xx.c
599
static void mxl862xx_free_bridge(struct dsa_switch *ds,
drivers/net/dsa/mxl862xx/mxl862xx.c
619
static int mxl862xx_setup(struct dsa_switch *ds)
drivers/net/dsa/mxl862xx/mxl862xx.c
694
static int mxl862xx_port_state(struct dsa_switch *ds, int port, bool enable)
drivers/net/dsa/mxl862xx/mxl862xx.c
715
static int mxl862xx_port_enable(struct dsa_switch *ds, int port,
drivers/net/dsa/mxl862xx/mxl862xx.c
721
static void mxl862xx_port_disable(struct dsa_switch *ds, int port)
drivers/net/dsa/mxl862xx/mxl862xx.c
727
static void mxl862xx_port_fast_age(struct dsa_switch *ds, int port)
drivers/net/dsa/mxl862xx/mxl862xx.c
738
static int mxl862xx_configure_ctp_port(struct dsa_switch *ds, int port,
drivers/net/dsa/mxl862xx/mxl862xx.c
753
static int mxl862xx_configure_sp_tag_proto(struct dsa_switch *ds, int port,
drivers/net/dsa/mxl862xx/mxl862xx.h
326
struct dsa_switch *ds;
drivers/net/dsa/netc/netc_ethtool.c
124
void netc_port_get_rmon_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/netc/netc_ethtool.c
159
void netc_port_get_eth_ctrl_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/netc/netc_ethtool.c
216
void netc_port_get_eth_mac_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/netc/netc_ethtool.c
236
int netc_port_get_sset_count(struct dsa_switch *ds, int port, int sset)
drivers/net/dsa/netc/netc_ethtool.c
253
void netc_port_get_strings(struct dsa_switch *ds, int port,
drivers/net/dsa/netc/netc_ethtool.c
275
void netc_port_get_ethtool_stats(struct dsa_switch *ds, int port, u64 *data)
drivers/net/dsa/netc/netc_ethtool.c
76
void netc_port_get_pause_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/netc/netc_main.c
1504
static int netc_port_enable(struct dsa_switch *ds, int port,
drivers/net/dsa/netc/netc_main.c
1525
static void netc_port_disable(struct dsa_switch *ds, int port)
drivers/net/dsa/netc/netc_main.c
1541
static void netc_port_stp_state_set(struct dsa_switch *ds,
drivers/net/dsa/netc/netc_main.c
1566
static int netc_port_change_mtu(struct dsa_switch *ds,
drivers/net/dsa/netc/netc_main.c
1576
static int netc_port_max_mtu(struct dsa_switch *ds, int port)
drivers/net/dsa/netc/netc_main.c
1613
static int netc_port_fdb_add(struct dsa_switch *ds, int port,
drivers/net/dsa/netc/netc_main.c
1629
static int netc_port_fdb_del(struct dsa_switch *ds, int port,
drivers/net/dsa/netc/netc_main.c
1645
static int netc_port_fdb_dump(struct dsa_switch *ds, int port,
drivers/net/dsa/netc/netc_main.c
1696
static int netc_port_mdb_add(struct dsa_switch *ds, int port,
drivers/net/dsa/netc/netc_main.c
1703
static int netc_port_mdb_del(struct dsa_switch *ds, int port,
drivers/net/dsa/netc/netc_main.c
1799
static void netc_port_set_host_flood(struct dsa_switch *ds, int port,
drivers/net/dsa/netc/netc_main.c
1837
static int netc_single_vlan_aware_bridge(struct dsa_switch *ds,
drivers/net/dsa/netc/netc_main.c
1866
static int netc_port_vlan_filtering(struct dsa_switch *ds,
drivers/net/dsa/netc/netc_main.c
1913
static int netc_port_vlan_add(struct dsa_switch *ds, int port,
drivers/net/dsa/netc/netc_main.c
1959
static int netc_port_vlan_del(struct dsa_switch *ds, int port,
drivers/net/dsa/netc/netc_main.c
1991
static int netc_port_bridge_join(struct dsa_switch *ds, int port,
drivers/net/dsa/netc/netc_main.c
2050
static void netc_port_bridge_leave(struct dsa_switch *ds, int port,
drivers/net/dsa/netc/netc_main.c
210
struct dsa_switch *ds = priv->ds;
drivers/net/dsa/netc/netc_main.c
2102
static int netc_set_ageing_time(struct dsa_switch *ds, unsigned int msecs)
drivers/net/dsa/netc/netc_main.c
2133
static void netc_port_fast_age(struct dsa_switch *ds, int port)
drivers/net/dsa/netc/netc_main.c
2140
static void netc_phylink_get_caps(struct dsa_switch *ds, int port,
drivers/net/dsa/netc/netc_main.c
2441
struct dsa_switch *ds;
drivers/net/dsa/netc/netc_main.c
62
netc_get_tag_protocol(struct dsa_switch *ds, int port,
drivers/net/dsa/netc/netc_main.c
872
static int netc_setup(struct dsa_switch *ds)
drivers/net/dsa/netc/netc_main.c
958
static void netc_teardown(struct dsa_switch *ds)
drivers/net/dsa/netc/netc_switch.h
119
struct dsa_switch *ds;
drivers/net/dsa/netc/netc_switch.h
192
void netc_port_get_pause_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/netc/netc_switch.h
194
void netc_port_get_rmon_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/netc/netc_switch.h
197
void netc_port_get_eth_ctrl_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/netc/netc_switch.h
199
void netc_port_get_eth_mac_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/netc/netc_switch.h
201
int netc_port_get_sset_count(struct dsa_switch *ds, int port, int sset);
drivers/net/dsa/netc/netc_switch.h
202
void netc_port_get_strings(struct dsa_switch *ds, int port,
drivers/net/dsa/netc/netc_switch.h
204
void netc_port_get_ethtool_stats(struct dsa_switch *ds, int port, u64 *data);
drivers/net/dsa/ocelot/felix.c
101
static int felix_tag_8021q_vlan_add_rx(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
1011
static int felix_bridge_join(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
1021
static void felix_bridge_leave(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
1029
static int felix_lag_join(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
1048
static int felix_lag_leave(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
1062
static int felix_lag_change(struct dsa_switch *ds, int port)
drivers/net/dsa/ocelot/felix.c
1072
static int felix_vlan_prepare(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
1096
static int felix_vlan_filtering(struct dsa_switch *ds, int port, bool enabled,
drivers/net/dsa/ocelot/felix.c
1119
static int felix_vlan_add(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
1136
static int felix_vlan_del(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
1144
static void felix_phylink_get_caps(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
1230
static int felix_port_enable(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
1255
static void felix_port_disable(struct dsa_switch *ds, int port)
drivers/net/dsa/ocelot/felix.c
1291
static void felix_get_stats64(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
1299
static void felix_get_pause_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
1307
static void felix_get_rmon_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
1316
static void felix_get_eth_ctrl_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
1324
static void felix_get_eth_mac_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
1332
static void felix_get_eth_phy_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
1340
static void felix_get_ts_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
1348
static void felix_get_strings(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
1356
static void felix_get_ethtool_stats(struct dsa_switch *ds, int port, u64 *data)
drivers/net/dsa/ocelot/felix.c
1363
static int felix_get_sset_count(struct dsa_switch *ds, int port, int sset)
drivers/net/dsa/ocelot/felix.c
1370
static int felix_get_ts_info(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
149
static int felix_tag_8021q_vlan_del_rx(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
1645
struct dsa_switch *ds = xmit_work->dp->ds;
drivers/net/dsa/ocelot/felix.c
1678
static int felix_connect_tag_protocol(struct dsa_switch *ds,
drivers/net/dsa/ocelot/felix.c
1696
static int felix_setup(struct dsa_switch *ds)
drivers/net/dsa/ocelot/felix.c
171
static int felix_tag_8021q_vlan_add_tx(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
1775
static void felix_teardown(struct dsa_switch *ds)
drivers/net/dsa/ocelot/felix.c
1797
static int felix_hwtstamp_get(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
1807
static int felix_hwtstamp_set(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
1879
static bool felix_rxtstamp(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
1926
static void felix_txtstamp(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
1946
static int felix_change_mtu(struct dsa_switch *ds, int port, int new_mtu)
drivers/net/dsa/ocelot/felix.c
1963
static int felix_get_max_mtu(struct dsa_switch *ds, int port)
drivers/net/dsa/ocelot/felix.c
1970
static int felix_cls_flower_add(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
1987
static int felix_cls_flower_del(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
1995
static int felix_cls_flower_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
2003
static int felix_port_policer_add(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
2016
static void felix_port_policer_del(struct dsa_switch *ds, int port)
drivers/net/dsa/ocelot/felix.c
2023
static int felix_port_mirror_add(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
2033
static void felix_port_mirror_del(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
2041
static int felix_port_setup_tc(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
2054
static int felix_sb_pool_get(struct dsa_switch *ds, unsigned int sb_index,
drivers/net/dsa/ocelot/felix.c
2063
static int felix_sb_pool_set(struct dsa_switch *ds, unsigned int sb_index,
drivers/net/dsa/ocelot/felix.c
2074
static int felix_sb_port_pool_get(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
2084
static int felix_sb_port_pool_set(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
2094
static int felix_sb_tc_pool_bind_get(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
2106
static int felix_sb_tc_pool_bind_set(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
2119
static int felix_sb_occ_snapshot(struct dsa_switch *ds,
drivers/net/dsa/ocelot/felix.c
2127
static int felix_sb_occ_max_clear(struct dsa_switch *ds,
drivers/net/dsa/ocelot/felix.c
2135
static int felix_sb_occ_port_pool_get(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
2145
static int felix_sb_occ_tc_port_bind_get(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
2156
static int felix_mrp_add(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
2164
static int felix_mrp_del(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
2173
felix_mrp_add_ring_role(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
2182
felix_mrp_del_ring_role(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
2190
static int felix_port_get_default_prio(struct dsa_switch *ds, int port)
drivers/net/dsa/ocelot/felix.c
2197
static int felix_port_set_default_prio(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
2205
static int felix_port_get_dscp_prio(struct dsa_switch *ds, int port, u8 dscp)
drivers/net/dsa/ocelot/felix.c
2212
static int felix_port_add_dscp_prio(struct dsa_switch *ds, int port, u8 dscp,
drivers/net/dsa/ocelot/felix.c
2220
static int felix_port_del_dscp_prio(struct dsa_switch *ds, int port, u8 dscp,
drivers/net/dsa/ocelot/felix.c
2228
static int felix_get_mm(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
2236
static int felix_set_mm(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
2245
static void felix_get_mm_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
2259
static int felix_port_hsr_join(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
2284
static int felix_port_hsr_leave(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
238
static int felix_tag_8021q_vlan_del_tx(struct dsa_switch *ds, int port, u16 vid)
drivers/net/dsa/ocelot/felix.c
2396
struct dsa_switch *ds;
drivers/net/dsa/ocelot/felix.c
2440
struct dsa_switch *ds = felix->ds;
drivers/net/dsa/ocelot/felix.c
2452
struct dsa_switch *ds = felix->ds;
drivers/net/dsa/ocelot/felix.c
269
static int felix_tag_8021q_vlan_add(struct dsa_switch *ds, int port, u16 vid,
drivers/net/dsa/ocelot/felix.c
303
static int felix_tag_8021q_vlan_del(struct dsa_switch *ds, int port, u16 vid)
drivers/net/dsa/ocelot/felix.c
332
static int felix_update_tag_8021q_rx_rules(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
361
static int felix_trap_get_cpu_port(struct dsa_switch *ds,
drivers/net/dsa/ocelot/felix.c
380
static int felix_update_trapping_destinations(struct dsa_switch *ds,
drivers/net/dsa/ocelot/felix.c
45
static int felix_cpu_port_for_conduit(struct dsa_switch *ds,
drivers/net/dsa/ocelot/felix.c
483
static int felix_tag_npi_setup(struct dsa_switch *ds)
drivers/net/dsa/ocelot/felix.c
505
static void felix_tag_npi_teardown(struct dsa_switch *ds)
drivers/net/dsa/ocelot/felix.c
512
static unsigned long felix_tag_npi_get_host_fwd_mask(struct dsa_switch *ds)
drivers/net/dsa/ocelot/felix.c
519
static int felix_tag_npi_change_conduit(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
567
static int felix_tag_8021q_setup(struct dsa_switch *ds)
drivers/net/dsa/ocelot/felix.c
623
static void felix_tag_8021q_teardown(struct dsa_switch *ds)
drivers/net/dsa/ocelot/felix.c
648
static unsigned long felix_tag_8021q_get_host_fwd_mask(struct dsa_switch *ds)
drivers/net/dsa/ocelot/felix.c
653
static int felix_tag_8021q_change_conduit(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
673
static void felix_set_host_flood(struct dsa_switch *ds, unsigned long mask,
drivers/net/dsa/ocelot/felix.c
692
felix_migrate_host_flood(struct dsa_switch *ds,
drivers/net/dsa/ocelot/felix.c
710
static int felix_migrate_mdbs(struct dsa_switch *ds,
drivers/net/dsa/ocelot/felix.c
732
felix_tag_proto_setup_shared(struct dsa_switch *ds,
drivers/net/dsa/ocelot/felix.c
754
static int felix_change_tag_protocol(struct dsa_switch *ds,
drivers/net/dsa/ocelot/felix.c
801
static enum dsa_tag_protocol felix_get_tag_protocol(struct dsa_switch *ds,
drivers/net/dsa/ocelot/felix.c
811
static void felix_port_set_host_flood(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
833
static int felix_port_change_conduit(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
843
static int felix_set_ageing_time(struct dsa_switch *ds,
drivers/net/dsa/ocelot/felix.c
853
static void felix_port_fast_age(struct dsa_switch *ds, int port)
drivers/net/dsa/ocelot/felix.c
864
static int felix_fdb_dump(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
872
static int felix_fdb_add(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
893
static int felix_fdb_del(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
914
static int felix_lag_fdb_add(struct dsa_switch *ds, struct dsa_lag lag,
drivers/net/dsa/ocelot/felix.c
927
static int felix_lag_fdb_del(struct dsa_switch *ds, struct dsa_lag lag,
drivers/net/dsa/ocelot/felix.c
940
static int felix_mdb_add(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
960
static int felix_mdb_del(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
980
static void felix_bridge_stp_state_set(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
988
static int felix_pre_bridge_flags(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.c
997
static int felix_bridge_flags(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.h
58
int (*port_setup_tc)(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.h
78
int (*setup)(struct dsa_switch *ds);
drivers/net/dsa/ocelot/felix.h
79
void (*teardown)(struct dsa_switch *ds);
drivers/net/dsa/ocelot/felix.h
80
unsigned long (*get_host_fwd_mask)(struct dsa_switch *ds);
drivers/net/dsa/ocelot/felix.h
81
int (*change_conduit)(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix.h
88
struct dsa_switch *ds;
drivers/net/dsa/ocelot/felix_vsc9959.c
1594
static int vsc9959_qos_port_cbs_set(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix_vsc9959.c
1674
static int vsc9959_port_setup_tc(struct dsa_switch *ds, int port,
drivers/net/dsa/ocelot/felix_vsc9959.c
2546
struct dsa_switch *ds = felix->ds;
drivers/net/dsa/qca/ar9331.c
1034
struct dsa_switch *ds;
drivers/net/dsa/qca/ar9331.c
240
struct dsa_switch ds;
drivers/net/dsa/qca/ar9331.c
392
static int ar9331_sw_setup_port(struct dsa_switch *ds, int port)
drivers/net/dsa/qca/ar9331.c
440
static int ar9331_sw_setup(struct dsa_switch *ds)
drivers/net/dsa/qca/ar9331.c
485
static void ar9331_sw_port_disable(struct dsa_switch *ds, int port)
drivers/net/dsa/qca/ar9331.c
496
static enum dsa_tag_protocol ar9331_sw_get_tag_protocol(struct dsa_switch *ds,
drivers/net/dsa/qca/ar9331.c
503
static void ar9331_sw_phylink_get_caps(struct dsa_switch *ds, int port,
drivers/net/dsa/qca/ar9331.c
668
static void ar9331_get_stats64(struct dsa_switch *ds, int port,
drivers/net/dsa/qca/ar9331.c
679
static void ar9331_get_pause_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/qca/qca8k-8xxx.c
1090
static int qca8k_find_cpu_port(struct dsa_switch *ds)
drivers/net/dsa/qca/qca8k-8xxx.c
1320
struct dsa_switch *ds = dp->ds;
drivers/net/dsa/qca/qca8k-8xxx.c
1400
static void qca8k_phylink_get_caps(struct dsa_switch *ds, int port,
drivers/net/dsa/qca/qca8k-8xxx.c
163
static void qca8k_rw_reg_ack_handler(struct dsa_switch *ds, struct sk_buff *skb)
drivers/net/dsa/qca/qca8k-8xxx.c
1654
static void qca8k_mib_autocast_handler(struct dsa_switch *ds, struct sk_buff *skb)
drivers/net/dsa/qca/qca8k-8xxx.c
1701
qca8k_get_ethtool_stats_eth(struct dsa_switch *ds, int port, u64 *data)
drivers/net/dsa/qca/qca8k-8xxx.c
1739
static u32 qca8k_get_phy_flags(struct dsa_switch *ds, int port)
drivers/net/dsa/qca/qca8k-8xxx.c
1756
qca8k_get_tag_protocol(struct dsa_switch *ds, int port,
drivers/net/dsa/qca/qca8k-8xxx.c
1763
qca8k_conduit_change(struct dsa_switch *ds, const struct net_device *conduit,
drivers/net/dsa/qca/qca8k-8xxx.c
1782
static int qca8k_connect_tag_protocol(struct dsa_switch *ds,
drivers/net/dsa/qca/qca8k-8xxx.c
1843
qca8k_setup(struct dsa_switch *ds)
drivers/net/dsa/qca/qca8k-8xxx.c
949
struct dsa_switch *ds = priv->ds;
drivers/net/dsa/qca/qca8k-common.c
1011
int qca8k_port_vlan_add(struct dsa_switch *ds, int port,
drivers/net/dsa/qca/qca8k-common.c
1041
int qca8k_port_vlan_del(struct dsa_switch *ds, int port,
drivers/net/dsa/qca/qca8k-common.c
1054
static bool qca8k_lag_can_offload(struct dsa_switch *ds,
drivers/net/dsa/qca/qca8k-common.c
1091
static int qca8k_lag_setup_hash(struct dsa_switch *ds,
drivers/net/dsa/qca/qca8k-common.c
1139
static int qca8k_lag_refresh_portmap(struct dsa_switch *ds, int port,
drivers/net/dsa/qca/qca8k-common.c
1208
int qca8k_port_lag_join(struct dsa_switch *ds, int port, struct dsa_lag lag,
drivers/net/dsa/qca/qca8k-common.c
1224
int qca8k_port_lag_leave(struct dsa_switch *ds, int port,
drivers/net/dsa/qca/qca8k-common.c
480
void qca8k_get_strings(struct dsa_switch *ds, int port, u32 stringset,
drivers/net/dsa/qca/qca8k-common.c
493
void qca8k_get_ethtool_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/qca/qca8k-common.c
526
int qca8k_get_sset_count(struct dsa_switch *ds, int port, int sset)
drivers/net/dsa/qca/qca8k-common.c
536
int qca8k_set_mac_eee(struct dsa_switch *ds, int port,
drivers/net/dsa/qca/qca8k-common.c
560
static int qca8k_port_configure_learning(struct dsa_switch *ds, int port,
drivers/net/dsa/qca/qca8k-common.c
575
void qca8k_port_stp_state_set(struct dsa_switch *ds, int port, u8 state)
drivers/net/dsa/qca/qca8k-common.c
656
int qca8k_port_pre_bridge_flags(struct dsa_switch *ds, int port,
drivers/net/dsa/qca/qca8k-common.c
666
int qca8k_port_bridge_flags(struct dsa_switch *ds, int port,
drivers/net/dsa/qca/qca8k-common.c
697
int qca8k_port_bridge_join(struct dsa_switch *ds, int port,
drivers/net/dsa/qca/qca8k-common.c
707
void qca8k_port_bridge_leave(struct dsa_switch *ds, int port,
drivers/net/dsa/qca/qca8k-common.c
720
void qca8k_port_fast_age(struct dsa_switch *ds, int port)
drivers/net/dsa/qca/qca8k-common.c
729
int qca8k_set_ageing_time(struct dsa_switch *ds, unsigned int msecs)
drivers/net/dsa/qca/qca8k-common.c
749
int qca8k_port_enable(struct dsa_switch *ds, int port,
drivers/net/dsa/qca/qca8k-common.c
763
void qca8k_port_disable(struct dsa_switch *ds, int port)
drivers/net/dsa/qca/qca8k-common.c
771
int qca8k_port_change_mtu(struct dsa_switch *ds, int port, int new_mtu)
drivers/net/dsa/qca/qca8k-common.c
809
int qca8k_port_max_mtu(struct dsa_switch *ds, int port)
drivers/net/dsa/qca/qca8k-common.c
825
int qca8k_port_fdb_add(struct dsa_switch *ds, int port,
drivers/net/dsa/qca/qca8k-common.c
835
int qca8k_port_fdb_del(struct dsa_switch *ds, int port,
drivers/net/dsa/qca/qca8k-common.c
848
int qca8k_port_fdb_dump(struct dsa_switch *ds, int port,
drivers/net/dsa/qca/qca8k-common.c
871
int qca8k_port_mdb_add(struct dsa_switch *ds, int port,
drivers/net/dsa/qca/qca8k-common.c
886
int qca8k_port_mdb_del(struct dsa_switch *ds, int port,
drivers/net/dsa/qca/qca8k-common.c
900
int qca8k_port_mirror_add(struct dsa_switch *ds, int port,
drivers/net/dsa/qca/qca8k-common.c
955
void qca8k_port_mirror_del(struct dsa_switch *ds, int port,
drivers/net/dsa/qca/qca8k-common.c
991
int qca8k_port_vlan_filtering(struct dsa_switch *ds, int port,
drivers/net/dsa/qca/qca8k.h
379
int (*autocast_mib)(struct dsa_switch *ds, int port, u64 *data);
drivers/net/dsa/qca/qca8k.h
460
struct dsa_switch *ds;
drivers/net/dsa/qca/qca8k.h
517
void qca8k_get_strings(struct dsa_switch *ds, int port, u32 stringset, uint8_t *data);
drivers/net/dsa/qca/qca8k.h
518
void qca8k_get_ethtool_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/qca/qca8k.h
520
int qca8k_get_sset_count(struct dsa_switch *ds, int port, int sset);
drivers/net/dsa/qca/qca8k.h
523
int qca8k_set_mac_eee(struct dsa_switch *ds, int port, struct ethtool_keee *eee);
drivers/net/dsa/qca/qca8k.h
526
void qca8k_port_stp_state_set(struct dsa_switch *ds, int port, u8 state);
drivers/net/dsa/qca/qca8k.h
527
int qca8k_port_pre_bridge_flags(struct dsa_switch *ds, int port,
drivers/net/dsa/qca/qca8k.h
530
int qca8k_port_bridge_flags(struct dsa_switch *ds, int port,
drivers/net/dsa/qca/qca8k.h
533
int qca8k_port_bridge_join(struct dsa_switch *ds, int port,
drivers/net/dsa/qca/qca8k.h
537
void qca8k_port_bridge_leave(struct dsa_switch *ds, int port,
drivers/net/dsa/qca/qca8k.h
541
int qca8k_port_enable(struct dsa_switch *ds, int port,
drivers/net/dsa/qca/qca8k.h
543
void qca8k_port_disable(struct dsa_switch *ds, int port);
drivers/net/dsa/qca/qca8k.h
546
int qca8k_port_change_mtu(struct dsa_switch *ds, int port, int new_mtu);
drivers/net/dsa/qca/qca8k.h
547
int qca8k_port_max_mtu(struct dsa_switch *ds, int port);
drivers/net/dsa/qca/qca8k.h
550
void qca8k_port_fast_age(struct dsa_switch *ds, int port);
drivers/net/dsa/qca/qca8k.h
551
int qca8k_set_ageing_time(struct dsa_switch *ds, unsigned int msecs);
drivers/net/dsa/qca/qca8k.h
556
int qca8k_port_fdb_add(struct dsa_switch *ds, int port,
drivers/net/dsa/qca/qca8k.h
559
int qca8k_port_fdb_del(struct dsa_switch *ds, int port,
drivers/net/dsa/qca/qca8k.h
562
int qca8k_port_fdb_dump(struct dsa_switch *ds, int port,
drivers/net/dsa/qca/qca8k.h
566
int qca8k_port_mdb_add(struct dsa_switch *ds, int port,
drivers/net/dsa/qca/qca8k.h
569
int qca8k_port_mdb_del(struct dsa_switch *ds, int port,
drivers/net/dsa/qca/qca8k.h
574
int qca8k_port_mirror_add(struct dsa_switch *ds, int port,
drivers/net/dsa/qca/qca8k.h
577
void qca8k_port_mirror_del(struct dsa_switch *ds, int port,
drivers/net/dsa/qca/qca8k.h
581
int qca8k_port_vlan_filtering(struct dsa_switch *ds, int port, bool vlan_filtering,
drivers/net/dsa/qca/qca8k.h
583
int qca8k_port_vlan_add(struct dsa_switch *ds, int port,
drivers/net/dsa/qca/qca8k.h
586
int qca8k_port_vlan_del(struct dsa_switch *ds, int port,
drivers/net/dsa/qca/qca8k.h
590
int qca8k_port_lag_join(struct dsa_switch *ds, int port, struct dsa_lag lag,
drivers/net/dsa/qca/qca8k.h
593
int qca8k_port_lag_leave(struct dsa_switch *ds, int port,
drivers/net/dsa/realtek/realtek.h
180
int rtl8366_vlan_add(struct dsa_switch *ds, int port,
drivers/net/dsa/realtek/realtek.h
183
int rtl8366_vlan_del(struct dsa_switch *ds, int port,
drivers/net/dsa/realtek/realtek.h
185
void rtl8366_get_strings(struct dsa_switch *ds, int port, u32 stringset,
drivers/net/dsa/realtek/realtek.h
187
int rtl8366_get_sset_count(struct dsa_switch *ds, int port, int sset);
drivers/net/dsa/realtek/realtek.h
188
void rtl8366_get_ethtool_stats(struct dsa_switch *ds, int port, uint64_t *data);
drivers/net/dsa/realtek/realtek.h
84
struct dsa_switch ds;
drivers/net/dsa/realtek/rtl8365mb_main.c
1116
static void rtl8365mb_phylink_get_caps(struct dsa_switch *ds, int port,
drivers/net/dsa/realtek/rtl8365mb_main.c
1234
static int rtl8365mb_port_change_mtu(struct dsa_switch *ds, int port,
drivers/net/dsa/realtek/rtl8365mb_main.c
1258
static int rtl8365mb_port_max_mtu(struct dsa_switch *ds, int port)
drivers/net/dsa/realtek/rtl8365mb_main.c
1263
static void rtl8365mb_port_stp_state_set(struct dsa_switch *ds, int port,
drivers/net/dsa/realtek/rtl8365mb_main.c
1339
static int rtl8365mb_port_vlan_filtering(struct dsa_switch *ds, int port,
drivers/net/dsa/realtek/rtl8365mb_main.c
1449
static int rtl8365mb_port_vlan_add(struct dsa_switch *ds, int port,
drivers/net/dsa/realtek/rtl8365mb_main.c
1512
static int rtl8365mb_port_vlan_del(struct dsa_switch *ds, int port,
drivers/net/dsa/realtek/rtl8365mb_main.c
1550
static int rtl8365mb_vlan_setup(struct dsa_switch *ds)
drivers/net/dsa/realtek/rtl8365mb_main.c
1614
static int rtl8365mb_port_pre_bridge_flags(struct dsa_switch *ds, int port,
drivers/net/dsa/realtek/rtl8365mb_main.c
1723
static void rtl8365mb_get_ethtool_stats(struct dsa_switch *ds, int port, u64 *data)
drivers/net/dsa/realtek/rtl8365mb_main.c
1748
static void rtl8365mb_get_strings(struct dsa_switch *ds, int port, u32 stringset, u8 *data)
drivers/net/dsa/realtek/rtl8365mb_main.c
1761
static int rtl8365mb_get_sset_count(struct dsa_switch *ds, int port, int sset)
drivers/net/dsa/realtek/rtl8365mb_main.c
1769
static void rtl8365mb_get_phy_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/realtek/rtl8365mb_main.c
1785
static void rtl8365mb_get_mac_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/realtek/rtl8365mb_main.c
1870
static void rtl8365mb_get_ctrl_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/realtek/rtl8365mb_main.c
1976
static void rtl8365mb_get_stats64(struct dsa_switch *ds, int port,
drivers/net/dsa/realtek/rtl8365mb_main.c
1994
struct dsa_switch *ds = &priv->ds;
drivers/net/dsa/realtek/rtl8365mb_main.c
2023
struct dsa_switch *ds = &priv->ds;
drivers/net/dsa/realtek/rtl8365mb_main.c
2156
struct dsa_switch *ds = &priv->ds;
drivers/net/dsa/realtek/rtl8365mb_main.c
2282
struct dsa_switch *ds = &priv->ds;
drivers/net/dsa/realtek/rtl8365mb_main.c
2337
static int rtl8365mb_change_tag_protocol(struct dsa_switch *ds,
drivers/net/dsa/realtek/rtl8365mb_main.c
2414
static int rtl8365mb_setup(struct dsa_switch *ds)
drivers/net/dsa/realtek/rtl8365mb_main.c
2591
static void rtl8365mb_teardown(struct dsa_switch *ds)
drivers/net/dsa/realtek/rtl8365mb_main.c
947
rtl8365mb_get_tag_protocol(struct dsa_switch *ds, int port,
drivers/net/dsa/realtek/rtl8365mb_main.c
968
struct dsa_switch *ds = &priv->ds;
drivers/net/dsa/realtek/rtl8365mb_vlan.c
280
rtl8365mb_vlan_4k_port_set(struct dsa_switch *ds, int port,
drivers/net/dsa/realtek/rtl8365mb_vlan.c
338
int rtl8365mb_vlan_4k_port_add(struct dsa_switch *ds, int port,
drivers/net/dsa/realtek/rtl8365mb_vlan.c
361
int rtl8365mb_vlan_4k_port_del(struct dsa_switch *ds, int port,
drivers/net/dsa/realtek/rtl8365mb_vlan.c
529
int rtl8365mb_vlan_mc_port_set(struct dsa_switch *ds, int port,
drivers/net/dsa/realtek/rtl8365mb_vlan.c
767
int rtl8365mb_vlan_pvid_port_set(struct dsa_switch *ds, int port, u16 vid,
drivers/net/dsa/realtek/rtl8365mb_vlan.c
872
int rtl8365mb_vlan_pvid_port_clear(struct dsa_switch *ds, int port, u16 vid)
drivers/net/dsa/realtek/rtl8365mb_vlan.h
31
int rtl8365mb_vlan_4k_port_add(struct dsa_switch *ds, int port,
drivers/net/dsa/realtek/rtl8365mb_vlan.h
34
int rtl8365mb_vlan_4k_port_del(struct dsa_switch *ds, int port,
drivers/net/dsa/realtek/rtl8365mb_vlan.h
36
int rtl8365mb_vlan_pvid_port_set(struct dsa_switch *ds, int port, u16 vid,
drivers/net/dsa/realtek/rtl8365mb_vlan.h
38
int rtl8365mb_vlan_pvid_port_clear(struct dsa_switch *ds, int port, u16 vid);
drivers/net/dsa/realtek/rtl8366-core.c
295
int rtl8366_vlan_add(struct dsa_switch *ds, int port,
drivers/net/dsa/realtek/rtl8366-core.c
350
int rtl8366_vlan_del(struct dsa_switch *ds, int port,
drivers/net/dsa/realtek/rtl8366-core.c
394
void rtl8366_get_strings(struct dsa_switch *ds, int port, u32 stringset,
drivers/net/dsa/realtek/rtl8366-core.c
408
int rtl8366_get_sset_count(struct dsa_switch *ds, int port, int sset)
drivers/net/dsa/realtek/rtl8366-core.c
422
void rtl8366_get_ethtool_stats(struct dsa_switch *ds, int port, uint64_t *data)
drivers/net/dsa/realtek/rtl8366rb-leds.c
149
struct dsa_switch *ds = &priv->ds;
drivers/net/dsa/realtek/rtl8366rb.c
1023
static enum dsa_tag_protocol rtl8366_get_tag_protocol(struct dsa_switch *ds,
drivers/net/dsa/realtek/rtl8366rb.c
1031
static void rtl8366rb_phylink_get_caps(struct dsa_switch *ds, int port,
drivers/net/dsa/realtek/rtl8366rb.c
1159
rtl8366rb_port_enable(struct dsa_switch *ds, int port,
drivers/net/dsa/realtek/rtl8366rb.c
1175
rtl8366rb_port_disable(struct dsa_switch *ds, int port)
drivers/net/dsa/realtek/rtl8366rb.c
1188
rtl8366rb_port_bridge_join(struct dsa_switch *ds, int port,
drivers/net/dsa/realtek/rtl8366rb.c
1222
rtl8366rb_port_bridge_leave(struct dsa_switch *ds, int port,
drivers/net/dsa/realtek/rtl8366rb.c
1266
static int rtl8366rb_vlan_filtering(struct dsa_switch *ds, int port,
drivers/net/dsa/realtek/rtl8366rb.c
1298
rtl8366rb_port_pre_bridge_flags(struct dsa_switch *ds, int port,
drivers/net/dsa/realtek/rtl8366rb.c
1310
rtl8366rb_port_bridge_flags(struct dsa_switch *ds, int port,
drivers/net/dsa/realtek/rtl8366rb.c
1329
rtl8366rb_port_stp_state_set(struct dsa_switch *ds, int port, u8 state)
drivers/net/dsa/realtek/rtl8366rb.c
1363
rtl8366rb_port_fast_age(struct dsa_switch *ds, int port)
drivers/net/dsa/realtek/rtl8366rb.c
1375
static int rtl8366rb_change_mtu(struct dsa_switch *ds, int port, int new_mtu)
drivers/net/dsa/realtek/rtl8366rb.c
1422
static int rtl8366rb_max_mtu(struct dsa_switch *ds, int port)
drivers/net/dsa/realtek/rtl8366rb.c
1593
struct dsa_switch *ds = &priv->ds;
drivers/net/dsa/realtek/rtl8366rb.c
794
static int rtl8366rb_setup(struct dsa_switch *ds)
drivers/net/dsa/realtek/rtl83xx.c
237
struct dsa_switch *ds = &priv->ds;
drivers/net/dsa/realtek/rtl83xx.c
273
struct dsa_switch *ds = &priv->ds;
drivers/net/dsa/realtek/rtl83xx.c
292
struct dsa_switch *ds = &priv->ds;
drivers/net/dsa/realtek/rtl83xx.c
354
int rtl83xx_port_bridge_join(struct dsa_switch *ds, int port,
drivers/net/dsa/realtek/rtl83xx.c
443
void rtl83xx_port_bridge_leave(struct dsa_switch *ds, int port,
drivers/net/dsa/realtek/rtl83xx.c
520
void rtl83xx_port_fast_age(struct dsa_switch *ds, int port)
drivers/net/dsa/realtek/rtl83xx.c
555
int rtl83xx_port_fdb_add(struct dsa_switch *ds, int port,
drivers/net/dsa/realtek/rtl83xx.c
606
int rtl83xx_port_fdb_del(struct dsa_switch *ds, int port,
drivers/net/dsa/realtek/rtl83xx.c
655
int rtl83xx_port_fdb_dump(struct dsa_switch *ds, int port,
drivers/net/dsa/realtek/rtl83xx.c
721
int rtl83xx_port_mdb_add(struct dsa_switch *ds, int port,
drivers/net/dsa/realtek/rtl83xx.c
74
int rtl83xx_setup_user_mdio(struct dsa_switch *ds)
drivers/net/dsa/realtek/rtl83xx.c
767
int rtl83xx_port_mdb_del(struct dsa_switch *ds, int port,
drivers/net/dsa/realtek/rtl83xx.c
811
int rtl83xx_port_bridge_flags(struct dsa_switch *ds, int port,
drivers/net/dsa/realtek/rtl83xx.h
13
int rtl83xx_setup_user_mdio(struct dsa_switch *ds);
drivers/net/dsa/realtek/rtl83xx.h
24
int rtl83xx_port_bridge_join(struct dsa_switch *ds, int port,
drivers/net/dsa/realtek/rtl83xx.h
28
void rtl83xx_port_bridge_leave(struct dsa_switch *ds, int port,
drivers/net/dsa/realtek/rtl83xx.h
30
int rtl83xx_port_bridge_flags(struct dsa_switch *ds, int port,
drivers/net/dsa/realtek/rtl83xx.h
35
void rtl83xx_port_fast_age(struct dsa_switch *ds, int port);
drivers/net/dsa/realtek/rtl83xx.h
36
int rtl83xx_port_fdb_add(struct dsa_switch *ds, int port,
drivers/net/dsa/realtek/rtl83xx.h
39
int rtl83xx_port_fdb_del(struct dsa_switch *ds, int port,
drivers/net/dsa/realtek/rtl83xx.h
42
int rtl83xx_port_fdb_dump(struct dsa_switch *ds, int port,
drivers/net/dsa/realtek/rtl83xx.h
44
int rtl83xx_port_mdb_add(struct dsa_switch *ds, int port,
drivers/net/dsa/realtek/rtl83xx.h
47
int rtl83xx_port_mdb_del(struct dsa_switch *ds, int port,
drivers/net/dsa/rzn1_a5psw.c
1211
struct dsa_switch *ds;
drivers/net/dsa/rzn1_a5psw.c
187
static void a5psw_port_disable(struct dsa_switch *ds, int port)
drivers/net/dsa/rzn1_a5psw.c
195
static int a5psw_port_enable(struct dsa_switch *ds, int port,
drivers/net/dsa/rzn1_a5psw.c
206
static int a5psw_port_change_mtu(struct dsa_switch *ds, int port, int new_mtu)
drivers/net/dsa/rzn1_a5psw.c
216
static int a5psw_port_max_mtu(struct dsa_switch *ds, int port)
drivers/net/dsa/rzn1_a5psw.c
221
static void a5psw_phylink_get_caps(struct dsa_switch *ds, int port,
drivers/net/dsa/rzn1_a5psw.c
300
static int a5psw_set_ageing_time(struct dsa_switch *ds, unsigned int msecs)
drivers/net/dsa/rzn1_a5psw.c
358
static int a5psw_port_bridge_join(struct dsa_switch *ds, int port,
drivers/net/dsa/rzn1_a5psw.c
380
static void a5psw_port_bridge_leave(struct dsa_switch *ds, int port,
drivers/net/dsa/rzn1_a5psw.c
394
static int a5psw_port_pre_bridge_flags(struct dsa_switch *ds, int port,
drivers/net/dsa/rzn1_a5psw.c
406
a5psw_port_bridge_flags(struct dsa_switch *ds, int port,
drivers/net/dsa/rzn1_a5psw.c
447
static void a5psw_port_stp_state_set(struct dsa_switch *ds, int port, u8 state)
drivers/net/dsa/rzn1_a5psw.c
481
static void a5psw_port_fast_age(struct dsa_switch *ds, int port)
drivers/net/dsa/rzn1_a5psw.c
507
static int a5psw_port_fdb_add(struct dsa_switch *ds, int port,
drivers/net/dsa/rzn1_a5psw.c
558
static int a5psw_port_fdb_del(struct dsa_switch *ds, int port,
drivers/net/dsa/rzn1_a5psw.c
617
static int a5psw_port_fdb_dump(struct dsa_switch *ds, int port,
drivers/net/dsa/rzn1_a5psw.c
653
static int a5psw_port_vlan_filtering(struct dsa_switch *ds, int port,
drivers/net/dsa/rzn1_a5psw.c
739
static int a5psw_port_vlan_add(struct dsa_switch *ds, int port,
drivers/net/dsa/rzn1_a5psw.c
770
static int a5psw_port_vlan_del(struct dsa_switch *ds, int port,
drivers/net/dsa/rzn1_a5psw.c
798
static void a5psw_get_strings(struct dsa_switch *ds, int port, u32 stringset,
drivers/net/dsa/rzn1_a5psw.c
810
static void a5psw_get_ethtool_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/rzn1_a5psw.c
820
static int a5psw_get_sset_count(struct dsa_switch *ds, int port, int sset)
drivers/net/dsa/rzn1_a5psw.c
828
static void a5psw_get_eth_mac_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/rzn1_a5psw.c
867
static void a5psw_get_rmon_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/rzn1_a5psw.c
890
static void a5psw_get_eth_ctrl_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/rzn1_a5psw.c
923
static int a5psw_setup(struct dsa_switch *ds)
drivers/net/dsa/rzn1_a5psw.c
95
static enum dsa_tag_protocol a5psw_get_tag_protocol(struct dsa_switch *ds,
drivers/net/dsa/rzn1_a5psw.h
257
struct dsa_switch ds;
drivers/net/dsa/sja1105/sja1105.h
142
int (*reset_cmd)(struct dsa_switch *ds);
drivers/net/dsa/sja1105/sja1105.h
145
int (*fdb_add_cmd)(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105.h
147
int (*fdb_del_cmd)(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105.h
151
bool (*rxtstamp)(struct dsa_switch *ds, int port, struct sk_buff *skb);
drivers/net/dsa/sja1105/sja1105.h
152
void (*txtstamp)(struct dsa_switch *ds, int port, struct sk_buff *skb);
drivers/net/dsa/sja1105/sja1105.h
261
struct dsa_switch *ds;
drivers/net/dsa/sja1105/sja1105.h
305
int sja1105_vlan_filtering(struct dsa_switch *ds, int port, bool enabled,
drivers/net/dsa/sja1105/sja1105.h
310
int sja1105_mdiobus_register(struct dsa_switch *ds);
drivers/net/dsa/sja1105/sja1105.h
311
void sja1105_mdiobus_unregister(struct dsa_switch *ds);
drivers/net/dsa/sja1105/sja1105.h
320
int sja1105_devlink_setup(struct dsa_switch *ds);
drivers/net/dsa/sja1105/sja1105.h
321
void sja1105_devlink_teardown(struct dsa_switch *ds);
drivers/net/dsa/sja1105/sja1105.h
322
int sja1105_devlink_info_get(struct dsa_switch *ds,
drivers/net/dsa/sja1105/sja1105.h
374
void sja1105_get_ethtool_stats(struct dsa_switch *ds, int port, u64 *data);
drivers/net/dsa/sja1105/sja1105.h
375
void sja1105_get_strings(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105.h
377
int sja1105_get_sset_count(struct dsa_switch *ds, int port, int sset);
drivers/net/dsa/sja1105/sja1105.h
405
int sja1105et_fdb_add(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105.h
407
int sja1105et_fdb_del(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105.h
409
int sja1105pqrs_fdb_add(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105.h
411
int sja1105pqrs_fdb_del(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105.h
415
int sja1105_cls_flower_del(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105.h
417
int sja1105_cls_flower_add(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105.h
419
int sja1105_cls_flower_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105.h
421
void sja1105_flower_setup(struct dsa_switch *ds);
drivers/net/dsa/sja1105/sja1105.h
422
void sja1105_flower_teardown(struct dsa_switch *ds);
drivers/net/dsa/sja1105/sja1105_clocking.c
812
struct dsa_switch *ds = priv->ds;
drivers/net/dsa/sja1105/sja1105_devlink.c
108
static void sja1105_teardown_devlink_regions(struct dsa_switch *ds)
drivers/net/dsa/sja1105/sja1105_devlink.c
119
int sja1105_devlink_info_get(struct dsa_switch *ds,
drivers/net/dsa/sja1105/sja1105_devlink.c
130
int sja1105_devlink_setup(struct dsa_switch *ds)
drivers/net/dsa/sja1105/sja1105_devlink.c
135
void sja1105_devlink_teardown(struct dsa_switch *ds)
drivers/net/dsa/sja1105/sja1105_devlink.c
41
struct dsa_switch *ds = dsa_devlink_to_ds(dl);
drivers/net/dsa/sja1105/sja1105_devlink.c
77
static int sja1105_setup_devlink_regions(struct dsa_switch *ds)
drivers/net/dsa/sja1105/sja1105_ethtool.c
561
void sja1105_get_ethtool_stats(struct dsa_switch *ds, int port, u64 *data)
drivers/net/dsa/sja1105/sja1105_ethtool.c
587
void sja1105_get_strings(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105_ethtool.c
610
int sja1105_get_sset_count(struct dsa_switch *ds, int port, int sset)
drivers/net/dsa/sja1105/sja1105_flower.c
346
int sja1105_cls_flower_add(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105_flower.c
38
struct dsa_switch *ds = priv->ds;
drivers/net/dsa/sja1105/sja1105_flower.c
462
int sja1105_cls_flower_del(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105_flower.c
502
int sja1105_cls_flower_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105_flower.c
523
void sja1105_flower_setup(struct dsa_switch *ds)
drivers/net/dsa/sja1105/sja1105_flower.c
534
void sja1105_flower_teardown(struct dsa_switch *ds)
drivers/net/dsa/sja1105/sja1105_main.c
1010
struct dsa_switch *ds = priv->ds;
drivers/net/dsa/sja1105/sja1105_main.c
118
static int sja1105_commit_pvid(struct dsa_switch *ds, int port)
drivers/net/dsa/sja1105/sja1105_main.c
1369
static void sja1105_phylink_get_caps(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105_main.c
1526
int sja1105et_fdb_add(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105_main.c
1611
int sja1105et_fdb_del(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105_main.c
1646
int sja1105pqrs_fdb_add(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105_main.c
1737
int sja1105pqrs_fdb_del(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105_main.c
1774
static int sja1105_fdb_add(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105_main.c
1801
static int __sja1105_fdb_del(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105_main.c
1823
static int sja1105_fdb_del(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105_main.c
1837
static int sja1105_fdb_dump(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105_main.c
1886
static void sja1105_fast_age(struct dsa_switch *ds, int port)
drivers/net/dsa/sja1105/sja1105_main.c
1938
static int sja1105_mdb_add(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105_main.c
1945
static int sja1105_mdb_del(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105_main.c
1961
struct dsa_switch *ds = priv->ds;
drivers/net/dsa/sja1105/sja1105_main.c
1996
static int sja1105_bridge_member(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105_main.c
201
struct dsa_switch *ds = priv->ds;
drivers/net/dsa/sja1105/sja1105_main.c
2045
static void sja1105_bridge_stp_state_set(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105_main.c
2086
static int sja1105_bridge_join(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105_main.c
2107
static void sja1105_bridge_leave(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105_main.c
2169
static int sja1105_setup_tc_cbs(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105_main.c
2264
struct dsa_switch *ds = priv->ds;
drivers/net/dsa/sja1105/sja1105_main.c
2356
sja1105_get_tag_protocol(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105_main.c
2368
int sja1105_vlan_filtering(struct dsa_switch *ds, int port, bool enabled,
drivers/net/dsa/sja1105/sja1105_main.c
2499
static int sja1105_bridge_vlan_add(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105_main.c
252
struct dsa_switch *ds = priv->ds;
drivers/net/dsa/sja1105/sja1105_main.c
2529
static int sja1105_bridge_vlan_del(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105_main.c
2545
static int sja1105_dsa_8021q_vlan_add(struct dsa_switch *ds, int port, u16 vid,
drivers/net/dsa/sja1105/sja1105_main.c
2568
static int sja1105_dsa_8021q_vlan_del(struct dsa_switch *ds, int port, u16 vid)
drivers/net/dsa/sja1105/sja1105_main.c
2575
static int sja1105_prechangeupper(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105_main.c
2603
static int sja1105_mgmt_xmit(struct dsa_switch *ds, int port, int slot,
drivers/net/dsa/sja1105/sja1105_main.c
2672
struct dsa_switch *ds = xmit_work->dp->ds;
drivers/net/dsa/sja1105/sja1105_main.c
2691
static int sja1105_connect_tag_protocol(struct dsa_switch *ds,
drivers/net/dsa/sja1105/sja1105_main.c
2710
static int sja1105_set_ageing_time(struct dsa_switch *ds,
drivers/net/dsa/sja1105/sja1105_main.c
2731
static int sja1105_change_mtu(struct dsa_switch *ds, int port, int new_mtu)
drivers/net/dsa/sja1105/sja1105_main.c
2751
static int sja1105_get_max_mtu(struct dsa_switch *ds, int port)
drivers/net/dsa/sja1105/sja1105_main.c
2756
static int sja1105_port_setup_tc(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105_main.c
2781
struct dsa_switch *ds = priv->ds;
drivers/net/dsa/sja1105/sja1105_main.c
2834
static int sja1105_mirror_add(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105_main.c
2842
static void sja1105_mirror_del(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105_main.c
2849
static int sja1105_port_policer_add(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105_main.c
2869
static void sja1105_port_policer_del(struct dsa_switch *ds, int port)
drivers/net/dsa/sja1105/sja1105_main.c
2954
static int sja1105_port_pre_bridge_flags(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105_main.c
2979
static int sja1105_port_bridge_flags(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105_main.c
3026
static int sja1105_setup(struct dsa_switch *ds)
drivers/net/dsa/sja1105/sja1105_main.c
3120
static void sja1105_teardown(struct dsa_switch *ds)
drivers/net/dsa/sja1105/sja1105_main.c
3242
struct dsa_switch *ds;
drivers/net/dsa/sja1105/sja1105_main.c
415
struct dsa_switch *ds = priv->ds;
drivers/net/dsa/sja1105/sja1105_main.c
473
struct dsa_switch *ds = priv->ds;
drivers/net/dsa/sja1105/sja1105_main.c
511
struct dsa_switch *ds = priv->ds;
drivers/net/dsa/sja1105/sja1105_main.c
645
struct dsa_switch *ds = priv->ds;
drivers/net/dsa/sja1105/sja1105_main.c
794
struct dsa_switch *ds = priv->ds;
drivers/net/dsa/sja1105/sja1105_main.c
87
static int sja1105_drop_untagged(struct dsa_switch *ds, int port, bool drop)
drivers/net/dsa/sja1105/sja1105_mdio.c
371
struct dsa_switch *ds = priv->ds;
drivers/net/dsa/sja1105/sja1105_mdio.c
441
struct dsa_switch *ds = priv->ds;
drivers/net/dsa/sja1105/sja1105_mdio.c
459
int sja1105_mdiobus_register(struct dsa_switch *ds)
drivers/net/dsa/sja1105/sja1105_mdio.c
500
void sja1105_mdiobus_unregister(struct dsa_switch *ds)
drivers/net/dsa/sja1105/sja1105_ptp.c
117
int sja1105_get_ts_info(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105_ptp.c
172
int sja1105_ptp_commit(struct dsa_switch *ds, struct sja1105_ptp_cmd *cmd,
drivers/net/dsa/sja1105/sja1105_ptp.c
206
static u64 sja1105_tstamp_reconstruct(struct dsa_switch *ds, u64 now,
drivers/net/dsa/sja1105/sja1105_ptp.c
251
static int sja1105_ptpegr_ts_poll(struct dsa_switch *ds, int port, u64 *ts)
drivers/net/dsa/sja1105/sja1105_ptp.c
344
struct dsa_switch *ds = priv->ds;
drivers/net/dsa/sja1105/sja1105_ptp.c
379
bool sja1105_rxtstamp(struct dsa_switch *ds, int port, struct sk_buff *skb)
drivers/net/dsa/sja1105/sja1105_ptp.c
395
bool sja1110_rxtstamp(struct dsa_switch *ds, int port, struct sk_buff *skb)
drivers/net/dsa/sja1105/sja1105_ptp.c
409
bool sja1105_port_rxtstamp(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105_ptp.c
417
void sja1110_process_meta_tstamp(struct dsa_switch *ds, int port, u8 ts_id,
drivers/net/dsa/sja1105/sja1105_ptp.c
454
void sja1110_txtstamp(struct dsa_switch *ds, int port, struct sk_buff *skb)
drivers/net/dsa/sja1105/sja1105_ptp.c
480
void sja1105_port_txtstamp(struct dsa_switch *ds, int port, struct sk_buff *skb)
drivers/net/dsa/sja1105/sja1105_ptp.c
498
static int sja1105_ptp_reset(struct dsa_switch *ds)
drivers/net/dsa/sja1105/sja1105_ptp.c
520
int __sja1105_ptp_gettimex(struct dsa_switch *ds, u64 *ns,
drivers/net/dsa/sja1105/sja1105_ptp.c
572
int __sja1105_ptp_settime(struct dsa_switch *ds, u64 ns,
drivers/net/dsa/sja1105/sja1105_ptp.c
61
int sja1105_hwtstamp_set(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105_ptp.c
639
int __sja1105_ptp_adjtime(struct dsa_switch *ds, s64 delta)
drivers/net/dsa/sja1105/sja1105_ptp.c
878
int sja1105_ptp_clock_register(struct dsa_switch *ds)
drivers/net/dsa/sja1105/sja1105_ptp.c
920
void sja1105_ptp_clock_unregister(struct dsa_switch *ds)
drivers/net/dsa/sja1105/sja1105_ptp.c
936
void sja1105_ptp_txtstamp_skb(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105_ptp.c
99
int sja1105_hwtstamp_get(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105_ptp.h
103
int sja1105_get_ts_info(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105_ptp.h
106
void sja1105_ptp_txtstamp_skb(struct dsa_switch *ds, int slot,
drivers/net/dsa/sja1105/sja1105_ptp.h
109
bool sja1105_port_rxtstamp(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105_ptp.h
112
void sja1105_port_txtstamp(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105_ptp.h
115
int sja1105_hwtstamp_get(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105_ptp.h
118
int sja1105_hwtstamp_set(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105_ptp.h
122
int __sja1105_ptp_gettimex(struct dsa_switch *ds, u64 *ns,
drivers/net/dsa/sja1105/sja1105_ptp.h
125
int __sja1105_ptp_settime(struct dsa_switch *ds, u64 ns,
drivers/net/dsa/sja1105/sja1105_ptp.h
128
int __sja1105_ptp_adjtime(struct dsa_switch *ds, s64 delta);
drivers/net/dsa/sja1105/sja1105_ptp.h
130
int sja1105_ptp_commit(struct dsa_switch *ds, struct sja1105_ptp_cmd *cmd,
drivers/net/dsa/sja1105/sja1105_ptp.h
133
bool sja1105_rxtstamp(struct dsa_switch *ds, int port, struct sk_buff *skb);
drivers/net/dsa/sja1105/sja1105_ptp.h
134
bool sja1110_rxtstamp(struct dsa_switch *ds, int port, struct sk_buff *skb);
drivers/net/dsa/sja1105/sja1105_ptp.h
135
void sja1110_txtstamp(struct dsa_switch *ds, int port, struct sk_buff *skb);
drivers/net/dsa/sja1105/sja1105_ptp.h
137
void sja1110_process_meta_tstamp(struct dsa_switch *ds, int port, u8 ts_id,
drivers/net/dsa/sja1105/sja1105_ptp.h
152
static inline int sja1105_ptp_clock_register(struct dsa_switch *ds)
drivers/net/dsa/sja1105/sja1105_ptp.h
157
static inline void sja1105_ptp_clock_unregister(struct dsa_switch *ds) { }
drivers/net/dsa/sja1105/sja1105_ptp.h
159
static inline void sja1105_ptp_txtstamp_skb(struct dsa_switch *ds, int slot,
drivers/net/dsa/sja1105/sja1105_ptp.h
164
static inline int __sja1105_ptp_gettimex(struct dsa_switch *ds, u64 *ns,
drivers/net/dsa/sja1105/sja1105_ptp.h
170
static inline int __sja1105_ptp_settime(struct dsa_switch *ds, u64 ns,
drivers/net/dsa/sja1105/sja1105_ptp.h
176
static inline int __sja1105_ptp_adjtime(struct dsa_switch *ds, s64 delta)
drivers/net/dsa/sja1105/sja1105_ptp.h
181
static inline int sja1105_ptp_commit(struct dsa_switch *ds,
drivers/net/dsa/sja1105/sja1105_ptp.h
93
int sja1105_ptp_clock_register(struct dsa_switch *ds);
drivers/net/dsa/sja1105/sja1105_ptp.h
95
void sja1105_ptp_clock_unregister(struct dsa_switch *ds);
drivers/net/dsa/sja1105/sja1105_spi.c
176
static int sja1105et_reset_cmd(struct dsa_switch *ds)
drivers/net/dsa/sja1105/sja1105_spi.c
186
static int sja1105pqrs_reset_cmd(struct dsa_switch *ds)
drivers/net/dsa/sja1105/sja1105_spi.c
196
static int sja1110_reset_cmd(struct dsa_switch *ds)
drivers/net/dsa/sja1105/sja1105_spi.c
320
struct dsa_switch *ds = priv->ds;
drivers/net/dsa/sja1105/sja1105_tas.c
167
struct dsa_switch *ds = priv->ds;
drivers/net/dsa/sja1105/sja1105_tas.c
21
struct dsa_switch *ds = priv->ds;
drivers/net/dsa/sja1105/sja1105_tas.c
472
struct dsa_switch *ds = priv->ds;
drivers/net/dsa/sja1105/sja1105_tas.c
509
int sja1105_setup_tc_taprio(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105_tas.c
587
struct dsa_switch *ds = priv->ds;
drivers/net/dsa/sja1105/sja1105_tas.c
634
struct dsa_switch *ds = priv->ds;
drivers/net/dsa/sja1105/sja1105_tas.c
661
struct dsa_switch *ds = priv->ds;
drivers/net/dsa/sja1105/sja1105_tas.c
730
struct dsa_switch *ds = priv->ds;
drivers/net/dsa/sja1105/sja1105_tas.c
843
void sja1105_tas_clockstep(struct dsa_switch *ds)
drivers/net/dsa/sja1105/sja1105_tas.c
855
void sja1105_tas_adjfreq(struct dsa_switch *ds)
drivers/net/dsa/sja1105/sja1105_tas.c
871
void sja1105_tas_setup(struct dsa_switch *ds)
drivers/net/dsa/sja1105/sja1105_tas.c
883
void sja1105_tas_teardown(struct dsa_switch *ds)
drivers/net/dsa/sja1105/sja1105_tas.h
53
int sja1105_setup_tc_taprio(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105_tas.h
56
void sja1105_tas_setup(struct dsa_switch *ds);
drivers/net/dsa/sja1105/sja1105_tas.h
58
void sja1105_tas_teardown(struct dsa_switch *ds);
drivers/net/dsa/sja1105/sja1105_tas.h
60
void sja1105_tas_clockstep(struct dsa_switch *ds);
drivers/net/dsa/sja1105/sja1105_tas.h
62
void sja1105_tas_adjfreq(struct dsa_switch *ds);
drivers/net/dsa/sja1105/sja1105_tas.h
76
static inline int sja1105_setup_tc_taprio(struct dsa_switch *ds, int port,
drivers/net/dsa/sja1105/sja1105_tas.h
82
static inline void sja1105_tas_setup(struct dsa_switch *ds) { }
drivers/net/dsa/sja1105/sja1105_tas.h
84
static inline void sja1105_tas_teardown(struct dsa_switch *ds) { }
drivers/net/dsa/sja1105/sja1105_tas.h
86
static inline void sja1105_tas_clockstep(struct dsa_switch *ds) { }
drivers/net/dsa/sja1105/sja1105_tas.h
88
static inline void sja1105_tas_adjfreq(struct dsa_switch *ds) { }
drivers/net/dsa/sja1105/sja1105_tas.h
91
sja1105_gating_check_conflicts(struct dsa_switch *ds, int port,
drivers/net/dsa/vitesse-vsc73xx-core.c
1430
static int vsc73xx_port_enable(struct dsa_switch *ds, int port,
drivers/net/dsa/vitesse-vsc73xx-core.c
1441
static void vsc73xx_port_disable(struct dsa_switch *ds, int port)
drivers/net/dsa/vitesse-vsc73xx-core.c
1478
static void vsc73xx_get_strings(struct dsa_switch *ds, int port, u32 stringset,
drivers/net/dsa/vitesse-vsc73xx-core.c
1528
static int vsc73xx_get_sset_count(struct dsa_switch *ds, int port, int sset)
drivers/net/dsa/vitesse-vsc73xx-core.c
1537
static void vsc73xx_get_ethtool_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/vitesse-vsc73xx-core.c
1566
static int vsc73xx_change_mtu(struct dsa_switch *ds, int port, int new_mtu)
drivers/net/dsa/vitesse-vsc73xx-core.c
1579
static int vsc73xx_get_max_mtu(struct dsa_switch *ds, int port)
drivers/net/dsa/vitesse-vsc73xx-core.c
1584
static void vsc73xx_phylink_get_caps(struct dsa_switch *dsa, int port,
drivers/net/dsa/vitesse-vsc73xx-core.c
1610
vsc73xx_port_vlan_filtering(struct dsa_switch *ds, int port,
drivers/net/dsa/vitesse-vsc73xx-core.c
1628
static int vsc73xx_port_vlan_add(struct dsa_switch *ds, int port,
drivers/net/dsa/vitesse-vsc73xx-core.c
1715
static int vsc73xx_port_vlan_del(struct dsa_switch *ds, int port,
drivers/net/dsa/vitesse-vsc73xx-core.c
1747
static int vsc73xx_tag_8021q_vlan_add(struct dsa_switch *ds, int port, u16 vid,
drivers/net/dsa/vitesse-vsc73xx-core.c
1773
static int vsc73xx_tag_8021q_vlan_del(struct dsa_switch *ds, int port, u16 vid)
drivers/net/dsa/vitesse-vsc73xx-core.c
1799
static int vsc73xx_port_pre_bridge_flags(struct dsa_switch *ds, int port,
drivers/net/dsa/vitesse-vsc73xx-core.c
1809
static int vsc73xx_port_bridge_flags(struct dsa_switch *ds, int port,
drivers/net/dsa/vitesse-vsc73xx-core.c
1824
static void vsc73xx_refresh_fwd_map(struct dsa_switch *ds, int port, u8 state)
drivers/net/dsa/vitesse-vsc73xx-core.c
1881
static void vsc73xx_port_stp_state_set(struct dsa_switch *ds, int port,
drivers/net/dsa/vitesse-vsc73xx-core.c
2137
static int vsc73xx_fdb_add(struct dsa_switch *ds, int port,
drivers/net/dsa/vitesse-vsc73xx-core.c
2158
static int vsc73xx_fdb_del(struct dsa_switch *ds, int port,
drivers/net/dsa/vitesse-vsc73xx-core.c
2179
static int vsc73xx_port_fdb_dump(struct dsa_switch *ds,
drivers/net/dsa/vitesse-vsc73xx-core.c
621
static int vsc73xx_phy_read(struct dsa_switch *ds, int phy, int regnum)
drivers/net/dsa/vitesse-vsc73xx-core.c
662
static int vsc73xx_phy_write(struct dsa_switch *ds, int phy, int regnum,
drivers/net/dsa/vitesse-vsc73xx-core.c
686
static enum dsa_tag_protocol vsc73xx_get_tag_protocol(struct dsa_switch *ds,
drivers/net/dsa/vitesse-vsc73xx-core.c
786
static int vsc73xx_configure_rgmii_port_delay(struct dsa_switch *ds)
drivers/net/dsa/vitesse-vsc73xx-core.c
847
static int vsc73xx_setup(struct dsa_switch *ds)
drivers/net/dsa/vitesse-vsc73xx-core.c
951
static void vsc73xx_teardown(struct dsa_switch *ds)
drivers/net/dsa/vitesse-vsc73xx.h
53
struct dsa_switch *ds;
drivers/net/dsa/xrs700x/xrs700x.c
159
static void xrs700x_get_ethtool_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/xrs700x/xrs700x.c
172
static void xrs700x_get_stats64(struct dsa_switch *ds, int port,
drivers/net/dsa/xrs700x/xrs700x.c
226
static enum dsa_tag_protocol xrs700x_get_tag_protocol(struct dsa_switch *ds,
drivers/net/dsa/xrs700x/xrs700x.c
233
static int xrs700x_reset(struct dsa_switch *ds)
drivers/net/dsa/xrs700x/xrs700x.c
255
static void xrs700x_port_stp_state_set(struct dsa_switch *ds, int port,
drivers/net/dsa/xrs700x/xrs700x.c
297
static int xrs700x_port_add_bpdu_ipf(struct dsa_switch *ds, int port)
drivers/net/dsa/xrs700x/xrs700x.c
340
static int xrs700x_port_add_hsrsup_ipf(struct dsa_switch *ds, int port,
drivers/net/dsa/xrs700x/xrs700x.c
383
static int xrs700x_port_setup(struct dsa_switch *ds, int port)
drivers/net/dsa/xrs700x/xrs700x.c
417
static int xrs700x_setup(struct dsa_switch *ds)
drivers/net/dsa/xrs700x/xrs700x.c
437
static void xrs700x_teardown(struct dsa_switch *ds)
drivers/net/dsa/xrs700x/xrs700x.c
444
static void xrs700x_phylink_get_caps(struct dsa_switch *ds, int port,
drivers/net/dsa/xrs700x/xrs700x.c
508
static int xrs700x_bridge_common(struct dsa_switch *ds, int port,
drivers/net/dsa/xrs700x/xrs700x.c
547
static int xrs700x_bridge_join(struct dsa_switch *ds, int port,
drivers/net/dsa/xrs700x/xrs700x.c
554
static void xrs700x_bridge_leave(struct dsa_switch *ds, int port,
drivers/net/dsa/xrs700x/xrs700x.c
560
static int xrs700x_hsr_join(struct dsa_switch *ds, int port,
drivers/net/dsa/xrs700x/xrs700x.c
669
static int xrs700x_hsr_leave(struct dsa_switch *ds, int port,
drivers/net/dsa/xrs700x/xrs700x.c
776
struct dsa_switch *ds;
drivers/net/dsa/xrs700x/xrs700x.c
86
static void xrs700x_get_strings(struct dsa_switch *ds, int port,
drivers/net/dsa/xrs700x/xrs700x.c
98
static int xrs700x_get_sset_count(struct dsa_switch *ds, int port, int sset)
drivers/net/dsa/xrs700x/xrs700x.h
28
struct dsa_switch *ds;
drivers/net/dsa/yt921x.c
1026
yt921x_dsa_get_pause_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/yt921x.c
1082
yt921x_dsa_set_mac_eee(struct dsa_switch *ds, int port, struct ethtool_keee *e)
drivers/net/dsa/yt921x.c
1102
yt921x_dsa_port_change_mtu(struct dsa_switch *ds, int port, int new_mtu)
drivers/net/dsa/yt921x.c
1126
static int yt921x_dsa_port_max_mtu(struct dsa_switch *ds, int port)
drivers/net/dsa/yt921x.c
1357
static void yt921x_dsa_port_policer_del(struct dsa_switch *ds, int port)
drivers/net/dsa/yt921x.c
1373
yt921x_dsa_port_policer_add(struct dsa_switch *ds, int port,
drivers/net/dsa/yt921x.c
1404
yt921x_dsa_port_setup_tc_tbf_port(struct dsa_switch *ds, int port,
drivers/net/dsa/yt921x.c
1456
yt921x_dsa_port_setup_tc(struct dsa_switch *ds, int port,
drivers/net/dsa/yt921x.c
2453
yt921x_dsa_cls_flower_del(struct dsa_switch *ds, int port,
drivers/net/dsa/yt921x.c
2467
yt921x_dsa_cls_flower_add(struct dsa_switch *ds, int port,
drivers/net/dsa/yt921x.c
2539
yt921x_dsa_port_mirror_del(struct dsa_switch *ds, int port,
drivers/net/dsa/yt921x.c
2556
yt921x_dsa_port_mirror_add(struct dsa_switch *ds, int port,
drivers/net/dsa/yt921x.c
2627
yt921x_dsa_port_lag_leave(struct dsa_switch *ds, int port, struct dsa_lag lag)
drivers/net/dsa/yt921x.c
2649
yt921x_dsa_port_lag_check(struct dsa_switch *ds, struct dsa_lag lag,
drivers/net/dsa/yt921x.c
2688
yt921x_dsa_port_lag_join(struct dsa_switch *ds, int port, struct dsa_lag lag,
drivers/net/dsa/yt921x.c
3112
yt921x_dsa_port_fdb_dump(struct dsa_switch *ds, int port,
drivers/net/dsa/yt921x.c
3128
static void yt921x_dsa_port_fast_age(struct dsa_switch *ds, int port)
drivers/net/dsa/yt921x.c
3144
yt921x_dsa_set_ageing_time(struct dsa_switch *ds, unsigned int msecs)
drivers/net/dsa/yt921x.c
3161
yt921x_dsa_port_fdb_del(struct dsa_switch *ds, int port,
drivers/net/dsa/yt921x.c
3175
yt921x_dsa_port_fdb_add(struct dsa_switch *ds, int port,
drivers/net/dsa/yt921x.c
3189
yt921x_dsa_port_mdb_del(struct dsa_switch *ds, int port,
drivers/net/dsa/yt921x.c
3206
yt921x_dsa_port_mdb_add(struct dsa_switch *ds, int port,
drivers/net/dsa/yt921x.c
3371
yt921x_dsa_port_vlan_filtering(struct dsa_switch *ds, int port,
drivers/net/dsa/yt921x.c
3389
yt921x_dsa_port_vlan_del(struct dsa_switch *ds, int port,
drivers/net/dsa/yt921x.c
3422
yt921x_dsa_port_vlan_add(struct dsa_switch *ds, int port,
drivers/net/dsa/yt921x.c
3636
struct dsa_switch *ds = &priv->ds;
drivers/net/dsa/yt921x.c
3656
yt921x_dsa_port_pre_bridge_flags(struct dsa_switch *ds, int port,
drivers/net/dsa/yt921x.c
3667
yt921x_dsa_port_bridge_flags(struct dsa_switch *ds, int port,
drivers/net/dsa/yt921x.c
3685
yt921x_dsa_port_bridge_leave(struct dsa_switch *ds, int port,
drivers/net/dsa/yt921x.c
3705
yt921x_dsa_port_bridge_join(struct dsa_switch *ds, int port,
drivers/net/dsa/yt921x.c
3727
yt921x_dsa_port_mst_state_set(struct dsa_switch *ds, int port,
drivers/net/dsa/yt921x.c
3761
yt921x_dsa_vlan_msti_set(struct dsa_switch *ds, struct dsa_bridge bridge,
drivers/net/dsa/yt921x.c
3788
yt921x_dsa_port_stp_state_set(struct dsa_switch *ds, int port, u8 state)
drivers/net/dsa/yt921x.c
3840
yt921x_dsa_port_get_default_prio(struct dsa_switch *ds, int port)
drivers/net/dsa/yt921x.c
3857
yt921x_dsa_port_set_default_prio(struct dsa_switch *ds, int port, u8 prio)
drivers/net/dsa/yt921x.c
3882
yt921x_dsa_port_get_apptrust(struct dsa_switch *ds, int port, u8 *sel,
drivers/net/dsa/yt921x.c
3916
yt921x_dsa_port_set_apptrust(struct dsa_switch *ds, int port, const u8 *sel,
drivers/net/dsa/yt921x.c
4219
yt921x_dsa_phylink_get_caps(struct dsa_switch *ds, int port,
drivers/net/dsa/yt921x.c
4271
struct dsa_switch *ds = &priv->ds;
drivers/net/dsa/yt921x.c
4311
yt921x_dsa_get_tag_protocol(struct dsa_switch *ds, int port,
drivers/net/dsa/yt921x.c
4317
static int yt921x_dsa_port_setup(struct dsa_switch *ds, int port)
drivers/net/dsa/yt921x.c
4331
yt921x_dsa_port_get_dscp_prio(struct dsa_switch *ds, int port, u8 dscp)
drivers/net/dsa/yt921x.c
4348
yt921x_dsa_port_del_dscp_prio(struct dsa_switch *ds, int port, u8 dscp, u8 prio)
drivers/net/dsa/yt921x.c
4373
yt921x_dsa_port_add_dscp_prio(struct dsa_switch *ds, int port, u8 dscp, u8 prio)
drivers/net/dsa/yt921x.c
4546
struct dsa_switch *ds = &priv->ds;
drivers/net/dsa/yt921x.c
4743
static int yt921x_dsa_setup(struct dsa_switch *ds)
drivers/net/dsa/yt921x.c
4919
struct dsa_switch *ds;
drivers/net/dsa/yt921x.c
833
yt921x_dsa_get_strings(struct dsa_switch *ds, int port, u32 stringset,
drivers/net/dsa/yt921x.c
848
yt921x_dsa_get_ethtool_stats(struct dsa_switch *ds, int port, uint64_t *data)
drivers/net/dsa/yt921x.c
871
static int yt921x_dsa_get_sset_count(struct dsa_switch *ds, int port, int sset)
drivers/net/dsa/yt921x.c
889
yt921x_dsa_get_eth_mac_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/yt921x.c
925
yt921x_dsa_get_eth_ctrl_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/yt921x.c
953
yt921x_dsa_get_rmon_stats(struct dsa_switch *ds, int port,
drivers/net/dsa/yt921x.c
990
yt921x_dsa_get_stats64(struct dsa_switch *ds, int port,
drivers/net/dsa/yt921x.h
949
struct dsa_switch ds;
include/linux/dsa/8021q.h
16
int dsa_tag_8021q_register(struct dsa_switch *ds, __be16 proto);
include/linux/dsa/8021q.h
18
void dsa_tag_8021q_unregister(struct dsa_switch *ds);
include/linux/dsa/8021q.h
20
int dsa_tag_8021q_bridge_join(struct dsa_switch *ds, int port,
include/linux/dsa/8021q.h
24
void dsa_tag_8021q_bridge_leave(struct dsa_switch *ds, int port,
include/linux/dsa/ksz_common.h
34
void (*hwtstamp_set_state)(struct dsa_switch *ds, bool on);
include/linux/dsa/ksz_common.h
48
ksz_tagger_data(struct dsa_switch *ds)
include/linux/dsa/lan9303.h
27
struct dsa_switch *ds;
include/linux/dsa/ocelot.h
180
ocelot_8021q_tagger_data(struct dsa_switch *ds)
include/linux/dsa/sja1105.h
52
void (*meta_tstamp_handler)(struct dsa_switch *ds, int port, u8 ts_id,
include/linux/dsa/sja1105.h
67
sja1105_tagger_data(struct dsa_switch *ds)
include/linux/dsa/tag_qca.h
8
struct dsa_switch;
include/linux/dsa/tag_qca.h
81
void (*rw_reg_ack_handler)(struct dsa_switch *ds,
include/linux/dsa/tag_qca.h
83
void (*mib_autocast_handler)(struct dsa_switch *ds,
include/net/dsa.h
100
struct dsa_switch;
include/net/dsa.h
1000
int (*port_set_mac_address)(struct dsa_switch *ds, int port,
include/net/dsa.h
1009
struct dsa_port *(*preferred_default_local_cpu_port)(struct dsa_switch *ds);
include/net/dsa.h
1014
bool (*support_eee)(struct dsa_switch *ds, int port);
include/net/dsa.h
1015
int (*set_mac_eee)(struct dsa_switch *ds, int port,
include/net/dsa.h
1019
int (*get_eeprom_len)(struct dsa_switch *ds);
include/net/dsa.h
1020
int (*get_eeprom)(struct dsa_switch *ds,
include/net/dsa.h
1022
int (*set_eeprom)(struct dsa_switch *ds,
include/net/dsa.h
1028
int (*get_regs_len)(struct dsa_switch *ds, int port);
include/net/dsa.h
1029
void (*get_regs)(struct dsa_switch *ds, int port,
include/net/dsa.h
1035
int (*port_prechangeupper)(struct dsa_switch *ds, int port,
include/net/dsa.h
1041
int (*set_ageing_time)(struct dsa_switch *ds, unsigned int msecs);
include/net/dsa.h
1042
int (*port_bridge_join)(struct dsa_switch *ds, int port,
include/net/dsa.h
1046
void (*port_bridge_leave)(struct dsa_switch *ds, int port,
include/net/dsa.h
1048
void (*port_stp_state_set)(struct dsa_switch *ds, int port,
include/net/dsa.h
1050
int (*port_mst_state_set)(struct dsa_switch *ds, int port,
include/net/dsa.h
1052
void (*port_fast_age)(struct dsa_switch *ds, int port);
include/net/dsa.h
1053
int (*port_vlan_fast_age)(struct dsa_switch *ds, int port, u16 vid);
include/net/dsa.h
1054
int (*port_pre_bridge_flags)(struct dsa_switch *ds, int port,
include/net/dsa.h
1057
int (*port_bridge_flags)(struct dsa_switch *ds, int port,
include/net/dsa.h
1060
void (*port_set_host_flood)(struct dsa_switch *ds, int port,
include/net/dsa.h
1066
int (*port_vlan_filtering)(struct dsa_switch *ds, int port,
include/net/dsa.h
1069
int (*port_vlan_add)(struct dsa_switch *ds, int port,
include/net/dsa.h
107
int (*connect)(struct dsa_switch *ds);
include/net/dsa.h
1072
int (*port_vlan_del)(struct dsa_switch *ds, int port,
include/net/dsa.h
1074
int (*vlan_msti_set)(struct dsa_switch *ds, struct dsa_bridge bridge,
include/net/dsa.h
108
void (*disconnect)(struct dsa_switch *ds);
include/net/dsa.h
1080
int (*port_fdb_add)(struct dsa_switch *ds, int port,
include/net/dsa.h
1083
int (*port_fdb_del)(struct dsa_switch *ds, int port,
include/net/dsa.h
1086
int (*port_fdb_dump)(struct dsa_switch *ds, int port,
include/net/dsa.h
1088
int (*lag_fdb_add)(struct dsa_switch *ds, struct dsa_lag lag,
include/net/dsa.h
1091
int (*lag_fdb_del)(struct dsa_switch *ds, struct dsa_lag lag,
include/net/dsa.h
1098
int (*port_mdb_add)(struct dsa_switch *ds, int port,
include/net/dsa.h
1101
int (*port_mdb_del)(struct dsa_switch *ds, int port,
include/net/dsa.h
1107
int (*get_rxnfc)(struct dsa_switch *ds, int port,
include/net/dsa.h
1109
int (*set_rxnfc)(struct dsa_switch *ds, int port,
include/net/dsa.h
1115
int (*cls_flower_add)(struct dsa_switch *ds, int port,
include/net/dsa.h
1117
int (*cls_flower_del)(struct dsa_switch *ds, int port,
include/net/dsa.h
1119
int (*cls_flower_stats)(struct dsa_switch *ds, int port,
include/net/dsa.h
1121
int (*port_mirror_add)(struct dsa_switch *ds, int port,
include/net/dsa.h
1124
void (*port_mirror_del)(struct dsa_switch *ds, int port,
include/net/dsa.h
1126
int (*port_policer_add)(struct dsa_switch *ds, int port,
include/net/dsa.h
1129
void (*port_policer_del)(struct dsa_switch *ds, int port);
include/net/dsa.h
1130
int (*port_setup_tc)(struct dsa_switch *ds, int port,
include/net/dsa.h
1136
int (*crosschip_bridge_join)(struct dsa_switch *ds, int tree_index,
include/net/dsa.h
1140
void (*crosschip_bridge_leave)(struct dsa_switch *ds, int tree_index,
include/net/dsa.h
1143
int (*crosschip_lag_change)(struct dsa_switch *ds, int sw_index,
include/net/dsa.h
1145
int (*crosschip_lag_join)(struct dsa_switch *ds, int sw_index,
include/net/dsa.h
1149
int (*crosschip_lag_leave)(struct dsa_switch *ds, int sw_index,
include/net/dsa.h
1155
int (*port_hwtstamp_get)(struct dsa_switch *ds, int port,
include/net/dsa.h
1157
int (*port_hwtstamp_set)(struct dsa_switch *ds, int port,
include/net/dsa.h
1160
void (*port_txtstamp)(struct dsa_switch *ds, int port,
include/net/dsa.h
1162
bool (*port_rxtstamp)(struct dsa_switch *ds, int port,
include/net/dsa.h
1166
int (*devlink_param_get)(struct dsa_switch *ds, u32 id,
include/net/dsa.h
1168
int (*devlink_param_set)(struct dsa_switch *ds, u32 id,
include/net/dsa.h
1170
int (*devlink_info_get)(struct dsa_switch *ds,
include/net/dsa.h
1173
int (*devlink_sb_pool_get)(struct dsa_switch *ds,
include/net/dsa.h
1176
int (*devlink_sb_pool_set)(struct dsa_switch *ds, unsigned int sb_index,
include/net/dsa.h
1180
int (*devlink_sb_port_pool_get)(struct dsa_switch *ds, int port,
include/net/dsa.h
1183
int (*devlink_sb_port_pool_set)(struct dsa_switch *ds, int port,
include/net/dsa.h
1187
int (*devlink_sb_tc_pool_bind_get)(struct dsa_switch *ds, int port,
include/net/dsa.h
1191
int (*devlink_sb_tc_pool_bind_set)(struct dsa_switch *ds, int port,
include/net/dsa.h
1196
int (*devlink_sb_occ_snapshot)(struct dsa_switch *ds,
include/net/dsa.h
1198
int (*devlink_sb_occ_max_clear)(struct dsa_switch *ds,
include/net/dsa.h
1200
int (*devlink_sb_occ_port_pool_get)(struct dsa_switch *ds, int port,
include/net/dsa.h
1203
int (*devlink_sb_occ_tc_port_bind_get)(struct dsa_switch *ds, int port,
include/net/dsa.h
1214
int (*port_change_mtu)(struct dsa_switch *ds, int port,
include/net/dsa.h
1216
int (*port_max_mtu)(struct dsa_switch *ds, int port);
include/net/dsa.h
1221
int (*port_lag_change)(struct dsa_switch *ds, int port);
include/net/dsa.h
1222
int (*port_lag_join)(struct dsa_switch *ds, int port,
include/net/dsa.h
1226
int (*port_lag_leave)(struct dsa_switch *ds, int port,
include/net/dsa.h
1232
int (*port_hsr_join)(struct dsa_switch *ds, int port,
include/net/dsa.h
1235
int (*port_hsr_leave)(struct dsa_switch *ds, int port,
include/net/dsa.h
1241
int (*port_mrp_add)(struct dsa_switch *ds, int port,
include/net/dsa.h
1243
int (*port_mrp_del)(struct dsa_switch *ds, int port,
include/net/dsa.h
1245
int (*port_mrp_add_ring_role)(struct dsa_switch *ds, int port,
include/net/dsa.h
1247
int (*port_mrp_del_ring_role)(struct dsa_switch *ds, int port,
include/net/dsa.h
1253
int (*tag_8021q_vlan_add)(struct dsa_switch *ds, int port, u16 vid,
include/net/dsa.h
1255
int (*tag_8021q_vlan_del)(struct dsa_switch *ds, int port, u16 vid);
include/net/dsa.h
1260
void (*conduit_state_change)(struct dsa_switch *ds,
include/net/dsa.h
1275
int dsa_devlink_params_register(struct dsa_switch *ds,
include/net/dsa.h
1278
void dsa_devlink_params_unregister(struct dsa_switch *ds,
include/net/dsa.h
1281
int dsa_devlink_resource_register(struct dsa_switch *ds,
include/net/dsa.h
1288
void dsa_devlink_resources_unregister(struct dsa_switch *ds);
include/net/dsa.h
1290
void dsa_devlink_resource_occ_get_register(struct dsa_switch *ds,
include/net/dsa.h
1294
void dsa_devlink_resource_occ_get_unregister(struct dsa_switch *ds,
include/net/dsa.h
1297
dsa_devlink_region_create(struct dsa_switch *ds,
include/net/dsa.h
1301
dsa_devlink_port_region_create(struct dsa_switch *ds,
include/net/dsa.h
1310
struct dsa_switch *ds;
include/net/dsa.h
1313
static inline struct dsa_switch *dsa_devlink_to_ds(struct devlink *dl)
include/net/dsa.h
1321
struct dsa_switch *dsa_devlink_port_to_ds(struct devlink_port *port)
include/net/dsa.h
1334
bool dsa_fdb_present_in_other_db(struct dsa_switch *ds, int port,
include/net/dsa.h
1337
bool dsa_mdb_present_in_other_db(struct dsa_switch *ds, int port,
include/net/dsa.h
1341
int dsa_port_simple_hsr_validate(struct dsa_switch *ds, int port,
include/net/dsa.h
1344
int dsa_port_simple_hsr_join(struct dsa_switch *ds, int port,
include/net/dsa.h
1347
int dsa_port_simple_hsr_leave(struct dsa_switch *ds, int port,
include/net/dsa.h
1385
void dsa_unregister_switch(struct dsa_switch *ds);
include/net/dsa.h
1386
int dsa_register_switch(struct dsa_switch *ds);
include/net/dsa.h
1387
void dsa_switch_shutdown(struct dsa_switch *ds);
include/net/dsa.h
1388
struct dsa_switch *dsa_switch_find(int tree_index, int sw_index);
include/net/dsa.h
1391
int dsa_switch_suspend(struct dsa_switch *ds);
include/net/dsa.h
1392
int dsa_switch_resume(struct dsa_switch *ds);
include/net/dsa.h
1394
static inline int dsa_switch_suspend(struct dsa_switch *ds)
include/net/dsa.h
1398
static inline int dsa_switch_resume(struct dsa_switch *ds)
include/net/dsa.h
1414
void dsa_port_phylink_mac_change(struct dsa_switch *ds, int port, bool up);
include/net/dsa.h
1415
bool dsa_supports_eee(struct dsa_switch *ds, int port);
include/net/dsa.h
259
struct dsa_switch *ds;
include/net/dsa.h
515
static inline struct dsa_port *dsa_to_port(struct dsa_switch *ds, int p)
include/net/dsa.h
553
static inline bool dsa_is_unused_port(struct dsa_switch *ds, int p)
include/net/dsa.h
558
static inline bool dsa_is_cpu_port(struct dsa_switch *ds, int p)
include/net/dsa.h
563
static inline bool dsa_is_dsa_port(struct dsa_switch *ds, int p)
include/net/dsa.h
568
static inline bool dsa_is_user_port(struct dsa_switch *ds, int p)
include/net/dsa.h
617
static inline u32 dsa_user_ports(struct dsa_switch *ds)
include/net/dsa.h
628
static inline u32 dsa_cpu_ports(struct dsa_switch *ds)
include/net/dsa.h
640
static inline unsigned int dsa_routing_port(struct dsa_switch *ds, int device)
include/net/dsa.h
653
static inline unsigned int dsa_towards_port(struct dsa_switch *ds, int device,
include/net/dsa.h
663
static inline unsigned int dsa_upstream_port(struct dsa_switch *ds, int port)
include/net/dsa.h
675
static inline bool dsa_is_upstream_port(struct dsa_switch *ds, int port)
include/net/dsa.h
684
static inline bool dsa_is_downstream_port(struct dsa_switch *ds, int port)
include/net/dsa.h
690
static inline unsigned int dsa_switch_upstream_port(struct dsa_switch *ds)
include/net/dsa.h
705
static inline bool dsa_switch_is_upstream_of(struct dsa_switch *upstream_ds,
include/net/dsa.h
706
struct dsa_switch *downstream_ds)
include/net/dsa.h
720
const struct dsa_switch *ds = dp->ds;
include/net/dsa.h
841
dsa_bridge_ports(struct dsa_switch *ds, const struct net_device *bdev)
include/net/dsa.h
868
enum dsa_tag_protocol (*get_tag_protocol)(struct dsa_switch *ds,
include/net/dsa.h
871
int (*change_tag_protocol)(struct dsa_switch *ds,
include/net/dsa.h
878
int (*connect_tag_protocol)(struct dsa_switch *ds,
include/net/dsa.h
881
int (*port_change_conduit)(struct dsa_switch *ds, int port,
include/net/dsa.h
886
int (*setup)(struct dsa_switch *ds);
include/net/dsa.h
887
void (*teardown)(struct dsa_switch *ds);
include/net/dsa.h
892
int (*port_setup)(struct dsa_switch *ds, int port);
include/net/dsa.h
893
void (*port_teardown)(struct dsa_switch *ds, int port);
include/net/dsa.h
895
u32 (*get_phy_flags)(struct dsa_switch *ds, int port);
include/net/dsa.h
900
int (*phy_read)(struct dsa_switch *ds, int port, int regnum);
include/net/dsa.h
901
int (*phy_write)(struct dsa_switch *ds, int port,
include/net/dsa.h
907
void (*phylink_get_caps)(struct dsa_switch *ds, int port,
include/net/dsa.h
909
void (*phylink_fixed_state)(struct dsa_switch *ds, int port,
include/net/dsa.h
914
void (*get_strings)(struct dsa_switch *ds, int port,
include/net/dsa.h
916
void (*get_ethtool_stats)(struct dsa_switch *ds,
include/net/dsa.h
918
int (*get_sset_count)(struct dsa_switch *ds, int port, int sset);
include/net/dsa.h
919
void (*get_ethtool_phy_stats)(struct dsa_switch *ds,
include/net/dsa.h
921
void (*get_eth_phy_stats)(struct dsa_switch *ds, int port,
include/net/dsa.h
923
void (*get_eth_mac_stats)(struct dsa_switch *ds, int port,
include/net/dsa.h
925
void (*get_eth_ctrl_stats)(struct dsa_switch *ds, int port,
include/net/dsa.h
927
void (*get_rmon_stats)(struct dsa_switch *ds, int port,
include/net/dsa.h
930
void (*get_ts_stats)(struct dsa_switch *ds, int port,
include/net/dsa.h
932
void (*get_stats64)(struct dsa_switch *ds, int port,
include/net/dsa.h
934
void (*get_pause_stats)(struct dsa_switch *ds, int port,
include/net/dsa.h
936
void (*self_test)(struct dsa_switch *ds, int port,
include/net/dsa.h
942
void (*get_wol)(struct dsa_switch *ds, int port,
include/net/dsa.h
944
int (*set_wol)(struct dsa_switch *ds, int port,
include/net/dsa.h
950
int (*get_ts_info)(struct dsa_switch *ds, int port,
include/net/dsa.h
956
int (*get_mm)(struct dsa_switch *ds, int port,
include/net/dsa.h
958
int (*set_mm)(struct dsa_switch *ds, int port,
include/net/dsa.h
961
void (*get_mm_stats)(struct dsa_switch *ds, int port,
include/net/dsa.h
967
int (*port_get_default_prio)(struct dsa_switch *ds, int port);
include/net/dsa.h
968
int (*port_set_default_prio)(struct dsa_switch *ds, int port,
include/net/dsa.h
970
int (*port_get_dscp_prio)(struct dsa_switch *ds, int port, u8 dscp);
include/net/dsa.h
971
int (*port_add_dscp_prio)(struct dsa_switch *ds, int port, u8 dscp,
include/net/dsa.h
973
int (*port_del_dscp_prio)(struct dsa_switch *ds, int port, u8 dscp,
include/net/dsa.h
975
int (*port_set_apptrust)(struct dsa_switch *ds, int port,
include/net/dsa.h
977
int (*port_get_apptrust)(struct dsa_switch *ds, int port, u8 *sel,
include/net/dsa.h
983
int (*suspend)(struct dsa_switch *ds);
include/net/dsa.h
984
int (*resume)(struct dsa_switch *ds);
include/net/dsa.h
989
int (*port_enable)(struct dsa_switch *ds, int port,
include/net/dsa.h
991
void (*port_disable)(struct dsa_switch *ds, int port);
net/dsa/conduit.c
135
struct dsa_switch *ds = cpu_dp->ds;
net/dsa/conduit.c
155
static void dsa_conduit_append_port_sset_count(struct dsa_switch *ds, int port,
net/dsa/conduit.c
189
static ssize_t dsa_conduit_append_port_strings(struct dsa_switch *ds, int port,
net/dsa/conduit.c
24
struct dsa_switch *ds = cpu_dp->ds;
net/dsa/conduit.c
266
struct dsa_switch *ds = cpu_dp->ds;
net/dsa/conduit.c
286
struct dsa_switch *ds = cpu_dp->ds;
net/dsa/conduit.c
422
struct dsa_switch *ds = cpu_dp->ds;
net/dsa/conduit.c
54
struct dsa_switch *ds = cpu_dp->ds;
net/dsa/conduit.c
84
static ssize_t dsa_conduit_append_port_stats(struct dsa_switch *ds, int port,
net/dsa/devlink.c
103
struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp);
net/dsa/devlink.c
118
struct dsa_switch *ds = dsa_devlink_to_ds(dl);
net/dsa/devlink.c
129
struct dsa_switch *ds = dsa_devlink_to_ds(dl);
net/dsa/devlink.c
142
struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp);
net/dsa/devlink.c
15
struct dsa_switch *ds = dsa_devlink_to_ds(dl);
net/dsa/devlink.c
158
struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp);
net/dsa/devlink.c
188
struct dsa_switch *ds = dsa_devlink_to_ds(dl);
net/dsa/devlink.c
201
struct dsa_switch *ds = dsa_devlink_to_ds(dl);
net/dsa/devlink.c
210
int dsa_devlink_params_register(struct dsa_switch *ds,
net/dsa/devlink.c
218
void dsa_devlink_params_unregister(struct dsa_switch *ds,
net/dsa/devlink.c
226
int dsa_devlink_resource_register(struct dsa_switch *ds,
net/dsa/devlink.c
245
void dsa_devlink_resources_unregister(struct dsa_switch *ds)
net/dsa/devlink.c
251
void dsa_devlink_resource_occ_get_register(struct dsa_switch *ds,
net/dsa/devlink.c
263
void dsa_devlink_resource_occ_get_unregister(struct dsa_switch *ds,
net/dsa/devlink.c
27
struct dsa_switch *ds = dsa_devlink_to_ds(dl);
net/dsa/devlink.c
273
dsa_devlink_region_create(struct dsa_switch *ds,
net/dsa/devlink.c
283
dsa_devlink_port_region_create(struct dsa_switch *ds,
net/dsa/devlink.c
308
struct dsa_switch *ds = dp->ds;
net/dsa/devlink.c
358
struct dsa_switch *ds = dp->ds;
net/dsa/devlink.c
368
void dsa_switch_devlink_register(struct dsa_switch *ds)
net/dsa/devlink.c
373
void dsa_switch_devlink_unregister(struct dsa_switch *ds)
net/dsa/devlink.c
378
int dsa_switch_devlink_alloc(struct dsa_switch *ds)
net/dsa/devlink.c
398
void dsa_switch_devlink_free(struct dsa_switch *ds)
net/dsa/devlink.c
41
struct dsa_switch *ds = dsa_devlink_to_ds(dl);
net/dsa/devlink.c
54
struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp);
net/dsa/devlink.c
69
struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp);
net/dsa/devlink.c
85
struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp);
net/dsa/devlink.h
11
void dsa_switch_devlink_register(struct dsa_switch *ds);
net/dsa/devlink.h
12
void dsa_switch_devlink_unregister(struct dsa_switch *ds);
net/dsa/devlink.h
13
int dsa_switch_devlink_alloc(struct dsa_switch *ds);
net/dsa/devlink.h
14
void dsa_switch_devlink_free(struct dsa_switch *ds);
net/dsa/devlink.h
7
struct dsa_switch;
net/dsa/dsa.c
1086
static struct dsa_port *dsa_port_touch(struct dsa_switch *ds, int index)
net/dsa/dsa.c
1132
struct dsa_switch *mds, *ds = dp->ds;
net/dsa/dsa.c
1158
struct dsa_switch *ds = dp->ds;
net/dsa/dsa.c
1277
static int dsa_switch_parse_ports_of(struct dsa_switch *ds,
net/dsa/dsa.c
1324
static int dsa_switch_parse_member_of(struct dsa_switch *ds,
net/dsa/dsa.c
1354
static int dsa_switch_touch_ports(struct dsa_switch *ds)
net/dsa/dsa.c
1368
static int dsa_switch_parse_of(struct dsa_switch *ds, struct device_node *dn)
net/dsa/dsa.c
1433
static int dsa_switch_parse_ports(struct dsa_switch *ds,
net/dsa/dsa.c
1464
static int dsa_switch_parse(struct dsa_switch *ds, struct dsa_chip_data *cd)
net/dsa/dsa.c
1485
static void dsa_switch_release_ports(struct dsa_switch *ds)
net/dsa/dsa.c
1533
static int dsa_switch_probe(struct dsa_switch *ds)
net/dsa/dsa.c
1575
int dsa_register_switch(struct dsa_switch *ds)
net/dsa/dsa.c
1588
static void dsa_switch_remove(struct dsa_switch *ds)
net/dsa/dsa.c
1597
void dsa_unregister_switch(struct dsa_switch *ds)
net/dsa/dsa.c
1610
void dsa_switch_shutdown(struct dsa_switch *ds)
net/dsa/dsa.c
1656
int dsa_switch_suspend(struct dsa_switch *ds)
net/dsa/dsa.c
1678
int dsa_switch_resume(struct dsa_switch *ds)
net/dsa/dsa.c
1731
bool dsa_fdb_present_in_other_db(struct dsa_switch *ds, int port,
net/dsa/dsa.c
1752
bool dsa_mdb_present_in_other_db(struct dsa_switch *ds, int port,
net/dsa/dsa.c
1776
int dsa_port_simple_hsr_validate(struct dsa_switch *ds, int port,
net/dsa/dsa.c
1797
int dsa_port_simple_hsr_join(struct dsa_switch *ds, int port,
net/dsa/dsa.c
180
struct dsa_switch *dsa_switch_find(int tree_index, int sw_index)
net/dsa/dsa.c
1820
int dsa_port_simple_hsr_leave(struct dsa_switch *ds, int port,
net/dsa/dsa.c
291
struct dsa_switch *ds = dp->ds;
net/dsa/dsa.c
316
struct dsa_switch *ds = dp->ds;
net/dsa/dsa.c
401
dsa_switch_preferred_default_local_cpu_port(struct dsa_switch *ds)
net/dsa/dsa.c
461
struct dsa_switch *ds = dp->ds;
net/dsa/dsa.c
569
static int dsa_switch_setup_tag_protocol(struct dsa_switch *ds)
net/dsa/dsa.c
613
static void dsa_switch_teardown_tag_protocol(struct dsa_switch *ds)
net/dsa/dsa.c
621
static int dsa_switch_setup(struct dsa_switch *ds)
net/dsa/dsa.c
685
static void dsa_switch_teardown(struct dsa_switch *ds)
net/dsa/port.c
107
struct dsa_switch *ds = dp->ds;
net/dsa/port.c
1156
struct dsa_switch *ds = dp->ds;
net/dsa/port.c
120
struct dsa_switch *ds = dp->ds;
net/dsa/port.c
133
struct dsa_switch *ds = dp->ds;
net/dsa/port.c
1356
struct dsa_switch *ds = dp->ds;
net/dsa/port.c
1367
struct dsa_switch *ds = dp->ds;
net/dsa/port.c
1378
struct dsa_switch *ds = dp->ds;
net/dsa/port.c
1389
struct dsa_switch *ds = dp->ds;
net/dsa/port.c
1402
struct dsa_switch *ds = dp->ds;
net/dsa/port.c
1433
struct dsa_switch *ds = dp->ds;
net/dsa/port.c
1584
bool dsa_supports_eee(struct dsa_switch *ds, int port)
net/dsa/port.c
1620
struct dsa_switch *ds = dp->ds;
net/dsa/port.c
1667
struct dsa_switch *ds = dp->ds;
net/dsa/port.c
167
struct dsa_switch *ds = dp->ds;
net/dsa/port.c
181
struct dsa_switch *ds = dp->ds;
net/dsa/port.c
1810
struct dsa_switch *ds = dp->ds;
net/dsa/port.c
1844
struct dsa_switch *ds = dp->ds;
net/dsa/port.c
1853
struct dsa_switch *ds = dp->ds;
net/dsa/port.c
1892
struct dsa_switch *ds = dp->ds;
net/dsa/port.c
1909
struct dsa_switch *ds = dp->ds;
net/dsa/port.c
215
struct dsa_switch *ds = dp->ds;
net/dsa/port.c
247
struct dsa_switch *ds = dp->ds;
net/dsa/port.c
272
struct dsa_switch *ds = dp->ds;
net/dsa/port.c
424
struct dsa_switch *ds = dp->ds;
net/dsa/port.c
473
struct dsa_switch *ds = dp->ds;
net/dsa/port.c
57
struct dsa_switch *ds = dp->ds;
net/dsa/port.c
610
struct dsa_switch *ds = dp->ds;
net/dsa/port.c
70
struct dsa_switch *ds = dp->ds;
net/dsa/port.c
729
struct dsa_switch *ds = dp->ds;
net/dsa/port.c
795
struct dsa_switch *ds = dp->ds;
net/dsa/port.c
867
struct dsa_switch *ds = dp->ds;
net/dsa/port.c
908
struct dsa_switch *ds = dp->ds;
net/dsa/port.c
920
struct dsa_switch *ds = dp->ds;
net/dsa/port.c
949
struct dsa_switch *ds = dp->ds;
net/dsa/port.c
958
struct dsa_switch *ds = dp->ds;
net/dsa/switch.c
1120
int dsa_switch_register_notifier(struct dsa_switch *ds)
net/dsa/switch.c
1127
void dsa_switch_unregister_notifier(struct dsa_switch *ds)
net/dsa/switch.c
113
static int dsa_switch_bridge_leave(struct dsa_switch *ds,
net/dsa/switch.c
162
struct dsa_switch *ds = dp->ds;
net/dsa/switch.c
214
struct dsa_switch *ds = dp->ds;
net/dsa/switch.c
23
static unsigned int dsa_switch_fastest_ageing_time(struct dsa_switch *ds,
net/dsa/switch.c
261
struct dsa_switch *ds = dp->ds;
net/dsa/switch.c
311
struct dsa_switch *ds = dp->ds;
net/dsa/switch.c
35
static int dsa_switch_ageing_time(struct dsa_switch *ds,
net/dsa/switch.c
354
static int dsa_switch_do_lag_fdb_add(struct dsa_switch *ds, struct dsa_lag *lag,
net/dsa/switch.c
396
static int dsa_switch_do_lag_fdb_del(struct dsa_switch *ds, struct dsa_lag *lag,
net/dsa/switch.c
434
static int dsa_switch_host_fdb_add(struct dsa_switch *ds,
net/dsa/switch.c
462
static int dsa_switch_host_fdb_del(struct dsa_switch *ds,
net/dsa/switch.c
490
static int dsa_switch_fdb_add(struct dsa_switch *ds,
net/dsa/switch.c
502
static int dsa_switch_fdb_del(struct dsa_switch *ds,
net/dsa/switch.c
514
static int dsa_switch_lag_fdb_add(struct dsa_switch *ds,
net/dsa/switch.c
532
static int dsa_switch_lag_fdb_del(struct dsa_switch *ds,
net/dsa/switch.c
550
static int dsa_switch_lag_change(struct dsa_switch *ds,
net/dsa/switch.c
563
static int dsa_switch_lag_join(struct dsa_switch *ds,
net/dsa/switch.c
578
static int dsa_switch_lag_leave(struct dsa_switch *ds,
net/dsa/switch.c
591
static int dsa_switch_mdb_add(struct dsa_switch *ds,
net/dsa/switch.c
603
static int dsa_switch_mdb_del(struct dsa_switch *ds,
net/dsa/switch.c
61
static int dsa_switch_mtu(struct dsa_switch *ds,
net/dsa/switch.c
615
static int dsa_switch_host_mdb_add(struct dsa_switch *ds,
net/dsa/switch.c
635
static int dsa_switch_host_mdb_del(struct dsa_switch *ds,
net/dsa/switch.c
692
struct dsa_switch *ds = dp->ds;
net/dsa/switch.c
748
struct dsa_switch *ds = dp->ds;
net/dsa/switch.c
791
static int dsa_switch_vlan_add(struct dsa_switch *ds,
net/dsa/switch.c
812
static int dsa_switch_vlan_del(struct dsa_switch *ds,
net/dsa/switch.c
82
static int dsa_switch_bridge_join(struct dsa_switch *ds,
net/dsa/switch.c
832
static int dsa_switch_host_vlan_add(struct dsa_switch *ds,
net/dsa/switch.c
853
static int dsa_switch_host_vlan_del(struct dsa_switch *ds,
net/dsa/switch.c
873
static int dsa_switch_change_tag_proto(struct dsa_switch *ds,
net/dsa/switch.c
918
dsa_switch_connect_tag_proto(struct dsa_switch *ds,
net/dsa/switch.c
947
dsa_switch_disconnect_tag_proto(struct dsa_switch *ds,
net/dsa/switch.c
963
dsa_switch_conduit_state_change(struct dsa_switch *ds,
net/dsa/switch.c
977
struct dsa_switch *ds = container_of(nb, struct dsa_switch, nb);
net/dsa/switch.h
120
int dsa_switch_register_notifier(struct dsa_switch *ds);
net/dsa/switch.h
121
void dsa_switch_unregister_notifier(struct dsa_switch *ds);
net/dsa/tag.c
33
struct dsa_switch *ds = p->dp->ds;
net/dsa/tag_8021q.c
146
struct dsa_switch *ds = dp->ds;
net/dsa/tag_8021q.c
182
struct dsa_switch *ds = dp->ds;
net/dsa/tag_8021q.c
217
int dsa_switch_tag_8021q_vlan_add(struct dsa_switch *ds,
net/dsa/tag_8021q.c
249
int dsa_switch_tag_8021q_vlan_del(struct dsa_switch *ds,
net/dsa/tag_8021q.c
288
int dsa_tag_8021q_bridge_join(struct dsa_switch *ds, int port,
net/dsa/tag_8021q.c
314
void dsa_tag_8021q_bridge_leave(struct dsa_switch *ds, int port,
net/dsa/tag_8021q.c
339
static int dsa_tag_8021q_port_setup(struct dsa_switch *ds, int port)
net/dsa/tag_8021q.c
369
static void dsa_tag_8021q_port_teardown(struct dsa_switch *ds, int port)
net/dsa/tag_8021q.c
389
static int dsa_tag_8021q_setup(struct dsa_switch *ds)
net/dsa/tag_8021q.c
408
static void dsa_tag_8021q_teardown(struct dsa_switch *ds)
net/dsa/tag_8021q.c
418
int dsa_tag_8021q_register(struct dsa_switch *ds, __be16 proto)
net/dsa/tag_8021q.c
446
void dsa_tag_8021q_unregister(struct dsa_switch *ds)
net/dsa/tag_8021q.c
74
struct dsa_switch *ds;
net/dsa/tag_8021q.h
23
int dsa_switch_tag_8021q_vlan_add(struct dsa_switch *ds,
net/dsa/tag_8021q.h
25
int dsa_switch_tag_8021q_vlan_del(struct dsa_switch *ds,
net/dsa/tag_ksz.c
34
ksz_tagger_private(struct dsa_switch *ds)
net/dsa/tag_ksz.c
39
static void ksz_hwtstamp_set_state(struct dsa_switch *ds, bool on)
net/dsa/tag_ksz.c
49
static void ksz_disconnect(struct dsa_switch *ds)
net/dsa/tag_ksz.c
58
static int ksz_connect(struct dsa_switch *ds)
net/dsa/tag_ocelot.c
15
struct dsa_switch *ds = dp->ds;
net/dsa/tag_ocelot_8021q.c
101
static void ocelot_disconnect(struct dsa_switch *ds)
net/dsa/tag_ocelot_8021q.c
110
static int ocelot_connect(struct dsa_switch *ds)
net/dsa/tag_qca.c
112
static void qca_tag_disconnect(struct dsa_switch *ds)
net/dsa/tag_qca.c
39
struct dsa_switch *ds = dp->ds;
net/dsa/tag_qca.c
99
static int qca_tag_connect(struct dsa_switch *ds)
net/dsa/tag_sja1105.c
177
struct dsa_switch *ds = dp->ds;
net/dsa/tag_sja1105.c
389
struct dsa_switch *ds = dp->ds;
net/dsa/tag_sja1105.c
420
struct dsa_switch *ds = dp->ds;
net/dsa/tag_sja1105.c
537
struct dsa_switch *ds;
net/dsa/tag_sja1105.c
701
static void sja1105_disconnect(struct dsa_switch *ds)
net/dsa/tag_sja1105.c
710
static int sja1105_connect(struct dsa_switch *ds)
net/dsa/tag_sja1105.c
72
sja1105_tagger_private(struct dsa_switch *ds)
net/dsa/user.c
1004
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
1016
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
1028
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
1048
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
1076
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
1099
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
1109
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
1120
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
1132
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
1142
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
1152
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
1166
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
1178
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
1190
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
1199
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
1210
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
1224
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
1257
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
1290
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
1376
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
1463
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
1547
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
1595
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
1609
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
1623
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
1720
static int dsa_user_setup_ft_block(struct dsa_switch *ds, int port,
net/dsa/user.c
1735
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
1756
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
1768
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
1780
struct dsa_switch *ds = p->dp->ds;
net/dsa/user.c
1799
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
1872
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
2106
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
2191
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
2204
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
2217
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
2248
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
2296
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
2360
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
2387
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
2444
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
2537
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
2565
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
2578
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
2615
void dsa_port_phylink_mac_change(struct dsa_switch *ds, int port, bool up)
net/dsa/user.c
2628
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
2641
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
2658
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
2703
const struct dsa_switch *ds = dp->ds;
net/dsa/user.c
2761
struct dsa_switch *ds = port->ds;
net/dsa/user.c
279
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
2902
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
300
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
3184
struct dsa_switch *ds;
net/dsa/user.c
321
struct dsa_switch *ds = bus->priv;
net/dsa/user.c
331
struct dsa_switch *ds = bus->priv;
net/dsa/user.c
339
void dsa_user_mii_bus_init(struct dsa_switch *ds)
net/dsa/user.c
362
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
3635
struct dsa_switch *ds;
net/dsa/user.c
3702
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
390
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
451
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
474
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
68
static bool dsa_switch_supports_uc_filtering(struct dsa_switch *ds)
net/dsa/user.c
75
static bool dsa_switch_supports_mc_filtering(struct dsa_switch *ds)
net/dsa/user.c
884
struct dsa_switch *ds = p->dp->ds;
net/dsa/user.c
90
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
961
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
973
struct dsa_switch *ds = dp->ds;
net/dsa/user.c
989
struct dsa_switch *ds = dp->ds;
net/dsa/user.h
38
void dsa_user_mii_bus_init(struct dsa_switch *ds);