/linux-6.6.21/net/dsa/ |
D | switch.c | 23 static unsigned int dsa_switch_fastest_ageing_time(struct dsa_switch *ds, in dsa_switch_fastest_ageing_time() 35 static int dsa_switch_ageing_time(struct dsa_switch *ds, in dsa_switch_ageing_time() 61 static int dsa_switch_mtu(struct dsa_switch *ds, in dsa_switch_mtu() 82 static int dsa_switch_bridge_join(struct dsa_switch *ds, in dsa_switch_bridge_join() 113 static int dsa_switch_bridge_leave(struct dsa_switch *ds, in dsa_switch_bridge_leave() 162 struct dsa_switch *ds = dp->ds; in dsa_port_do_mdb_add() local 214 struct dsa_switch *ds = dp->ds; in dsa_port_do_mdb_del() local 261 struct dsa_switch *ds = dp->ds; in dsa_port_do_fdb_add() local 311 struct dsa_switch *ds = dp->ds; in dsa_port_do_fdb_del() local 354 static int dsa_switch_do_lag_fdb_add(struct dsa_switch *ds, struct dsa_lag *lag, in dsa_switch_do_lag_fdb_add() [all …]
|
D | devlink.c | 15 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_info_get() local 27 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_sb_pool_get() local 41 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_sb_pool_set() local 54 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); in dsa_devlink_sb_port_pool_get() local 69 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); in dsa_devlink_sb_port_pool_set() local 85 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); in dsa_devlink_sb_tc_pool_bind_get() local 103 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); in dsa_devlink_sb_tc_pool_bind_set() local 118 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_sb_occ_snapshot() local 129 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_sb_occ_max_clear() local 142 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); in dsa_devlink_sb_occ_port_pool_get() local [all …]
|
D | port.c | 57 struct dsa_switch *ds = dp->ds; in dsa_port_fast_age() local 70 struct dsa_switch *ds = dp->ds; in dsa_port_vlan_fast_age() local 107 struct dsa_switch *ds = dp->ds; in dsa_port_can_configure_learning() local 119 struct dsa_switch *ds = dp->ds; in dsa_port_supports_hwtstamp() local 137 struct dsa_switch *ds = dp->ds; in dsa_port_set_state() local 171 struct dsa_switch *ds = dp->ds; in dsa_port_set_state_now() local 185 struct dsa_switch *ds = dp->ds; in dsa_port_set_mst_state() local 219 struct dsa_switch *ds = dp->ds; in dsa_port_enable_rt() local 251 struct dsa_switch *ds = dp->ds; in dsa_port_disable_rt() local 276 struct dsa_switch *ds = dp->ds; in dsa_port_reset_vlan_filtering() local [all …]
|
D | dsa.c | 291 struct dsa_switch *ds = dp->ds; in dsa_link_touch() local 316 struct dsa_switch *ds = dp->ds; in dsa_port_setup_routing_table() local 407 dsa_switch_preferred_default_local_cpu_port(struct dsa_switch *ds) in dsa_switch_preferred_default_local_cpu_port() 467 struct dsa_switch *ds = dp->ds; in dsa_port_setup() local 575 static int dsa_switch_setup_tag_protocol(struct dsa_switch *ds) in dsa_switch_setup_tag_protocol() 619 static void dsa_switch_teardown_tag_protocol(struct dsa_switch *ds) in dsa_switch_teardown_tag_protocol() 627 static int dsa_switch_setup(struct dsa_switch *ds) in dsa_switch_setup() 695 static void dsa_switch_teardown(struct dsa_switch *ds) in dsa_switch_teardown() 1089 static struct dsa_port *dsa_port_touch(struct dsa_switch *ds, int index) in dsa_port_touch() 1135 struct dsa_switch *mds, *ds = dp->ds; in dsa_get_tag_protocol() local [all …]
|
D | slave.c | 68 static bool dsa_switch_supports_uc_filtering(struct dsa_switch *ds) in dsa_switch_supports_uc_filtering() 75 static bool dsa_switch_supports_mc_filtering(struct dsa_switch *ds) in dsa_switch_supports_mc_filtering() 90 struct dsa_switch *ds = dp->ds; in dsa_slave_standalone_event_work() local 279 struct dsa_switch *ds = dp->ds; in dsa_slave_sync_ha() local 300 struct dsa_switch *ds = dp->ds; in dsa_slave_unsync_ha() local 321 struct dsa_switch *ds = bus->priv; in dsa_slave_phy_read() local 331 struct dsa_switch *ds = bus->priv; in dsa_slave_phy_write() local 339 void dsa_slave_mii_bus_init(struct dsa_switch *ds) in dsa_slave_mii_bus_init() 362 struct dsa_switch *ds = dp->ds; in dsa_slave_open() local 403 struct dsa_switch *ds = dp->ds; in dsa_slave_close() local [all …]
|
D | tag_8021q.c | 74 struct dsa_switch *ds; member 146 struct dsa_switch *ds = dp->ds; in dsa_port_do_tag_8021q_vlan_add() local 182 struct dsa_switch *ds = dp->ds; in dsa_port_do_tag_8021q_vlan_del() local 217 int dsa_switch_tag_8021q_vlan_add(struct dsa_switch *ds, in dsa_switch_tag_8021q_vlan_add() 249 int dsa_switch_tag_8021q_vlan_del(struct dsa_switch *ds, in dsa_switch_tag_8021q_vlan_del() 288 int dsa_tag_8021q_bridge_join(struct dsa_switch *ds, int port, in dsa_tag_8021q_bridge_join() 311 void dsa_tag_8021q_bridge_leave(struct dsa_switch *ds, int port, in dsa_tag_8021q_bridge_leave() 336 static int dsa_tag_8021q_port_setup(struct dsa_switch *ds, int port) in dsa_tag_8021q_port_setup() 366 static void dsa_tag_8021q_port_teardown(struct dsa_switch *ds, int port) in dsa_tag_8021q_port_teardown() 386 static int dsa_tag_8021q_setup(struct dsa_switch *ds) in dsa_tag_8021q_setup() [all …]
|
/linux-6.6.21/drivers/net/dsa/ocelot/ |
D | felix.c | 45 static int felix_cpu_port_for_master(struct dsa_switch *ds, in felix_cpu_port_for_master() 67 static int felix_tag_8021q_vlan_add_rx(struct dsa_switch *ds, int port, in felix_tag_8021q_vlan_add_rx() 107 static int felix_tag_8021q_vlan_del_rx(struct dsa_switch *ds, int port, in felix_tag_8021q_vlan_del_rx() 129 static int felix_tag_8021q_vlan_add_tx(struct dsa_switch *ds, int port, in felix_tag_8021q_vlan_add_tx() 196 static int felix_tag_8021q_vlan_del_tx(struct dsa_switch *ds, int port, u16 vid) in felix_tag_8021q_vlan_del_tx() 227 static int felix_tag_8021q_vlan_add(struct dsa_switch *ds, int port, u16 vid, in felix_tag_8021q_vlan_add() 259 static int felix_tag_8021q_vlan_del(struct dsa_switch *ds, int port, u16 vid) in felix_tag_8021q_vlan_del() 286 static int felix_trap_get_cpu_port(struct dsa_switch *ds, in felix_trap_get_cpu_port() 305 static int felix_update_trapping_destinations(struct dsa_switch *ds, in felix_update_trapping_destinations() 408 static int felix_tag_npi_setup(struct dsa_switch *ds) in felix_tag_npi_setup() [all …]
|
/linux-6.6.21/drivers/net/dsa/ |
D | dsa_loop.c | 50 static int dsa_loop_setup_devlink_resources(struct dsa_switch *ds) in dsa_loop_setup_devlink_resources() 78 static enum dsa_tag_protocol dsa_loop_get_protocol(struct dsa_switch *ds, in dsa_loop_get_protocol() 87 static int dsa_loop_setup(struct dsa_switch *ds) in dsa_loop_setup() 101 static void dsa_loop_teardown(struct dsa_switch *ds) in dsa_loop_teardown() 106 static int dsa_loop_get_sset_count(struct dsa_switch *ds, int port, int sset) in dsa_loop_get_sset_count() 114 static void dsa_loop_get_strings(struct dsa_switch *ds, int port, in dsa_loop_get_strings() 128 static void dsa_loop_get_ethtool_stats(struct dsa_switch *ds, int port, in dsa_loop_get_ethtool_stats() 138 static int dsa_loop_phy_read(struct dsa_switch *ds, int port, int regnum) in dsa_loop_phy_read() 153 static int dsa_loop_phy_write(struct dsa_switch *ds, int port, in dsa_loop_phy_write() 169 static int dsa_loop_port_bridge_join(struct dsa_switch *ds, int port, in dsa_loop_port_bridge_join() [all …]
|
D | mt7530.c | 406 mt753x_preferred_default_local_cpu_port(struct dsa_switch *ds) in mt753x_preferred_default_local_cpu_port() 418 mt7530_pad_clk_setup(struct dsa_switch *ds, phy_interface_t interface) in mt7530_pad_clk_setup() 500 mt7531_pad_setup(struct dsa_switch *ds, phy_interface_t interface) in mt7531_pad_setup() 596 mt7530_mib_reset(struct dsa_switch *ds) in mt7530_mib_reset() 830 mt7530_get_strings(struct dsa_switch *ds, int port, u32 stringset, in mt7530_get_strings() 844 mt7530_get_ethtool_stats(struct dsa_switch *ds, int port, in mt7530_get_ethtool_stats() 865 mt7530_get_sset_count(struct dsa_switch *ds, int port, int sset) in mt7530_get_sset_count() 874 mt7530_set_ageing_time(struct dsa_switch *ds, unsigned int msecs) in mt7530_set_ageing_time() 931 static void mt7530_setup_port5(struct dsa_switch *ds, phy_interface_t interface) in mt7530_setup_port5() 1019 mt753x_cpu_port_enable(struct dsa_switch *ds, int port) in mt753x_cpu_port_enable() [all …]
|
D | bcm_sf2.c | 116 static unsigned int bcm_sf2_num_active_ports(struct dsa_switch *ds) in bcm_sf2_num_active_ports() 131 static void bcm_sf2_recalc_clock(struct dsa_switch *ds) in bcm_sf2_recalc_clock() 158 static void bcm_sf2_imp_setup(struct dsa_switch *ds, int port) in bcm_sf2_imp_setup() 202 static void bcm_sf2_gphy_enable_set(struct dsa_switch *ds, bool enable) in bcm_sf2_gphy_enable_set() 280 static int bcm_sf2_port_setup(struct dsa_switch *ds, int port, in bcm_sf2_port_setup() 349 static void bcm_sf2_port_disable(struct dsa_switch *ds, int port) in bcm_sf2_port_disable() 442 struct dsa_switch *ds = dev_id; in bcm_sf2_switch_0_isr() local 454 struct dsa_switch *ds = dev_id; in bcm_sf2_switch_1_isr() local 607 static int bcm_sf2_mdio_register(struct dsa_switch *ds) in bcm_sf2_mdio_register() 708 static u32 bcm_sf2_sw_get_phy_flags(struct dsa_switch *ds, int port) in bcm_sf2_sw_get_phy_flags() [all …]
|
D | rzn1_a5psw.c | 95 static enum dsa_tag_protocol a5psw_get_tag_protocol(struct dsa_switch *ds, in a5psw_get_tag_protocol() 187 static void a5psw_port_disable(struct dsa_switch *ds, int port) in a5psw_port_disable() 195 static int a5psw_port_enable(struct dsa_switch *ds, int port, in a5psw_port_enable() 206 static int a5psw_port_change_mtu(struct dsa_switch *ds, int port, int new_mtu) in a5psw_port_change_mtu() 216 static int a5psw_port_max_mtu(struct dsa_switch *ds, int port) in a5psw_port_max_mtu() 221 static void a5psw_phylink_get_caps(struct dsa_switch *ds, int port, in a5psw_phylink_get_caps() 242 a5psw_phylink_mac_select_pcs(struct dsa_switch *ds, int port, in a5psw_phylink_mac_select_pcs() 254 static void a5psw_phylink_mac_link_down(struct dsa_switch *ds, int port, in a5psw_phylink_mac_link_down() 266 static void a5psw_phylink_mac_link_up(struct dsa_switch *ds, int port, in a5psw_phylink_mac_link_up() 290 static int a5psw_set_ageing_time(struct dsa_switch *ds, unsigned int msecs) in a5psw_set_ageing_time() [all …]
|
D | mv88e6060.c | 45 static enum dsa_tag_protocol mv88e6060_get_tag_protocol(struct dsa_switch *ds, in mv88e6060_get_tag_protocol() 187 static int mv88e6060_setup(struct dsa_switch *ds) in mv88e6060_setup() 225 static int mv88e6060_phy_read(struct dsa_switch *ds, int port, int regnum) in mv88e6060_phy_read() 238 mv88e6060_phy_write(struct dsa_switch *ds, int port, int regnum, u16 val) in mv88e6060_phy_write() 250 static void mv88e6060_phylink_get_caps(struct dsa_switch *ds, int port, in mv88e6060_phylink_get_caps() 306 struct dsa_switch *ds; in mv88e6060_probe() local 339 struct dsa_switch *ds = dev_get_drvdata(&mdiodev->dev); in mv88e6060_remove() local 349 struct dsa_switch *ds = dev_get_drvdata(&mdiodev->dev); in mv88e6060_shutdown() local
|
/linux-6.6.21/drivers/acpi/ |
D | dock.c | 71 static int add_dock_dependent_device(struct dock_station *ds, in add_dock_dependent_device() 132 struct dock_station *ds; in find_dock_station() local 150 find_dock_dependent_device(struct dock_station *ds, struct acpi_device *adev) in find_dock_dependent_device() 164 struct dock_station *ds = find_dock_station(dshandle); in register_dock_dependent_device() local 207 static int dock_present(struct dock_station *ds) in dock_present() 224 static void hot_remove_dock_devices(struct dock_station *ds) in hot_remove_dock_devices() 251 static void hotplug_dock_devices(struct dock_station *ds, u32 event) in hotplug_dock_devices() 281 static void dock_event(struct dock_station *ds, u32 event, int num) in dock_event() 314 static void handle_dock(struct dock_station *ds, int dock) in handle_dock() 334 static inline void dock(struct dock_station *ds) in dock() [all …]
|
/linux-6.6.21/drivers/net/dsa/qca/ |
D | qca8k-common.c | 480 void qca8k_get_strings(struct dsa_switch *ds, int port, u32 stringset, in qca8k_get_strings() 494 void qca8k_get_ethtool_stats(struct dsa_switch *ds, int port, in qca8k_get_ethtool_stats() 527 int qca8k_get_sset_count(struct dsa_switch *ds, int port, int sset) in qca8k_get_sset_count() 537 int qca8k_set_mac_eee(struct dsa_switch *ds, int port, in qca8k_set_mac_eee() 561 int qca8k_get_mac_eee(struct dsa_switch *ds, int port, in qca8k_get_mac_eee() 568 static int qca8k_port_configure_learning(struct dsa_switch *ds, int port, in qca8k_port_configure_learning() 583 void qca8k_port_stp_state_set(struct dsa_switch *ds, int port, u8 state) in qca8k_port_stp_state_set() 618 int qca8k_port_pre_bridge_flags(struct dsa_switch *ds, int port, in qca8k_port_pre_bridge_flags() 628 int qca8k_port_bridge_flags(struct dsa_switch *ds, int port, in qca8k_port_bridge_flags() 644 int qca8k_port_bridge_join(struct dsa_switch *ds, int port, in qca8k_port_bridge_join() [all …]
|
/linux-6.6.21/drivers/net/dsa/b53/ |
D | b53_common.c | 498 void b53_imp_vlan_setup(struct dsa_switch *ds, int cpu_port) in b53_imp_vlan_setup() 562 int b53_enable_port(struct dsa_switch *ds, int port, struct phy_device *phy) in b53_enable_port() 606 void b53_disable_port(struct dsa_switch *ds, int port) in b53_disable_port() 621 void b53_brcm_hdr_setup(struct dsa_switch *ds, int port) in b53_brcm_hdr_setup() 731 static bool b53_vlan_port_needs_forced_tagged(struct dsa_switch *ds, int port) in b53_vlan_port_needs_forced_tagged() 738 int b53_configure_vlan(struct dsa_switch *ds) in b53_configure_vlan() 866 static int b53_phy_read16(struct dsa_switch *ds, int addr, int reg) in b53_phy_read16() 881 static int b53_phy_write16(struct dsa_switch *ds, int addr, int reg, u16 val) in b53_phy_write16() 951 static struct phy_device *b53_get_phy_device(struct dsa_switch *ds, int port) in b53_get_phy_device() 964 void b53_get_strings(struct dsa_switch *ds, int port, u32 stringset, in b53_get_strings() [all …]
|
/linux-6.6.21/drivers/net/dsa/sja1105/ |
D | sja1105_main.c | 86 static int sja1105_drop_untagged(struct dsa_switch *ds, int port, bool drop) in sja1105_drop_untagged() 117 static int sja1105_commit_pvid(struct dsa_switch *ds, int port) in sja1105_commit_pvid() 200 struct dsa_switch *ds = priv->ds; in sja1105_init_mac_settings() local 251 struct dsa_switch *ds = priv->ds; in sja1105_init_mii_settings() local 414 struct dsa_switch *ds = priv->ds; in sja1105_init_l2_lookup_params() local 472 struct dsa_switch *ds = priv->ds; in sja1105_init_static_vlan() local 510 struct dsa_switch *ds = priv->ds; in sja1105_init_l2_forwarding() local 644 struct dsa_switch *ds = priv->ds; in sja1110_init_pcp_remapping() local 793 struct dsa_switch *ds = priv->ds; in sja1105_init_topology() local 1009 struct dsa_switch *ds = priv->ds; in sja1105_init_l2_policing() local [all …]
|
D | sja1105_ptp.c | 61 int sja1105_hwtstamp_set(struct dsa_switch *ds, int port, struct ifreq *ifr) in sja1105_hwtstamp_set() 94 int sja1105_hwtstamp_get(struct dsa_switch *ds, int port, struct ifreq *ifr) in sja1105_hwtstamp_get() 113 int sja1105_get_ts_info(struct dsa_switch *ds, int port, in sja1105_get_ts_info() 168 int sja1105_ptp_commit(struct dsa_switch *ds, struct sja1105_ptp_cmd *cmd, in sja1105_ptp_commit() 202 static u64 sja1105_tstamp_reconstruct(struct dsa_switch *ds, u64 now, in sja1105_tstamp_reconstruct() 247 static int sja1105_ptpegr_ts_poll(struct dsa_switch *ds, int port, u64 *ts) in sja1105_ptpegr_ts_poll() 340 struct dsa_switch *ds = priv->ds; in sja1105_rxtstamp_work() local 375 bool sja1105_rxtstamp(struct dsa_switch *ds, int port, struct sk_buff *skb) in sja1105_rxtstamp() 391 bool sja1110_rxtstamp(struct dsa_switch *ds, int port, struct sk_buff *skb) in sja1110_rxtstamp() 405 bool sja1105_port_rxtstamp(struct dsa_switch *ds, int port, in sja1105_port_rxtstamp() [all …]
|
D | sja1105_tas.c | 21 struct dsa_switch *ds = priv->ds; in sja1105_tas_set_runtime_params() local 167 struct dsa_switch *ds = priv->ds; in sja1105_init_scheduling() local 472 struct dsa_switch *ds = priv->ds; in sja1105_gating_check_conflicts() local 509 int sja1105_setup_tc_taprio(struct dsa_switch *ds, int port, in sja1105_setup_tc_taprio() 587 struct dsa_switch *ds = priv->ds; in sja1105_tas_check_running() local 634 struct dsa_switch *ds = priv->ds; in sja1105_tas_start() local 661 struct dsa_switch *ds = priv->ds; in sja1105_tas_stop() local 730 struct dsa_switch *ds = priv->ds; in sja1105_tas_state_machine() local 845 void sja1105_tas_clockstep(struct dsa_switch *ds) in sja1105_tas_clockstep() 857 void sja1105_tas_adjfreq(struct dsa_switch *ds) in sja1105_tas_adjfreq() [all …]
|
D | sja1105_devlink.c | 41 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in sja1105_region_static_config_snapshot() local 77 static int sja1105_setup_devlink_regions(struct dsa_switch *ds) in sja1105_setup_devlink_regions() 109 static void sja1105_teardown_devlink_regions(struct dsa_switch *ds) in sja1105_teardown_devlink_regions() 120 int sja1105_devlink_info_get(struct dsa_switch *ds, in sja1105_devlink_info_get() 131 int sja1105_devlink_setup(struct dsa_switch *ds) in sja1105_devlink_setup() 136 void sja1105_devlink_teardown(struct dsa_switch *ds) in sja1105_devlink_teardown()
|
/linux-6.6.21/drivers/net/dsa/xrs700x/ |
D | xrs700x.c | 86 static void xrs700x_get_strings(struct dsa_switch *ds, int port, in xrs700x_get_strings() 100 static int xrs700x_get_sset_count(struct dsa_switch *ds, int port, int sset) in xrs700x_get_sset_count() 161 static void xrs700x_get_ethtool_stats(struct dsa_switch *ds, int port, in xrs700x_get_ethtool_stats() 174 static void xrs700x_get_stats64(struct dsa_switch *ds, int port, in xrs700x_get_stats64() 228 static enum dsa_tag_protocol xrs700x_get_tag_protocol(struct dsa_switch *ds, in xrs700x_get_tag_protocol() 235 static int xrs700x_reset(struct dsa_switch *ds) in xrs700x_reset() 257 static void xrs700x_port_stp_state_set(struct dsa_switch *ds, int port, in xrs700x_port_stp_state_set() 299 static int xrs700x_port_add_bpdu_ipf(struct dsa_switch *ds, int port) in xrs700x_port_add_bpdu_ipf() 342 static int xrs700x_port_add_hsrsup_ipf(struct dsa_switch *ds, int port, in xrs700x_port_add_hsrsup_ipf() 385 static int xrs700x_port_setup(struct dsa_switch *ds, int port) in xrs700x_port_setup() [all …]
|
/linux-6.6.21/fs/xfs/scrub/ |
D | dabtree.c | 31 struct xchk_da_btree *ds, in xchk_da_process_error() 68 struct xchk_da_btree *ds, in xchk_da_set_corrupt() 83 struct xchk_da_btree *ds, in xchk_da_btree_node_entry() 98 struct xchk_da_btree *ds, in xchk_da_btree_hash() 130 struct xchk_da_btree *ds, in xchk_da_btree_ptr_ok() 218 struct xchk_da_btree *ds, in xchk_da_btree_block_check_sibling() 278 struct xchk_da_btree *ds, in xchk_da_btree_block_check_siblings() 313 struct xchk_da_btree *ds, in xchk_da_btree_block() 477 struct xchk_da_btree *ds; in xchk_da_btree() local
|
/linux-6.6.21/drivers/net/dsa/microchip/ |
D | ksz_common.c | 1617 static void ksz_phylink_get_caps(struct dsa_switch *ds, int port, in ksz_phylink_get_caps() 1744 static void ksz_get_stats64(struct dsa_switch *ds, int port, in ksz_get_stats64() 1757 static void ksz_get_pause_stats(struct dsa_switch *ds, int port, in ksz_get_pause_stats() 1770 static void ksz_get_strings(struct dsa_switch *ds, int port, in ksz_get_strings() 1788 struct dsa_switch *ds = dev->ds; in ksz_update_port_member() local 1866 struct dsa_switch *ds = dev->ds; in ksz_irq_phy_setup() local 1893 struct dsa_switch *ds = dev->ds; in ksz_irq_phy_free() local 1903 struct dsa_switch *ds = dev->ds; in ksz_mdio_register() local 2106 static int ksz_setup(struct dsa_switch *ds) in ksz_setup() 2211 static void ksz_teardown(struct dsa_switch *ds) in ksz_teardown() [all …]
|
/linux-6.6.21/drivers/net/dsa/hirschmann/ |
D | hellcreek.c | 240 static enum dsa_tag_protocol hellcreek_get_tag_protocol(struct dsa_switch *ds, in hellcreek_get_tag_protocol() 247 static int hellcreek_port_enable(struct dsa_switch *ds, int port, in hellcreek_port_enable() 271 static void hellcreek_port_disable(struct dsa_switch *ds, int port) in hellcreek_port_disable() 292 static void hellcreek_get_strings(struct dsa_switch *ds, int port, in hellcreek_get_strings() 305 static int hellcreek_get_sset_count(struct dsa_switch *ds, int port, int sset) in hellcreek_get_sset_count() 313 static void hellcreek_get_ethtool_stats(struct dsa_switch *ds, int port, in hellcreek_get_ethtool_stats() 352 static int hellcreek_vlan_prepare(struct dsa_switch *ds, int port, in hellcreek_vlan_prepare() 459 static int hellcreek_vlan_add(struct dsa_switch *ds, int port, in hellcreek_vlan_add() 481 static int hellcreek_vlan_del(struct dsa_switch *ds, int port, in hellcreek_vlan_del() 493 static void hellcreek_port_stp_state_set(struct dsa_switch *ds, int port, in hellcreek_port_stp_state_set() [all …]
|
/linux-6.6.21/drivers/net/dsa/mv88e6xxx/ |
D | chip.c | 775 static void mv88e6xxx_get_caps(struct dsa_switch *ds, int port, in mv88e6xxx_get_caps() 793 static struct phylink_pcs *mv88e6xxx_mac_select_pcs(struct dsa_switch *ds, in mv88e6xxx_mac_select_pcs() 807 static int mv88e6xxx_mac_prepare(struct dsa_switch *ds, int port, in mv88e6xxx_mac_prepare() 829 static void mv88e6xxx_mac_config(struct dsa_switch *ds, int port, in mv88e6xxx_mac_config() 852 static int mv88e6xxx_mac_finish(struct dsa_switch *ds, int port, in mv88e6xxx_mac_finish() 879 static void mv88e6xxx_mac_link_down(struct dsa_switch *ds, int port, in mv88e6xxx_mac_link_down() 907 static void mv88e6xxx_mac_link_up(struct dsa_switch *ds, int port, in mv88e6xxx_mac_link_up() 1111 static void mv88e6xxx_get_strings(struct dsa_switch *ds, int port, in mv88e6xxx_get_strings() 1167 static int mv88e6xxx_get_sset_count(struct dsa_switch *ds, int port, int sset) in mv88e6xxx_get_sset_count() 1281 static void mv88e6xxx_get_ethtool_stats(struct dsa_switch *ds, int port, in mv88e6xxx_get_ethtool_stats() [all …]
|
D | devlink.c | 31 int mv88e6xxx_devlink_param_get(struct dsa_switch *ds, u32 id, in mv88e6xxx_devlink_param_get() 53 int mv88e6xxx_devlink_param_set(struct dsa_switch *ds, u32 id, in mv88e6xxx_devlink_param_set() 81 int mv88e6xxx_setup_devlink_params(struct dsa_switch *ds) in mv88e6xxx_setup_devlink_params() 87 void mv88e6xxx_teardown_devlink_params(struct dsa_switch *ds) in mv88e6xxx_teardown_devlink_params() 176 int mv88e6xxx_setup_devlink_resources(struct dsa_switch *ds) in mv88e6xxx_setup_devlink_resources() 270 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in mv88e6xxx_region_global_snapshot() local 376 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in mv88e6xxx_region_atu_snapshot() local 450 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in mv88e6xxx_region_vtu_snapshot() local 533 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in mv88e6xxx_region_stu_snapshot() local 590 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in mv88e6xxx_region_pvt_snapshot() local [all …]
|