/linux/net/dsa/ |
H A 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 …]
|
H A D | user.c | 68 static bool dsa_switch_supports_uc_filtering(struct dsa_switch *ds) in dsa_switch_supports_uc_filtering() argument 75 static bool dsa_switch_supports_mc_filtering(struct dsa_switch *ds) in dsa_switch_supports_mc_filtering() argument 90 struct dsa_switch *ds = dp->ds; dsa_user_standalone_event_work() local 279 struct dsa_switch *ds = dp->ds; dsa_user_sync_ha() local 300 struct dsa_switch *ds = dp->ds; dsa_user_unsync_ha() local 321 struct dsa_switch *ds = bus->priv; dsa_user_phy_read() local 331 struct dsa_switch *ds = bus->priv; dsa_user_phy_write() local 339 dsa_user_mii_bus_init(struct dsa_switch * ds) dsa_user_mii_bus_init() argument 362 struct dsa_switch *ds = dp->ds; dsa_user_host_uc_install() local 390 struct dsa_switch *ds = dp->ds; dsa_user_host_uc_uninstall() local 451 struct dsa_switch *ds = dp->ds; dsa_user_change_rx_flags() local 474 struct dsa_switch *ds = dp->ds; dsa_user_set_mac_address() local 581 struct dsa_switch *ds = p->dp->ds; dsa_user_ioctl() local 898 struct dsa_switch *ds = p->dp->ds; dsa_skb_tx_timestamp() local 976 struct dsa_switch *ds = dp->ds; dsa_user_get_regs_len() local 988 struct dsa_switch *ds = dp->ds; dsa_user_get_regs() local 1004 struct dsa_switch *ds = dp->ds; dsa_user_get_eeprom_len() local 1019 struct dsa_switch *ds = dp->ds; dsa_user_get_eeprom() local 1031 struct dsa_switch *ds = dp->ds; dsa_user_set_eeprom() local 1043 struct dsa_switch *ds = dp->ds; dsa_user_get_strings() local 1063 struct dsa_switch *ds = dp->ds; dsa_user_get_ethtool_stats() local 1091 struct dsa_switch *ds = dp->ds; dsa_user_get_sset_count() local 1114 struct dsa_switch *ds = dp->ds; dsa_user_get_eth_phy_stats() local 1124 struct dsa_switch *ds = dp->ds; dsa_user_get_eth_mac_stats() local 1135 struct dsa_switch *ds = dp->ds; dsa_user_get_eth_ctrl_stats() local 1147 struct dsa_switch *ds = dp->ds; dsa_user_get_rmon_stats() local 1157 struct dsa_switch *ds = dp->ds; dsa_user_get_ts_stats() local 1167 struct dsa_switch *ds = dp->ds; dsa_user_net_selftest() local 1181 struct dsa_switch *ds = dp->ds; dsa_user_get_mm() local 1193 struct dsa_switch *ds = dp->ds; dsa_user_set_mm() local 1205 struct dsa_switch *ds = dp->ds; dsa_user_get_mm_stats() local 1214 struct dsa_switch *ds = dp->ds; dsa_user_get_wol() local 1225 struct dsa_switch *ds = dp->ds; dsa_user_set_wol() local 1239 struct dsa_switch *ds = dp->ds; dsa_user_set_eee() local 1272 struct dsa_switch *ds = dp->ds; dsa_user_get_eee() local 1305 struct dsa_switch *ds = dp->ds; dsa_user_get_pause_stats() local 1391 struct dsa_switch *ds = dp->ds; dsa_user_add_cls_matchall_mirred() local 1478 struct dsa_switch *ds = dp->ds; dsa_user_add_cls_matchall_police() local 1563 struct dsa_switch *ds = dp->ds; dsa_user_del_cls_matchall() local 1611 struct dsa_switch *ds = dp->ds; dsa_user_add_cls_flower() local 1625 struct dsa_switch *ds = dp->ds; dsa_user_del_cls_flower() local 1639 struct dsa_switch *ds = dp->ds; dsa_user_stats_cls_flower() local 1736 dsa_user_setup_ft_block(struct dsa_switch * ds,int port,void * type_data) dsa_user_setup_ft_block() argument 1751 struct dsa_switch *ds = dp->ds; dsa_user_setup_tc() local 1772 struct dsa_switch *ds = dp->ds; dsa_user_get_rxnfc() local 1784 struct dsa_switch *ds = dp->ds; dsa_user_set_rxnfc() local 1796 struct dsa_switch *ds = p->dp->ds; dsa_user_get_ts_info() local 1815 struct dsa_switch *ds = dp->ds; dsa_user_vlan_rx_add_vid() local 1888 struct dsa_switch *ds = dp->ds; dsa_user_vlan_rx_kill_vid() local 2122 struct dsa_switch *ds = dp->ds; dsa_user_change_mtu() local 2207 struct dsa_switch *ds = dp->ds; dsa_user_dcbnl_set_apptrust() local 2220 struct dsa_switch *ds = dp->ds; dsa_user_dcbnl_get_apptrust() local 2233 struct dsa_switch *ds = dp->ds; dsa_user_dcbnl_set_default_prio() local 2264 struct dsa_switch *ds = dp->ds; dsa_user_dcbnl_ieee_global_dscp_setdel() local 2312 struct dsa_switch *ds = dp->ds; dsa_user_dcbnl_add_dscp_prio() local 2376 struct dsa_switch *ds = dp->ds; dsa_user_dcbnl_del_default_prio() local 2403 struct dsa_switch *ds = dp->ds; dsa_user_dcbnl_del_dscp_prio() local 2460 struct dsa_switch *ds = dp->ds; dsa_user_dcbnl_init() local 2553 struct dsa_switch *ds = dp->ds; dsa_user_get_stats64() local 2604 dsa_port_phylink_mac_change(struct dsa_switch * ds,int port,bool up) dsa_port_phylink_mac_change() argument 2617 struct dsa_switch *ds = dp->ds; dsa_user_phylink_fixed_state() local 2630 struct dsa_switch *ds = dp->ds; dsa_user_phy_connect() local 2647 struct dsa_switch *ds = dp->ds; dsa_user_phy_setup() local 2692 const struct dsa_switch *ds = dp->ds; dsa_user_setup_tagger() local 2750 struct dsa_switch *ds = port->ds; dsa_user_create() local 2891 struct dsa_switch *ds = dp->ds; dsa_user_change_conduit() local 3173 struct dsa_switch *ds; dsa_user_prechangeupper_sanity_check() local 3624 struct dsa_switch *ds; dsa_user_switchdev_event_work() local 3691 struct dsa_switch *ds = dp->ds; dsa_user_fdb_event() local [all...] |
H A D | dsa.c | 290 struct dsa_switch *ds = dp->ds; in dsa_link_touch() local 315 struct dsa_switch *ds = dp->ds; in dsa_port_setup_routing_table() local 406 dsa_switch_preferred_default_local_cpu_port(struct dsa_switch *ds) in dsa_switch_preferred_default_local_cpu_port() 466 struct dsa_switch *ds = dp->ds; in dsa_port_setup() local 574 static int dsa_switch_setup_tag_protocol(struct dsa_switch *ds) in dsa_switch_setup_tag_protocol() 618 static void dsa_switch_teardown_tag_protocol(struct dsa_switch *ds) in dsa_switch_teardown_tag_protocol() 626 static int dsa_switch_setup(struct dsa_switch *ds) in dsa_switch_setup() 690 static void dsa_switch_teardown(struct dsa_switch *ds) in dsa_switch_teardown() 1091 static struct dsa_port *dsa_port_touch(struct dsa_switch *ds, int index) in dsa_port_touch() 1137 struct dsa_switch *mds, *ds = dp->ds; in dsa_get_tag_protocol() local [all …]
|
H A 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() 314 void dsa_tag_8021q_bridge_leave(struct dsa_switch *ds, int port, in dsa_tag_8021q_bridge_leave() 339 static int dsa_tag_8021q_port_setup(struct dsa_switch *ds, int port) in dsa_tag_8021q_port_setup() 369 static void dsa_tag_8021q_port_teardown(struct dsa_switch *ds, int port) in dsa_tag_8021q_port_teardown() 389 static int dsa_tag_8021q_setup(struct dsa_switch *ds) in dsa_tag_8021q_setup() [all …]
|
H A D | conduit.c | 24 struct dsa_switch *ds = cpu_dp->ds; in dsa_conduit_get_regs_len() local 56 struct dsa_switch *ds = cpu_dp->ds; in dsa_conduit_get_regs() local 96 struct dsa_switch *ds = cpu_dp->ds; in dsa_conduit_get_ethtool_stats() local 117 struct dsa_switch *ds = cpu_dp->ds; in dsa_conduit_get_ethtool_phy_stats() local 143 struct dsa_switch *ds = cpu_dp->ds; in dsa_conduit_get_sset_count() local 168 struct dsa_switch *ds = cpu_dp->ds; in dsa_conduit_get_strings() local 221 struct dsa_switch *ds = cpu_dp->ds; in __dsa_conduit_hwtstamp_validate() local 241 struct dsa_switch *ds = cpu_dp->ds; in dsa_conduit_ethtool_setup() local 377 struct dsa_switch *ds = cpu_dp->ds; in dsa_conduit_setup() local
|
H A D | tag_qca.c | 40 struct dsa_switch *ds = dp->ds; in qca_tag_rcv() local 92 static int qca_tag_connect(struct dsa_switch *ds) in qca_tag_connect() 105 static void qca_tag_disconnect(struct dsa_switch *ds) in qca_tag_disconnect()
|
/linux/drivers/acpi/ |
H A D | dock.c | 71 static int add_dock_dependent_device(struct dock_station *ds, in add_dock_dependent_device() 118 struct dock_station *ds; in find_dock_station() local 136 find_dock_dependent_device(struct dock_station *ds, struct acpi_device *adev) in find_dock_dependent_device() 150 struct dock_station *ds = find_dock_station(dshandle); in register_dock_dependent_device() local 193 static int dock_present(struct dock_station *ds) in dock_present() 210 static void hot_remove_dock_devices(struct dock_station *ds) in hot_remove_dock_devices() 237 static void hotplug_dock_devices(struct dock_station *ds, u32 event) in hotplug_dock_devices() 267 static void dock_event(struct dock_station *ds, u32 event, int num) in dock_event() 300 static void handle_dock(struct dock_station *ds, int dock) in handle_dock() 320 static inline void dock(struct dock_station *ds) in dock() [all …]
|
/linux/drivers/net/dsa/b53/ |
H A D | b53_common.c | 526 void b53_imp_vlan_setup(struct dsa_switch *ds, int cpu_port) in b53_imp_vlan_setup() 590 static void b53_eee_enable_set(struct dsa_switch *ds, int port, bool enable) in b53_eee_enable_set() 603 int b53_setup_port(struct dsa_switch *ds, int port) in b53_setup_port() 622 int b53_enable_port(struct dsa_switch *ds, int port, struct phy_device *phy) in b53_enable_port() 662 void b53_disable_port(struct dsa_switch *ds, int port) in b53_disable_port() 677 void b53_brcm_hdr_setup(struct dsa_switch *ds, int port) in b53_brcm_hdr_setup() 792 static bool b53_vlan_port_needs_forced_tagged(struct dsa_switch *ds, int port) in b53_vlan_port_needs_forced_tagged() 799 static bool b53_vlan_port_may_join_untagged(struct dsa_switch *ds, int port) in b53_vlan_port_may_join_untagged() 815 int b53_configure_vlan(struct dsa_switch *ds) in b53_configure_vlan() 957 static int b53_phy_read16(struct dsa_switch *ds, int addr, int reg) in b53_phy_read16() [all …]
|
/linux/drivers/net/dsa/sja1105/ |
H A 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 …]
|
H A 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 …]
|
H A 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()
|
H A D | sja1105_tas.h | 76 static inline int sja1105_setup_tc_taprio(struct dsa_switch *ds, int port, in sja1105_setup_tc_taprio() 82 static inline void sja1105_tas_setup(struct dsa_switch *ds) { } in sja1105_tas_setup() 84 static inline void sja1105_tas_teardown(struct dsa_switch *ds) { } in sja1105_tas_teardown() 86 static inline void sja1105_tas_clockstep(struct dsa_switch *ds) { } in sja1105_tas_clockstep() 88 static inline void sja1105_tas_adjfreq(struct dsa_switch *ds) { } in sja1105_tas_adjfreq() 91 sja1105_gating_check_conflicts(struct dsa_switch *ds, int port, in sja1105_gating_check_conflicts()
|
H A D | sja1105_flower.c | 38 struct dsa_switch *ds = priv->ds; in sja1105_setup_bcast_policer() local 346 int sja1105_cls_flower_add(struct dsa_switch *ds, int port, in sja1105_cls_flower_add() 462 int sja1105_cls_flower_del(struct dsa_switch *ds, int port, in sja1105_cls_flower_del() 502 int sja1105_cls_flower_stats(struct dsa_switch *ds, int port, in sja1105_cls_flower_stats() 523 void sja1105_flower_setup(struct dsa_switch *ds) in sja1105_flower_setup() 534 void sja1105_flower_teardown(struct dsa_switch *ds) in sja1105_flower_teardown()
|
/linux/drivers/net/dsa/ |
H A D | mt7530.c | 361 mt753x_preferred_default_local_cpu_port(struct dsa_switch *ds) in mt753x_preferred_default_local_cpu_port() 373 mt7530_setup_port6(struct dsa_switch *ds, phy_interface_t interface) in mt7530_setup_port6() 514 mt7530_mib_reset(struct dsa_switch *ds) in mt7530_mib_reset() 748 mt7530_get_strings(struct dsa_switch *ds, int port, u32 stringset, in mt7530_get_strings() 776 mt7530_get_ethtool_stats(struct dsa_switch *ds, int port, in mt7530_get_ethtool_stats() 792 mt7530_get_sset_count(struct dsa_switch *ds, int port, int sset) in mt7530_get_sset_count() 800 static void mt7530_get_eth_mac_stats(struct dsa_switch *ds, int port, in mt7530_get_eth_mac_stats() 865 static void mt7530_get_rmon_stats(struct dsa_switch *ds, int port, in mt7530_get_rmon_stats() 909 static void mt7530_get_stats64(struct dsa_switch *ds, int port, in mt7530_get_stats64() 954 static void mt7530_get_eth_ctrl_stats(struct dsa_switch *ds, int port, in mt7530_get_eth_ctrl_stats() [all …]
|
H A 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 …]
|
H A 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
|
H A D | lan9303-core.c | 937 static enum dsa_tag_protocol lan9303_get_tag_protocol(struct dsa_switch *ds, in lan9303_get_tag_protocol() 944 static int lan9303_setup(struct dsa_switch *ds) in lan9303_setup() 1036 static void lan9303_get_strings(struct dsa_switch *ds, int port, in lan9303_get_strings() 1049 static void lan9303_get_ethtool_stats(struct dsa_switch *ds, int port, in lan9303_get_ethtool_stats() 1071 static int lan9303_get_sset_count(struct dsa_switch *ds, int port, int sset) in lan9303_get_sset_count() 1079 static int lan9303_phy_read(struct dsa_switch *ds, int port, int regnum) in lan9303_phy_read() 1092 static int lan9303_phy_write(struct dsa_switch *ds, int port, int regnum, in lan9303_phy_write() 1106 static int lan9303_port_enable(struct dsa_switch *ds, int port, in lan9303_port_enable() 1120 static void lan9303_port_disable(struct dsa_switch *ds, int port) in lan9303_port_disable() 1134 static int lan9303_port_bridge_join(struct dsa_switch *ds, int port, in lan9303_port_bridge_join() [all …]
|
/linux/drivers/net/dsa/mv88e6xxx/ |
H A 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 443 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in mv88e6xxx_region_vtu_snapshot() local 526 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in mv88e6xxx_region_stu_snapshot() local 583 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in mv88e6xxx_region_pvt_snapshot() local [all …]
|
H A D | chip.c | 847 static void mv88e6xxx_get_caps(struct dsa_switch *ds, int port, in mv88e6xxx_get_caps() 1205 static void mv88e6xxx_get_strings(struct dsa_switch *ds, int port, in mv88e6xxx_get_strings() 1257 static int mv88e6xxx_get_sset_count(struct dsa_switch *ds, int port, int sset) in mv88e6xxx_get_sset_count() 1384 static void mv88e6xxx_get_ethtool_stats(struct dsa_switch *ds, int port, in mv88e6xxx_get_ethtool_stats() 1397 static void mv88e6xxx_get_eth_mac_stats(struct dsa_switch *ds, int port, in mv88e6xxx_get_eth_mac_stats() 1435 static void mv88e6xxx_get_rmon_stats(struct dsa_switch *ds, int port, in mv88e6xxx_get_rmon_stats() 1476 static int mv88e6xxx_get_regs_len(struct dsa_switch *ds, int port) in mv88e6xxx_get_regs_len() 1488 static void mv88e6xxx_get_regs(struct dsa_switch *ds, int port, in mv88e6xxx_get_regs() 1516 static int mv88e6xxx_set_mac_eee(struct dsa_switch *ds, int port, in mv88e6xxx_set_mac_eee() 1526 struct dsa_switch *ds = chip->ds; in mv88e6xxx_port_vlan() local [all …]
|
/linux/drivers/net/dsa/microchip/ |
H A D | ksz_common.c | 2069 static void ksz_phylink_get_caps(struct dsa_switch *ds, int port, in ksz_phylink_get_caps() 2215 static void ksz_get_stats64(struct dsa_switch *ds, int port, in ksz_get_stats64() 2228 static void ksz_get_pause_stats(struct dsa_switch *ds, int port, in ksz_get_pause_stats() 2241 static void ksz_get_strings(struct dsa_switch *ds, int port, in ksz_get_strings() 2280 struct dsa_switch *ds = dev->ds; in ksz_update_port_member() local 2430 struct dsa_switch *ds = dev->ds; in ksz_phy_addr_to_port() local 2454 struct dsa_switch *ds = dev->ds; in ksz_irq_phy_setup() local 2494 struct dsa_switch *ds = dev->ds; in ksz_irq_phy_free() local 2588 struct dsa_switch *ds = dev->ds; in ksz_mdio_register() local 2843 static int ksz_setup(struct dsa_switch *ds) in ksz_setup() [all …]
|
H A D | ksz_dcb.c | 174 int ksz_port_get_default_prio(struct dsa_switch *ds, int port) in ksz_port_get_default_prio() 201 int ksz_port_set_default_prio(struct dsa_switch *ds, int port, u8 prio) in ksz_port_set_default_prio() 228 int ksz_port_get_dscp_prio(struct dsa_switch *ds, int port, u8 dscp) in ksz_port_get_dscp_prio() 353 int ksz_port_add_dscp_prio(struct dsa_switch *ds, int port, u8 dscp, u8 prio) in ksz_port_add_dscp_prio() 373 int ksz_port_del_dscp_prio(struct dsa_switch *ds, int port, u8 dscp, u8 prio) in ksz_port_del_dscp_prio() 490 int ksz_port_set_apptrust(struct dsa_switch *ds, int port, in ksz_port_set_apptrust() 533 int ksz_port_get_apptrust(struct dsa_switch *ds, int port, u8 *sel, int *nsel) in ksz_port_get_apptrust()
|
/linux/drivers/net/wireless/ath/ath9k/ |
H A D | ar9002_mac.c | 27 static void ar9002_hw_set_desc_link(void *ds, u32 ds_link) in ar9002_hw_set_desc_link() 212 ar9002_set_txdesc(struct ath_hw *ah, void *ds, struct ath_tx_info *i) in ar9002_set_txdesc() 316 static int ar9002_hw_proc_txdesc(struct ath_hw *ah, void *ds, in ar9002_hw_proc_txdesc() 388 static int ar9002_hw_get_duration(struct ath_hw *ah, const void *ds, int index) in ar9002_hw_get_duration() 406 void ath9k_hw_setuprxdesc(struct ath_hw *ah, struct ath_desc *ds, in ath9k_hw_setuprxdesc()
|
/linux/drivers/net/dsa/realtek/ |
H A D | rtl83xx.c | 72 int rtl83xx_setup_user_mdio(struct dsa_switch *ds) in rtl83xx_setup_user_mdio() 225 struct dsa_switch *ds = &priv->ds; in rtl83xx_register_switch() local 261 struct dsa_switch *ds = &priv->ds; in rtl83xx_unregister_switch() local 280 struct dsa_switch *ds = &priv->ds; in rtl83xx_shutdown() local
|
H A D | rtl8366-core.c | 295 int rtl8366_vlan_add(struct dsa_switch *ds, int port, in rtl8366_vlan_add() 350 int rtl8366_vlan_del(struct dsa_switch *ds, int port, in rtl8366_vlan_del() 394 void rtl8366_get_strings(struct dsa_switch *ds, int port, u32 stringset, in rtl8366_get_strings() 408 int rtl8366_get_sset_count(struct dsa_switch *ds, int port, int sset) in rtl8366_get_sset_count() 422 void rtl8366_get_ethtool_stats(struct dsa_switch *ds, int port, uint64_t *data) in rtl8366_get_ethtool_stats()
|
/linux/fs/befs/ |
H A D | btree.c | 134 befs_bt_read_super(struct super_block *sb, const befs_data_stream *ds, in befs_bt_read_super() 191 befs_bt_read_node(struct super_block *sb, const befs_data_stream *ds, in befs_bt_read_node() 245 befs_btree_find(struct super_block *sb, const befs_data_stream *ds, in befs_btree_find() 411 befs_btree_read(struct super_block *sb, const befs_data_stream *ds, in befs_btree_read() 542 befs_btree_seekleaf(struct super_block *sb, const befs_data_stream *ds, in befs_btree_seekleaf()
|