/linux-6.1.9/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.1.9/net/dsa/ |
D | switch.c | 17 static unsigned int dsa_switch_fastest_ageing_time(struct dsa_switch *ds, in dsa_switch_fastest_ageing_time() 29 static int dsa_switch_ageing_time(struct dsa_switch *ds, in dsa_switch_ageing_time() 55 static int dsa_switch_mtu(struct dsa_switch *ds, in dsa_switch_mtu() 76 static int dsa_switch_bridge_join(struct dsa_switch *ds, in dsa_switch_bridge_join() 107 static int dsa_switch_bridge_leave(struct dsa_switch *ds, in dsa_switch_bridge_leave() 156 struct dsa_switch *ds = dp->ds; in dsa_port_do_mdb_add() local 201 struct dsa_switch *ds = dp->ds; in dsa_port_do_mdb_del() local 239 struct dsa_switch *ds = dp->ds; in dsa_port_do_fdb_add() local 283 struct dsa_switch *ds = dp->ds; in dsa_port_do_fdb_del() local 318 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 | dsa2.c | 313 struct dsa_switch *ds = dp->ds; in dsa_link_touch() local 338 struct dsa_switch *ds = dp->ds; in dsa_port_setup_routing_table() local 470 struct dsa_switch *ds = dp->ds; in dsa_port_devlink_setup() local 520 struct dsa_switch *ds = dp->ds; in dsa_port_devlink_teardown() local 534 struct dsa_switch *ds = dp->ds; in dsa_port_setup() local 654 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_info_get() local 666 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_sb_pool_get() local 680 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_sb_pool_set() local 693 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); in dsa_devlink_sb_port_pool_get() local 708 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); in dsa_devlink_sb_port_pool_set() local [all …]
|
D | port.c | 53 struct dsa_switch *ds = dp->ds; in dsa_port_fast_age() local 66 struct dsa_switch *ds = dp->ds; in dsa_port_vlan_fast_age() local 103 struct dsa_switch *ds = dp->ds; in dsa_port_can_configure_learning() local 115 struct dsa_switch *ds = dp->ds; in dsa_port_supports_hwtstamp() local 131 struct dsa_switch *ds = dp->ds; in dsa_port_set_state() local 165 struct dsa_switch *ds = dp->ds; in dsa_port_set_state_now() local 179 struct dsa_switch *ds = dp->ds; in dsa_port_set_mst_state() local 213 struct dsa_switch *ds = dp->ds; in dsa_port_enable_rt() local 245 struct dsa_switch *ds = dp->ds; in dsa_port_disable_rt() local 270 struct dsa_switch *ds = dp->ds; in dsa_port_reset_vlan_filtering() local [all …]
|
D | dsa.c | 195 struct dsa_switch *ds = p->dp->ds; in dsa_skb_defer_rx_timestamp() local 279 int dsa_switch_suspend(struct dsa_switch *ds) in dsa_switch_suspend() 301 int dsa_switch_resume(struct dsa_switch *ds) in dsa_switch_resume() 348 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_param_get() local 360 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_param_set() local 369 int dsa_devlink_params_register(struct dsa_switch *ds, in dsa_devlink_params_register() 377 void dsa_devlink_params_unregister(struct dsa_switch *ds, in dsa_devlink_params_unregister() 385 int dsa_devlink_resource_register(struct dsa_switch *ds, in dsa_devlink_resource_register() 399 void dsa_devlink_resources_unregister(struct dsa_switch *ds) in dsa_devlink_resources_unregister() 405 void dsa_devlink_resource_occ_get_register(struct dsa_switch *ds, in dsa_devlink_resource_occ_get_register() [all …]
|
D | slave.c | 35 struct dsa_switch *ds = dp->ds; in dsa_slave_standalone_event_work() local 170 struct dsa_switch *ds = dp->ds; in dsa_slave_sync_ha() local 191 struct dsa_switch *ds = dp->ds; in dsa_slave_unsync_ha() local 212 struct dsa_switch *ds = bus->priv; in dsa_slave_phy_read() local 222 struct dsa_switch *ds = bus->priv; in dsa_slave_phy_write() local 230 void dsa_slave_mii_bus_init(struct dsa_switch *ds) in dsa_slave_mii_bus_init() 253 struct dsa_switch *ds = dp->ds; in dsa_slave_open() local 294 struct dsa_switch *ds = dp->ds; in dsa_slave_close() local 320 struct dsa_switch *ds = dp->ds; in dsa_slave_change_rx_flags() local 344 struct dsa_switch *ds = dp->ds; in dsa_slave_set_mac_address() local [all …]
|
D | tag_8021q.c | 129 struct dsa_switch *ds = dp->ds; in dsa_port_do_tag_8021q_vlan_add() local 165 struct dsa_switch *ds = dp->ds; in dsa_port_do_tag_8021q_vlan_del() local 200 int dsa_switch_tag_8021q_vlan_add(struct dsa_switch *ds, in dsa_switch_tag_8021q_vlan_add() 232 int dsa_switch_tag_8021q_vlan_del(struct dsa_switch *ds, in dsa_switch_tag_8021q_vlan_del() 271 int dsa_tag_8021q_bridge_join(struct dsa_switch *ds, int port, in dsa_tag_8021q_bridge_join() 294 void dsa_tag_8021q_bridge_leave(struct dsa_switch *ds, int port, in dsa_tag_8021q_bridge_leave() 319 static int dsa_tag_8021q_port_setup(struct dsa_switch *ds, int port) in dsa_tag_8021q_port_setup() 349 static void dsa_tag_8021q_port_teardown(struct dsa_switch *ds, int port) in dsa_tag_8021q_port_teardown() 369 static int dsa_tag_8021q_setup(struct dsa_switch *ds) in dsa_tag_8021q_setup() 388 static void dsa_tag_8021q_teardown(struct dsa_switch *ds) in dsa_tag_8021q_teardown() [all …]
|
/linux-6.1.9/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 | rzn1_a5psw.c | 95 static enum dsa_tag_protocol a5psw_get_tag_protocol(struct dsa_switch *ds, in a5psw_get_tag_protocol() 171 static void a5psw_port_disable(struct dsa_switch *ds, int port) in a5psw_port_disable() 179 static int a5psw_port_enable(struct dsa_switch *ds, int port, in a5psw_port_enable() 190 static int a5psw_port_change_mtu(struct dsa_switch *ds, int port, int new_mtu) in a5psw_port_change_mtu() 200 static int a5psw_port_max_mtu(struct dsa_switch *ds, int port) in a5psw_port_max_mtu() 205 static void a5psw_phylink_get_caps(struct dsa_switch *ds, int port, in a5psw_phylink_get_caps() 226 a5psw_phylink_mac_select_pcs(struct dsa_switch *ds, int port, in a5psw_phylink_mac_select_pcs() 238 static void a5psw_phylink_mac_link_down(struct dsa_switch *ds, int port, in a5psw_phylink_mac_link_down() 250 static void a5psw_phylink_mac_link_up(struct dsa_switch *ds, int port, in a5psw_phylink_mac_link_up() 274 static int a5psw_set_ageing_time(struct dsa_switch *ds, unsigned int msecs) in a5psw_set_ageing_time() [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() 702 static u32 bcm_sf2_sw_get_phy_flags(struct dsa_switch *ds, int port) in bcm_sf2_sw_get_phy_flags() [all …]
|
D | mt7530.c | 398 mt7530_pad_clk_setup(struct dsa_switch *ds, phy_interface_t interface) in mt7530_pad_clk_setup() 507 mt7531_pad_setup(struct dsa_switch *ds, phy_interface_t interface) in mt7531_pad_setup() 603 mt7530_mib_reset(struct dsa_switch *ds) in mt7530_mib_reset() 848 mt7530_get_strings(struct dsa_switch *ds, int port, u32 stringset, in mt7530_get_strings() 862 mt7530_get_ethtool_stats(struct dsa_switch *ds, int port, in mt7530_get_ethtool_stats() 883 mt7530_get_sset_count(struct dsa_switch *ds, int port, int sset) in mt7530_get_sset_count() 892 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() 1003 mt753x_cpu_port_enable(struct dsa_switch *ds, int port) in mt753x_cpu_port_enable() 1041 mt7530_port_enable(struct dsa_switch *ds, int port, in mt7530_port_enable() [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() 261 struct dsa_switch *ds; in mv88e6060_probe() local 294 struct dsa_switch *ds = dev_get_drvdata(&mdiodev->dev); in mv88e6060_remove() local 304 struct dsa_switch *ds = dev_get_drvdata(&mdiodev->dev); in mv88e6060_shutdown() local
|
/linux-6.1.9/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.1.9/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.1.9/drivers/net/dsa/sja1105/ |
D | sja1105_main.c | 87 static int sja1105_drop_untagged(struct dsa_switch *ds, int port, bool drop) in sja1105_drop_untagged() 118 static int sja1105_commit_pvid(struct dsa_switch *ds, int port) in sja1105_commit_pvid() 201 struct dsa_switch *ds = priv->ds; in sja1105_init_mac_settings() local 252 struct dsa_switch *ds = priv->ds; in sja1105_init_mii_settings() local 415 struct dsa_switch *ds = priv->ds; in sja1105_init_l2_lookup_params() local 473 struct dsa_switch *ds = priv->ds; in sja1105_init_static_vlan() local 511 struct dsa_switch *ds = priv->ds; in sja1105_init_l2_forwarding() local 645 struct dsa_switch *ds = priv->ds; in sja1110_init_pcp_remapping() local 794 struct dsa_switch *ds = priv->ds; in sja1105_init_topology() local 1010 struct dsa_switch *ds = priv->ds; in sja1105_init_l2_policing() local [all …]
|
D | sja1105_ptp.c | 83 int sja1105_hwtstamp_set(struct dsa_switch *ds, int port, struct ifreq *ifr) in sja1105_hwtstamp_set() 132 int sja1105_hwtstamp_get(struct dsa_switch *ds, int port, struct ifreq *ifr) in sja1105_hwtstamp_get() 152 int sja1105_get_ts_info(struct dsa_switch *ds, int port, in sja1105_get_ts_info() 207 int sja1105_ptp_commit(struct dsa_switch *ds, struct sja1105_ptp_cmd *cmd, in sja1105_ptp_commit() 241 static u64 sja1105_tstamp_reconstruct(struct dsa_switch *ds, u64 now, in sja1105_tstamp_reconstruct() 286 static int sja1105_ptpegr_ts_poll(struct dsa_switch *ds, int port, u64 *ts) in sja1105_ptpegr_ts_poll() 379 struct dsa_switch *ds = priv->ds; in sja1105_rxtstamp_work() local 414 bool sja1105_rxtstamp(struct dsa_switch *ds, int port, struct sk_buff *skb) in sja1105_rxtstamp() 431 bool sja1110_rxtstamp(struct dsa_switch *ds, int port, struct sk_buff *skb) in sja1110_rxtstamp() 445 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() 584 struct dsa_switch *ds = priv->ds; in sja1105_tas_check_running() local 631 struct dsa_switch *ds = priv->ds; in sja1105_tas_start() local 658 struct dsa_switch *ds = priv->ds; in sja1105_tas_stop() local 727 struct dsa_switch *ds = priv->ds; in sja1105_tas_state_machine() local 842 void sja1105_tas_clockstep(struct dsa_switch *ds) in sja1105_tas_clockstep() 854 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() 137 int sja1105_devlink_setup(struct dsa_switch *ds) in sja1105_devlink_setup() 142 void sja1105_devlink_teardown(struct dsa_switch *ds) in sja1105_devlink_teardown()
|
/linux-6.1.9/drivers/net/dsa/qca/ |
D | qca8k-common.c | 511 void qca8k_get_strings(struct dsa_switch *ds, int port, u32 stringset, in qca8k_get_strings() 525 void qca8k_get_ethtool_stats(struct dsa_switch *ds, int port, in qca8k_get_ethtool_stats() 558 int qca8k_get_sset_count(struct dsa_switch *ds, int port, int sset) in qca8k_get_sset_count() 568 int qca8k_set_mac_eee(struct dsa_switch *ds, int port, in qca8k_set_mac_eee() 592 int qca8k_get_mac_eee(struct dsa_switch *ds, int port, in qca8k_get_mac_eee() 599 void qca8k_port_stp_state_set(struct dsa_switch *ds, int port, u8 state) in qca8k_port_stp_state_set() 627 int qca8k_port_bridge_join(struct dsa_switch *ds, int port, in qca8k_port_bridge_join() 663 void qca8k_port_bridge_leave(struct dsa_switch *ds, int port, in qca8k_port_bridge_leave() 691 void qca8k_port_fast_age(struct dsa_switch *ds, int port) in qca8k_port_fast_age() 700 int qca8k_set_ageing_time(struct dsa_switch *ds, unsigned int msecs) in qca8k_set_ageing_time() [all …]
|
/linux-6.1.9/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.1.9/drivers/net/dsa/microchip/ |
D | ksz_common.c | 1480 static void ksz_phylink_get_caps(struct dsa_switch *ds, int port, in ksz_phylink_get_caps() 1560 static void ksz_get_stats64(struct dsa_switch *ds, int port, in ksz_get_stats64() 1573 static void ksz_get_pause_stats(struct dsa_switch *ds, int port, in ksz_get_pause_stats() 1586 static void ksz_get_strings(struct dsa_switch *ds, int port, in ksz_get_strings() 1604 struct dsa_switch *ds = dev->ds; in ksz_update_port_member() local 1688 struct dsa_switch *ds = dev->ds; in ksz_irq_phy_setup() local 1715 struct dsa_switch *ds = dev->ds; in ksz_irq_phy_free() local 1725 struct dsa_switch *ds = dev->ds; in ksz_mdio_register() local 1928 static int ksz_setup(struct dsa_switch *ds) in ksz_setup() 2015 static void ksz_teardown(struct dsa_switch *ds) in ksz_teardown() [all …]
|
/linux-6.1.9/fs/xfs/scrub/ |
D | dabtree.c | 31 struct xchk_da_btree *ds, in xchk_da_process_error() 67 struct xchk_da_btree *ds, in xchk_da_set_corrupt() 82 struct xchk_da_btree *ds, in xchk_da_btree_node_entry() 97 struct xchk_da_btree *ds, in xchk_da_btree_hash() 129 struct xchk_da_btree *ds, in xchk_da_btree_ptr_ok() 217 struct xchk_da_btree *ds, in xchk_da_btree_block_check_sibling() 277 struct xchk_da_btree *ds, in xchk_da_btree_block_check_siblings() 312 struct xchk_da_btree *ds, in xchk_da_btree_block() 476 struct xchk_da_btree *ds; in xchk_da_btree() local
|
/linux-6.1.9/drivers/net/dsa/hirschmann/ |
D | hellcreek.c | 241 static enum dsa_tag_protocol hellcreek_get_tag_protocol(struct dsa_switch *ds, in hellcreek_get_tag_protocol() 248 static int hellcreek_port_enable(struct dsa_switch *ds, int port, in hellcreek_port_enable() 272 static void hellcreek_port_disable(struct dsa_switch *ds, int port) in hellcreek_port_disable() 293 static void hellcreek_get_strings(struct dsa_switch *ds, int port, in hellcreek_get_strings() 306 static int hellcreek_get_sset_count(struct dsa_switch *ds, int port, int sset) in hellcreek_get_sset_count() 314 static void hellcreek_get_ethtool_stats(struct dsa_switch *ds, int port, in hellcreek_get_ethtool_stats() 353 static int hellcreek_vlan_prepare(struct dsa_switch *ds, int port, in hellcreek_vlan_prepare() 460 static int hellcreek_vlan_add(struct dsa_switch *ds, int port, in hellcreek_vlan_add() 482 static int hellcreek_vlan_del(struct dsa_switch *ds, int port, in hellcreek_vlan_del() 494 static void hellcreek_port_stp_state_set(struct dsa_switch *ds, int port, in hellcreek_port_stp_state_set() [all …]
|
/linux-6.1.9/drivers/net/dsa/mv88e6xxx/ |
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 …]
|
D | chip.c | 466 static int mv88e6xxx_phy_is_internal(struct dsa_switch *ds, int port) in mv88e6xxx_phy_is_internal() 495 static int mv88e6xxx_serdes_pcs_get_state(struct dsa_switch *ds, int port, in mv88e6xxx_serdes_pcs_get_state() 532 static void mv88e6xxx_serdes_pcs_an_restart(struct dsa_switch *ds, int port) in mv88e6xxx_serdes_pcs_an_restart() 826 static void mv88e6xxx_get_caps(struct dsa_switch *ds, int port, in mv88e6xxx_get_caps() 844 static void mv88e6xxx_mac_config(struct dsa_switch *ds, int port, in mv88e6xxx_mac_config() 903 static void mv88e6xxx_mac_link_down(struct dsa_switch *ds, int port, in mv88e6xxx_mac_link_down() 931 static void mv88e6xxx_mac_link_up(struct dsa_switch *ds, int port, in mv88e6xxx_mac_link_up() 1146 static void mv88e6xxx_get_strings(struct dsa_switch *ds, int port, in mv88e6xxx_get_strings() 1202 static int mv88e6xxx_get_sset_count(struct dsa_switch *ds, int port, int sset) in mv88e6xxx_get_sset_count() 1316 static void mv88e6xxx_get_ethtool_stats(struct dsa_switch *ds, int port, in mv88e6xxx_get_ethtool_stats() [all …]
|