/Linux-v5.15/net/dsa/ |
D | switch.c | 17 static unsigned int dsa_switch_fastest_ageing_time(struct dsa_switch *ds, in dsa_switch_fastest_ageing_time() 32 static int dsa_switch_ageing_time(struct dsa_switch *ds, in dsa_switch_ageing_time() 52 static bool dsa_switch_mtu_match(struct dsa_switch *ds, int port, in dsa_switch_mtu_match() 70 static int dsa_switch_mtu(struct dsa_switch *ds, in dsa_switch_mtu() 89 static int dsa_switch_bridge_join(struct dsa_switch *ds, in dsa_switch_bridge_join() 116 static int dsa_switch_bridge_leave(struct dsa_switch *ds, in dsa_switch_bridge_leave() 182 static bool dsa_switch_host_address_match(struct dsa_switch *ds, int port, in dsa_switch_host_address_match() 212 static int dsa_switch_do_mdb_add(struct dsa_switch *ds, int port, in dsa_switch_do_mdb_add() 247 static int dsa_switch_do_mdb_del(struct dsa_switch *ds, int port, in dsa_switch_do_mdb_del() 277 static int dsa_switch_do_fdb_add(struct dsa_switch *ds, int port, in dsa_switch_do_fdb_add() [all …]
|
D | tag_8021q.c | 81 u16 dsa_8021q_tx_vid(struct dsa_switch *ds, int port) in dsa_8021q_tx_vid() 91 u16 dsa_8021q_rx_vid(struct dsa_switch *ds, int port) in dsa_8021q_rx_vid() 142 static int dsa_switch_do_tag_8021q_vlan_add(struct dsa_switch *ds, int port, in dsa_switch_do_tag_8021q_vlan_add() 178 static int dsa_switch_do_tag_8021q_vlan_del(struct dsa_switch *ds, int port, in dsa_switch_do_tag_8021q_vlan_del() 210 dsa_switch_tag_8021q_vlan_match(struct dsa_switch *ds, int port, in dsa_switch_tag_8021q_vlan_match() 222 int dsa_switch_tag_8021q_vlan_add(struct dsa_switch *ds, in dsa_switch_tag_8021q_vlan_add() 258 int dsa_switch_tag_8021q_vlan_del(struct dsa_switch *ds, in dsa_switch_tag_8021q_vlan_del() 325 static bool dsa_tag_8021q_bridge_match(struct dsa_switch *ds, int port, in dsa_tag_8021q_bridge_match() 342 int dsa_tag_8021q_bridge_join(struct dsa_switch *ds, in dsa_tag_8021q_bridge_join() 378 int dsa_tag_8021q_bridge_leave(struct dsa_switch *ds, in dsa_tag_8021q_bridge_leave() [all …]
|
D | dsa2.c | 288 struct dsa_switch *ds = dp->ds; in dsa_link_touch() local 313 struct dsa_switch *ds = dp->ds; in dsa_port_setup_routing_table() local 432 struct dsa_switch *ds = dp->ds; in dsa_port_setup() local 546 struct dsa_switch *ds = dp->ds; in dsa_port_teardown() local 607 struct dsa_switch *ds = dp->ds; in dsa_port_reinit_as_unused() local 632 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_info_get() local 644 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_sb_pool_get() local 658 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_sb_pool_set() local 671 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); in dsa_devlink_sb_port_pool_get() local 686 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); in dsa_devlink_sb_port_pool_set() local [all …]
|
D | dsa.c | 204 struct dsa_switch *ds = p->dp->ds; in dsa_skb_defer_rx_timestamp() local 283 static bool dsa_is_port_initialized(struct dsa_switch *ds, int p) in dsa_is_port_initialized() 290 int dsa_switch_suspend(struct dsa_switch *ds) in dsa_switch_suspend() 311 int dsa_switch_resume(struct dsa_switch *ds) in dsa_switch_resume() 356 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_param_get() local 368 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_param_set() local 377 int dsa_devlink_params_register(struct dsa_switch *ds, in dsa_devlink_params_register() 385 void dsa_devlink_params_unregister(struct dsa_switch *ds, in dsa_devlink_params_unregister() 393 int dsa_devlink_resource_register(struct dsa_switch *ds, in dsa_devlink_resource_register() 407 void dsa_devlink_resources_unregister(struct dsa_switch *ds) in dsa_devlink_resources_unregister() [all …]
|
D | slave.c | 29 struct dsa_switch *ds = bus->priv; in dsa_slave_phy_read() local 39 struct dsa_switch *ds = bus->priv; in dsa_slave_phy_write() local 47 void dsa_slave_mii_bus_init(struct dsa_switch *ds) in dsa_slave_mii_bus_init() 256 struct dsa_switch *ds = p->dp->ds; in dsa_slave_ioctl() local 522 struct dsa_switch *ds = dp->ds; in dsa_slave_get_port_parent_id() local 554 struct dsa_switch *ds = p->dp->ds; in dsa_skb_tx_timestamp() local 655 struct dsa_switch *ds = dp->ds; in dsa_slave_get_regs_len() local 667 struct dsa_switch *ds = dp->ds; in dsa_slave_get_regs() local 683 struct dsa_switch *ds = dp->ds; in dsa_slave_get_eeprom_len() local 698 struct dsa_switch *ds = dp->ds; in dsa_slave_get_eeprom() local [all …]
|
D | port.c | 53 struct dsa_switch *ds = dp->ds; in dsa_port_fast_age() local 68 struct dsa_switch *ds = dp->ds; in dsa_port_can_configure_learning() local 80 struct dsa_switch *ds = dp->ds; in dsa_port_set_state() local 123 struct dsa_switch *ds = dp->ds; in dsa_port_enable_rt() local 155 struct dsa_switch *ds = dp->ds; in dsa_port_disable_rt() local 277 struct dsa_switch *ds = dp->ds; in dsa_port_bridge_tx_fwd_unoffload() local 297 struct dsa_switch *ds = dp->ds; in dsa_port_bridge_tx_fwd_offload() local 517 struct dsa_switch *ds = dp->ds; in dsa_port_can_apply_vlan_filtering() local 584 struct dsa_switch *ds = dp->ds; in dsa_port_vlan_filtering() local 659 struct dsa_switch *ds = dp->ds; in dsa_port_skip_vlan_configuration() local [all …]
|
D | master.c | 15 struct dsa_switch *ds = cpu_dp->ds; in dsa_master_get_regs_len() local 45 struct dsa_switch *ds = cpu_dp->ds; in dsa_master_get_regs() local 81 struct dsa_switch *ds = cpu_dp->ds; in dsa_master_get_ethtool_stats() local 100 struct dsa_switch *ds = cpu_dp->ds; in dsa_master_get_ethtool_phy_stats() local 124 struct dsa_switch *ds = cpu_dp->ds; in dsa_master_get_sset_count() local 147 struct dsa_switch *ds = cpu_dp->ds; in dsa_master_get_strings() local 193 struct dsa_switch *ds = cpu_dp->ds; in dsa_master_ioctl() local 226 struct dsa_switch *ds = cpu_dp->ds; in dsa_master_ethtool_setup() local 350 struct dsa_switch *ds = cpu_dp->ds; in dsa_master_setup() local
|
/Linux-v5.15/drivers/net/dsa/ocelot/ |
D | felix.c | 34 struct dsa_switch *ds = felix->ds; in felix_tag_8021q_rxvlan_add() local 80 struct dsa_switch *ds = felix->ds; in felix_tag_8021q_txvlan_add() local 146 static int felix_tag_8021q_vlan_add(struct dsa_switch *ds, int port, u16 vid, in felix_tag_8021q_vlan_add() 219 static int felix_tag_8021q_vlan_del(struct dsa_switch *ds, int port, u16 vid) in felix_tag_8021q_vlan_del() 273 struct dsa_switch *ds = felix->ds; in felix_setup_mmio_filtering() local 389 static int felix_setup_tag_8021q(struct dsa_switch *ds, int cpu) in felix_setup_tag_8021q() 441 static void felix_teardown_tag_8021q(struct dsa_switch *ds, int cpu) in felix_teardown_tag_8021q() 513 static int felix_setup_tag_npi(struct dsa_switch *ds, int cpu) in felix_setup_tag_npi() 539 static void felix_teardown_tag_npi(struct dsa_switch *ds, int cpu) in felix_teardown_tag_npi() 546 static int felix_set_tag_protocol(struct dsa_switch *ds, int cpu, in felix_set_tag_protocol() [all …]
|
/Linux-v5.15/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 | 393 mt7530_pad_clk_setup(struct dsa_switch *ds, phy_interface_t interface) in mt7530_pad_clk_setup() 502 mt7531_pad_setup(struct dsa_switch *ds, phy_interface_t interface) in mt7531_pad_setup() 595 mt7530_mib_reset(struct dsa_switch *ds) in mt7530_mib_reset() 840 mt7530_get_strings(struct dsa_switch *ds, int port, u32 stringset, in mt7530_get_strings() 854 mt7530_get_ethtool_stats(struct dsa_switch *ds, int port, in mt7530_get_ethtool_stats() 875 mt7530_get_sset_count(struct dsa_switch *ds, int port, int sset) in mt7530_get_sset_count() 884 mt7530_set_ageing_time(struct dsa_switch *ds, unsigned int msecs) in mt7530_set_ageing_time() 923 static void mt7530_setup_port5(struct dsa_switch *ds, phy_interface_t interface) in mt7530_setup_port5() 995 mt753x_cpu_port_enable(struct dsa_switch *ds, int port) in mt753x_cpu_port_enable() 1033 mt7530_port_enable(struct dsa_switch *ds, int port, in mt7530_port_enable() [all …]
|
D | bcm_sf2.c | 66 static unsigned int bcm_sf2_num_active_ports(struct dsa_switch *ds) in bcm_sf2_num_active_ports() 81 static void bcm_sf2_recalc_clock(struct dsa_switch *ds) in bcm_sf2_recalc_clock() 108 static void bcm_sf2_imp_setup(struct dsa_switch *ds, int port) in bcm_sf2_imp_setup() 167 static void bcm_sf2_gphy_enable_set(struct dsa_switch *ds, bool enable) in bcm_sf2_gphy_enable_set() 240 static int bcm_sf2_port_setup(struct dsa_switch *ds, int port, in bcm_sf2_port_setup() 309 static void bcm_sf2_port_disable(struct dsa_switch *ds, int port) in bcm_sf2_port_disable() 402 struct dsa_switch *ds = dev_id; in bcm_sf2_switch_0_isr() local 414 struct dsa_switch *ds = dev_id; in bcm_sf2_switch_1_isr() local 567 static int bcm_sf2_mdio_register(struct dsa_switch *ds) in bcm_sf2_mdio_register() 659 static u32 bcm_sf2_sw_get_phy_flags(struct dsa_switch *ds, int port) in bcm_sf2_sw_get_phy_flags() [all …]
|
D | mv88e6060.c | 45 static enum dsa_tag_protocol mv88e6060_get_tag_protocol(struct dsa_switch *ds, in mv88e6060_get_tag_protocol() 184 static int mv88e6060_setup(struct dsa_switch *ds) in mv88e6060_setup() 222 static int mv88e6060_phy_read(struct dsa_switch *ds, int port, int regnum) in mv88e6060_phy_read() 235 mv88e6060_phy_write(struct dsa_switch *ds, int port, int regnum, u16 val) in mv88e6060_phy_write() 258 struct dsa_switch *ds; in mv88e6060_probe() local 291 struct dsa_switch *ds = dev_get_drvdata(&mdiodev->dev); in mv88e6060_remove() local 303 struct dsa_switch *ds = dev_get_drvdata(&mdiodev->dev); in mv88e6060_shutdown() local
|
D | qca8k.c | 744 qca8k_phy_write(struct dsa_switch *ds, int port, int regnum, u16 data) in qca8k_phy_write() 759 qca8k_phy_read(struct dsa_switch *ds, int port, int regnum) in qca8k_phy_read() 782 struct dsa_switch *ds = priv->ds; in qca8k_mdio_register() local 954 qca8k_setup(struct dsa_switch *ds) in qca8k_setup() 1140 qca8k_phylink_mac_config(struct dsa_switch *ds, int port, unsigned int mode, in qca8k_phylink_mac_config() 1255 qca8k_phylink_validate(struct dsa_switch *ds, int port, in qca8k_phylink_validate() 1318 qca8k_phylink_mac_link_state(struct dsa_switch *ds, int port, in qca8k_phylink_mac_link_state() 1360 qca8k_phylink_mac_link_down(struct dsa_switch *ds, int port, unsigned int mode, in qca8k_phylink_mac_link_down() 1369 qca8k_phylink_mac_link_up(struct dsa_switch *ds, int port, unsigned int mode, in qca8k_phylink_mac_link_up() 1410 qca8k_get_strings(struct dsa_switch *ds, int port, u32 stringset, uint8_t *data) in qca8k_get_strings() [all …]
|
/Linux-v5.15/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-v5.15/drivers/net/dsa/sja1105/ |
D | sja1105_main.c | 73 static int sja1105_drop_untagged(struct dsa_switch *ds, int port, bool drop) in sja1105_drop_untagged() 104 static int sja1105_commit_pvid(struct dsa_switch *ds, int port) in sja1105_commit_pvid() 186 struct dsa_switch *ds = priv->ds; in sja1105_init_mac_settings() local 237 struct dsa_switch *ds = priv->ds; in sja1105_init_mii_settings() local 402 struct dsa_switch *ds = priv->ds; in sja1105_init_l2_lookup_params() local 460 struct dsa_switch *ds = priv->ds; in sja1105_init_static_vlan() local 498 struct dsa_switch *ds = priv->ds; in sja1105_init_l2_forwarding() local 632 struct dsa_switch *ds = priv->ds; in sja1110_init_pcp_remapping() local 781 struct dsa_switch *ds = priv->ds; in sja1105_init_topology() local 997 struct dsa_switch *ds = priv->ds; in sja1105_init_l2_policing() local [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() 107 static void sja1105_teardown_devlink_regions(struct dsa_switch *ds) in sja1105_teardown_devlink_regions() 118 int sja1105_devlink_info_get(struct dsa_switch *ds, in sja1105_devlink_info_get() 135 int sja1105_devlink_setup(struct dsa_switch *ds) in sja1105_devlink_setup() 140 void sja1105_devlink_teardown(struct dsa_switch *ds) in sja1105_devlink_teardown()
|
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_ptp.c | 89 int sja1105_hwtstamp_set(struct dsa_switch *ds, int port, struct ifreq *ifr) in sja1105_hwtstamp_set() 137 int sja1105_hwtstamp_get(struct dsa_switch *ds, int port, struct ifreq *ifr) in sja1105_hwtstamp_get() 156 int sja1105_get_ts_info(struct dsa_switch *ds, int port, in sja1105_get_ts_info() 211 int sja1105_ptp_commit(struct dsa_switch *ds, struct sja1105_ptp_cmd *cmd, in sja1105_ptp_commit() 245 static u64 sja1105_tstamp_reconstruct(struct dsa_switch *ds, u64 now, in sja1105_tstamp_reconstruct() 290 static int sja1105_ptpegr_ts_poll(struct dsa_switch *ds, int port, u64 *ts) in sja1105_ptpegr_ts_poll() 383 struct dsa_switch *ds = priv->ds; in sja1105_rxtstamp_work() local 418 bool sja1105_rxtstamp(struct dsa_switch *ds, int port, struct sk_buff *skb) in sja1105_rxtstamp() 434 bool sja1110_rxtstamp(struct dsa_switch *ds, int port, struct sk_buff *skb) in sja1110_rxtstamp() 448 bool sja1105_port_rxtstamp(struct dsa_switch *ds, int port, in sja1105_port_rxtstamp() [all …]
|
/Linux-v5.15/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-v5.15/drivers/net/dsa/microchip/ |
D | ksz_common.c | 111 int ksz_phy_read16(struct dsa_switch *ds, int addr, int reg) in ksz_phy_read16() 122 int ksz_phy_write16(struct dsa_switch *ds, int addr, int reg, u16 val) in ksz_phy_write16() 132 void ksz_mac_link_down(struct dsa_switch *ds, int port, unsigned int mode, in ksz_mac_link_down() 146 int ksz_sset_count(struct dsa_switch *ds, int port, int sset) in ksz_sset_count() 157 void ksz_get_ethtool_stats(struct dsa_switch *ds, int port, uint64_t *buf) in ksz_get_ethtool_stats() 175 int ksz_port_bridge_join(struct dsa_switch *ds, int port, in ksz_port_bridge_join() 192 void ksz_port_bridge_leave(struct dsa_switch *ds, int port, in ksz_port_bridge_leave() 208 void ksz_port_fast_age(struct dsa_switch *ds, int port) in ksz_port_fast_age() 216 int ksz_port_fdb_dump(struct dsa_switch *ds, int port, dsa_fdb_dump_cb_t *cb, in ksz_port_fdb_dump() 247 int ksz_port_mdb_add(struct dsa_switch *ds, int port, in ksz_port_mdb_add() [all …]
|
/Linux-v5.15/drivers/net/dsa/xrs700x/ |
D | xrs700x.c | 85 static void xrs700x_get_strings(struct dsa_switch *ds, int port, in xrs700x_get_strings() 99 static int xrs700x_get_sset_count(struct dsa_switch *ds, int port, int sset) in xrs700x_get_sset_count() 159 static void xrs700x_get_ethtool_stats(struct dsa_switch *ds, int port, in xrs700x_get_ethtool_stats() 172 static void xrs700x_get_stats64(struct dsa_switch *ds, int port, in xrs700x_get_stats64() 226 static enum dsa_tag_protocol xrs700x_get_tag_protocol(struct dsa_switch *ds, in xrs700x_get_tag_protocol() 233 static int xrs700x_reset(struct dsa_switch *ds) in xrs700x_reset() 255 static void xrs700x_port_stp_state_set(struct dsa_switch *ds, int port, in xrs700x_port_stp_state_set() 297 static int xrs700x_port_add_bpdu_ipf(struct dsa_switch *ds, int port) in xrs700x_port_add_bpdu_ipf() 340 static int xrs700x_port_add_hsrsup_ipf(struct dsa_switch *ds, int port, in xrs700x_port_add_hsrsup_ipf() 383 static int xrs700x_port_setup(struct dsa_switch *ds, int port) in xrs700x_port_setup() [all …]
|
/Linux-v5.15/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-v5.15/drivers/net/dsa/hirschmann/ |
D | hellcreek.c | 231 static enum dsa_tag_protocol hellcreek_get_tag_protocol(struct dsa_switch *ds, in hellcreek_get_tag_protocol() 238 static int hellcreek_port_enable(struct dsa_switch *ds, int port, in hellcreek_port_enable() 262 static void hellcreek_port_disable(struct dsa_switch *ds, int port) in hellcreek_port_disable() 283 static void hellcreek_get_strings(struct dsa_switch *ds, int port, in hellcreek_get_strings() 296 static int hellcreek_get_sset_count(struct dsa_switch *ds, int port, int sset) in hellcreek_get_sset_count() 304 static void hellcreek_get_ethtool_stats(struct dsa_switch *ds, int port, in hellcreek_get_ethtool_stats() 343 static int hellcreek_vlan_prepare(struct dsa_switch *ds, int port, in hellcreek_vlan_prepare() 450 static int hellcreek_vlan_add(struct dsa_switch *ds, int port, in hellcreek_vlan_add() 472 static int hellcreek_vlan_del(struct dsa_switch *ds, int port, in hellcreek_vlan_del() 484 static void hellcreek_port_stp_state_set(struct dsa_switch *ds, int port, in hellcreek_port_stp_state_set() [all …]
|
/Linux-v5.15/drivers/net/dsa/mv88e6xxx/ |
D | chip.c | 462 static int mv88e6xxx_phy_is_internal(struct dsa_switch *ds, int port) in mv88e6xxx_phy_is_internal() 485 static int mv88e6xxx_serdes_pcs_get_state(struct dsa_switch *ds, int port, in mv88e6xxx_serdes_pcs_get_state() 522 static void mv88e6xxx_serdes_pcs_an_restart(struct dsa_switch *ds, int port) in mv88e6xxx_serdes_pcs_an_restart() 662 static void mv88e6xxx_validate(struct dsa_switch *ds, int port, in mv88e6xxx_validate() 687 static void mv88e6xxx_mac_config(struct dsa_switch *ds, int port, in mv88e6xxx_mac_config() 742 static void mv88e6xxx_mac_link_down(struct dsa_switch *ds, int port, in mv88e6xxx_mac_link_down() 767 static void mv88e6xxx_mac_link_up(struct dsa_switch *ds, int port, in mv88e6xxx_mac_link_up() 982 static void mv88e6xxx_get_strings(struct dsa_switch *ds, int port, in mv88e6xxx_get_strings() 1038 static int mv88e6xxx_get_sset_count(struct dsa_switch *ds, int port, int sset) in mv88e6xxx_get_sset_count() 1152 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 511 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in mv88e6xxx_region_pvt_snapshot() local 549 struct dsa_switch *ds = dsa_devlink_port_to_ds(devlink_port); in mv88e6xxx_region_port_snapshot() local [all …]
|