Home
last modified time | relevance | path

Searched defs:ds (Results 1 – 25 of 164) sorted by relevance

1234567

/linux/net/dsa/
H A Dswitch.c23 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 Duser.c68 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_user_standalone_event_work() local
279 struct dsa_switch *ds = dp->ds; in dsa_user_sync_ha() local
300 struct dsa_switch *ds = dp->ds; in dsa_user_unsync_ha() local
321 struct dsa_switch *ds = bus->priv; in dsa_user_phy_read() local
331 struct dsa_switch *ds = bus->priv; in dsa_user_phy_write() local
339 void dsa_user_mii_bus_init(struct dsa_switch *ds) in dsa_user_mii_bus_init()
362 struct dsa_switch *ds = dp->ds; in dsa_user_host_uc_install() local
390 struct dsa_switch *ds = dp->ds; in dsa_user_host_uc_uninstall() local
[all …]
H A Ddsa.c290 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 Dtag_8021q.c74 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 Dconduit.c24 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 Dtag_qca.c40 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 Ddock.c71 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/sja1105/
H A Dsja1105_main.c87 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 Dsja1105_tas.c21 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 Dsja1105_devlink.c41 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 Dsja1105_tas.h76 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 Dsja1105_flower.c38 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/b53/
H A Db53_common.c540 void b53_imp_vlan_setup(struct dsa_switch *ds, int cpu_port) in b53_imp_vlan_setup()
635 static void b53_eee_enable_set(struct dsa_switch *ds, int port, bool enable) in b53_eee_enable_set()
648 int b53_setup_port(struct dsa_switch *ds, int port) in b53_setup_port()
680 int b53_enable_port(struct dsa_switch *ds, int port, struct phy_device *phy) in b53_enable_port()
723 void b53_disable_port(struct dsa_switch *ds, int port) in b53_disable_port()
741 void b53_brcm_hdr_setup(struct dsa_switch *ds, int port) in b53_brcm_hdr_setup()
861 static bool b53_vlan_port_needs_forced_tagged(struct dsa_switch *ds, int port) in b53_vlan_port_needs_forced_tagged()
868 static bool b53_vlan_port_may_join_untagged(struct dsa_switch *ds, int port) in b53_vlan_port_may_join_untagged()
884 int b53_configure_vlan(struct dsa_switch *ds) in b53_configure_vlan()
1026 static int b53_phy_read16(struct dsa_switch *ds, int addr, int reg) in b53_phy_read16()
[all …]
/linux/drivers/net/dsa/
H A Dmt7530.c361 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 Dbcm_sf2.c116 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 Drzn1_a5psw.c95 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()
300 static int a5psw_set_ageing_time(struct dsa_switch *ds, unsigned int msecs) in a5psw_set_ageing_time()
358 static int a5psw_port_bridge_join(struct dsa_switch *ds, int port, in a5psw_port_bridge_join()
380 static void a5psw_port_bridge_leave(struct dsa_switch *ds, int port, in a5psw_port_bridge_leave()
394 static int a5psw_port_pre_bridge_flags(struct dsa_switch *ds, int port, in a5psw_port_pre_bridge_flags()
[all …]
H A Dmv88e6060.c45 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 Dlan9303-core.c937 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/hirschmann/
H A Dhellcreek.c240 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()
301 static int hellcreek_get_sset_count(struct dsa_switch *ds, int port, int sset) in hellcreek_get_sset_count()
309 static void hellcreek_get_ethtool_stats(struct dsa_switch *ds, int port, in hellcreek_get_ethtool_stats()
348 static int hellcreek_vlan_prepare(struct dsa_switch *ds, int port, in hellcreek_vlan_prepare()
455 static int hellcreek_vlan_add(struct dsa_switch *ds, int port, in hellcreek_vlan_add()
477 static int hellcreek_vlan_del(struct dsa_switch *ds, int port, in hellcreek_vlan_del()
489 static void hellcreek_port_stp_state_set(struct dsa_switch *ds, int port, in hellcreek_port_stp_state_set()
[all …]
/linux/drivers/net/dsa/mv88e6xxx/
H A Ddevlink.c31 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
438 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in mv88e6xxx_region_vtu_snapshot() local
521 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in mv88e6xxx_region_stu_snapshot() local
578 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in mv88e6xxx_region_pvt_snapshot() local
[all …]
H A Dchip.c847 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 Dksz_common.c2179 static void ksz_phylink_get_caps(struct dsa_switch *ds, int port, in ksz_phylink_get_caps()
2325 static void ksz_get_stats64(struct dsa_switch *ds, int port, in ksz_get_stats64()
2338 static void ksz_get_pause_stats(struct dsa_switch *ds, int port, in ksz_get_pause_stats()
2351 static void ksz_get_strings(struct dsa_switch *ds, int port, in ksz_get_strings()
2390 struct dsa_switch *ds = dev->ds; in ksz_update_port_member() local
2546 struct dsa_switch *ds = dev->ds; in ksz_phy_addr_to_port() local
2570 struct dsa_switch *ds = dev->ds; in ksz_irq_phy_setup() local
2610 struct dsa_switch *ds = dev->ds; in ksz_irq_phy_free() local
2704 struct dsa_switch *ds = dev->ds; in ksz_mdio_register() local
2958 static int ksz_setup(struct dsa_switch *ds) in ksz_setup()
[all …]
/linux/drivers/net/wireless/ath/ath9k/
H A Dar9002_mac.c27 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 Drtl83xx.c72 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 Drtl8366-core.c295 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()

1234567