/drivers/net/dsa/ocelot/ |
D | felix.c | 27 static enum dsa_tag_protocol felix_get_tag_protocol(struct dsa_switch *ds, in felix_get_tag_protocol() 34 static int felix_set_ageing_time(struct dsa_switch *ds, in felix_set_ageing_time() 44 static int felix_fdb_dump(struct dsa_switch *ds, int port, in felix_fdb_dump() 52 static int felix_fdb_add(struct dsa_switch *ds, int port, in felix_fdb_add() 60 static int felix_fdb_del(struct dsa_switch *ds, int port, in felix_fdb_del() 69 static int felix_mdb_prepare(struct dsa_switch *ds, int port, in felix_mdb_prepare() 75 static void felix_mdb_add(struct dsa_switch *ds, int port, in felix_mdb_add() 83 static int felix_mdb_del(struct dsa_switch *ds, int port, in felix_mdb_del() 91 static void felix_bridge_stp_state_set(struct dsa_switch *ds, int port, in felix_bridge_stp_state_set() 99 static int felix_bridge_join(struct dsa_switch *ds, int port, in felix_bridge_join() [all …]
|
/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 | 384 mt7530_pad_clk_setup(struct dsa_switch *ds, phy_interface_t interface) in mt7530_pad_clk_setup() 503 mt7531_pad_setup(struct dsa_switch *ds, phy_interface_t interface) in mt7531_pad_setup() 599 mt7530_mib_reset(struct dsa_switch *ds) in mt7530_mib_reset() 607 static int mt7530_phy_read(struct dsa_switch *ds, int port, int regnum) in mt7530_phy_read() 614 static int mt7530_phy_write(struct dsa_switch *ds, int port, int regnum, in mt7530_phy_write() 796 mt7531_ind_phy_read(struct dsa_switch *ds, int port, int regnum) in mt7531_ind_phy_read() 814 mt7531_ind_phy_write(struct dsa_switch *ds, int port, int regnum, in mt7531_ind_phy_write() 834 mt7530_get_strings(struct dsa_switch *ds, int port, u32 stringset, in mt7530_get_strings() 848 mt7530_get_ethtool_stats(struct dsa_switch *ds, int port, in mt7530_get_ethtool_stats() 869 mt7530_get_sset_count(struct dsa_switch *ds, int port, int sset) in mt7530_get_sset_count() [all …]
|
D | bcm_sf2.c | 36 static unsigned int bcm_sf2_num_active_ports(struct dsa_switch *ds) in bcm_sf2_num_active_ports() 51 static void bcm_sf2_recalc_clock(struct dsa_switch *ds) in bcm_sf2_recalc_clock() 78 static void bcm_sf2_imp_setup(struct dsa_switch *ds, int port) in bcm_sf2_imp_setup() 133 static void bcm_sf2_gphy_enable_set(struct dsa_switch *ds, bool enable) in bcm_sf2_gphy_enable_set() 206 static int bcm_sf2_port_setup(struct dsa_switch *ds, int port, in bcm_sf2_port_setup() 275 static void bcm_sf2_port_disable(struct dsa_switch *ds, int port) in bcm_sf2_port_disable() 368 struct dsa_switch *ds = dev_id; in bcm_sf2_switch_0_isr() local 380 struct dsa_switch *ds = dev_id; in bcm_sf2_switch_1_isr() local 487 static int bcm_sf2_mdio_register(struct dsa_switch *ds) in bcm_sf2_mdio_register() 588 static u32 bcm_sf2_sw_get_phy_flags(struct dsa_switch *ds, int port) in bcm_sf2_sw_get_phy_flags() [all …]
|
D | qca8k.c | 610 qca8k_phy_write(struct dsa_switch *ds, int port, int regnum, u16 data) in qca8k_phy_write() 618 qca8k_phy_read(struct dsa_switch *ds, int port, int regnum) in qca8k_phy_read() 697 qca8k_setup(struct dsa_switch *ds) in qca8k_setup() 795 qca8k_phylink_mac_config(struct dsa_switch *ds, int port, unsigned int mode, in qca8k_phylink_mac_config() 895 qca8k_phylink_validate(struct dsa_switch *ds, int port, in qca8k_phylink_validate() 953 qca8k_phylink_mac_link_state(struct dsa_switch *ds, int port, in qca8k_phylink_mac_link_state() 992 qca8k_phylink_mac_link_down(struct dsa_switch *ds, int port, unsigned int mode, in qca8k_phylink_mac_link_down() 1001 qca8k_phylink_mac_link_up(struct dsa_switch *ds, int port, unsigned int mode, in qca8k_phylink_mac_link_up() 1042 qca8k_get_strings(struct dsa_switch *ds, int port, u32 stringset, uint8_t *data) in qca8k_get_strings() 1055 qca8k_get_ethtool_stats(struct dsa_switch *ds, int port, in qca8k_get_ethtool_stats() [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
|
D | rtl8366.c | 343 int rtl8366_vlan_filtering(struct dsa_switch *ds, int port, bool vlan_filtering, in rtl8366_vlan_filtering() 382 int rtl8366_vlan_prepare(struct dsa_switch *ds, int port, in rtl8366_vlan_prepare() 408 void rtl8366_vlan_add(struct dsa_switch *ds, int port, in rtl8366_vlan_add() 460 int rtl8366_vlan_del(struct dsa_switch *ds, int port, in rtl8366_vlan_del() 511 void rtl8366_get_strings(struct dsa_switch *ds, int port, u32 stringset, in rtl8366_get_strings() 529 int rtl8366_get_sset_count(struct dsa_switch *ds, int port, int sset) in rtl8366_get_sset_count() 543 void rtl8366_get_ethtool_stats(struct dsa_switch *ds, int port, uint64_t *data) in rtl8366_get_ethtool_stats()
|
D | lan9303-core.c | 891 static enum dsa_tag_protocol lan9303_get_tag_protocol(struct dsa_switch *ds, in lan9303_get_tag_protocol() 898 static int lan9303_setup(struct dsa_switch *ds) in lan9303_setup() 978 static void lan9303_get_strings(struct dsa_switch *ds, int port, in lan9303_get_strings() 992 static void lan9303_get_ethtool_stats(struct dsa_switch *ds, int port, in lan9303_get_ethtool_stats() 1014 static int lan9303_get_sset_count(struct dsa_switch *ds, int port, int sset) in lan9303_get_sset_count() 1022 static int lan9303_phy_read(struct dsa_switch *ds, int phy, int regnum) in lan9303_phy_read() 1035 static int lan9303_phy_write(struct dsa_switch *ds, int phy, int regnum, in lan9303_phy_write() 1049 static void lan9303_adjust_link(struct dsa_switch *ds, int port, in lan9303_adjust_link() 1085 static int lan9303_port_enable(struct dsa_switch *ds, int port, in lan9303_port_enable() 1096 static void lan9303_port_disable(struct dsa_switch *ds, int port) in lan9303_port_disable() [all …]
|
D | lantiq_gswip.c | 270 struct dsa_switch *ds; member 497 struct dsa_switch *ds = priv->ds; in gswip_mdio() local 656 static int gswip_port_enable(struct dsa_switch *ds, int port, in gswip_port_enable() 694 static void gswip_port_disable(struct dsa_switch *ds, int port) in gswip_port_disable() 744 static int gswip_port_vlan_filtering(struct dsa_switch *ds, int port, in gswip_port_vlan_filtering() 786 static int gswip_setup(struct dsa_switch *ds) in gswip_setup() 883 static enum dsa_tag_protocol gswip_get_tag_protocol(struct dsa_switch *ds, in gswip_get_tag_protocol() 1143 static int gswip_port_bridge_join(struct dsa_switch *ds, int port, in gswip_port_bridge_join() 1163 static void gswip_port_bridge_leave(struct dsa_switch *ds, int port, in gswip_port_bridge_leave() 1177 static int gswip_port_vlan_prepare(struct dsa_switch *ds, int port, in gswip_port_vlan_prepare() [all …]
|
/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() 280 static void dock_event(struct dock_station *ds, u32 event, int num) in dock_event() 313 static void handle_dock(struct dock_station *ds, int dock) in handle_dock() 333 static inline void dock(struct dock_station *ds) in dock() [all …]
|
/drivers/net/dsa/b53/ |
D | b53_common.c | 495 void b53_imp_vlan_setup(struct dsa_switch *ds, int cpu_port) in b53_imp_vlan_setup() 526 int b53_enable_port(struct dsa_switch *ds, int port, struct phy_device *phy) in b53_enable_port() 569 void b53_disable_port(struct dsa_switch *ds, int port) in b53_disable_port() 584 void b53_brcm_hdr_setup(struct dsa_switch *ds, int port) in b53_brcm_hdr_setup() 693 int b53_configure_vlan(struct dsa_switch *ds) in b53_configure_vlan() 810 static int b53_phy_read16(struct dsa_switch *ds, int addr, int reg) in b53_phy_read16() 825 static int b53_phy_write16(struct dsa_switch *ds, int addr, int reg, u16 val) in b53_phy_write16() 895 static struct phy_device *b53_get_phy_device(struct dsa_switch *ds, int port) in b53_get_phy_device() 908 void b53_get_strings(struct dsa_switch *ds, int port, u32 stringset, in b53_get_strings() 931 void b53_get_ethtool_stats(struct dsa_switch *ds, int port, uint64_t *data) in b53_get_ethtool_stats() [all …]
|
/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_vlan_prepare(struct dsa_switch *ds, int port, in ksz_port_vlan_prepare() 225 int ksz_port_fdb_dump(struct dsa_switch *ds, int port, dsa_fdb_dump_cb_t *cb, in ksz_port_fdb_dump() [all …]
|
D | ksz9477.c | 297 static enum dsa_tag_protocol ksz9477_get_tag_protocol(struct dsa_switch *ds, in ksz9477_get_tag_protocol() 309 static int ksz9477_phy_read16(struct dsa_switch *ds, int addr, int reg) in ksz9477_phy_read16() 359 static int ksz9477_phy_write16(struct dsa_switch *ds, int addr, int reg, in ksz9477_phy_write16() 376 static void ksz9477_get_strings(struct dsa_switch *ds, int port, in ksz9477_get_strings() 397 static void ksz9477_port_stp_state_set(struct dsa_switch *ds, int port, in ksz9477_port_stp_state_set() 495 static int ksz9477_port_vlan_filtering(struct dsa_switch *ds, int port, in ksz9477_port_vlan_filtering() 517 static void ksz9477_port_vlan_add(struct dsa_switch *ds, int port, in ksz9477_port_vlan_add() 551 static int ksz9477_port_vlan_del(struct dsa_switch *ds, int port, in ksz9477_port_vlan_del() 588 static int ksz9477_port_fdb_add(struct dsa_switch *ds, int port, in ksz9477_port_fdb_add() 645 static int ksz9477_port_fdb_del(struct dsa_switch *ds, int port, in ksz9477_port_fdb_del() [all …]
|
D | ksz8795.c | 647 static enum dsa_tag_protocol ksz8795_get_tag_protocol(struct dsa_switch *ds, in ksz8795_get_tag_protocol() 654 static void ksz8795_get_strings(struct dsa_switch *ds, int port, in ksz8795_get_strings() 677 static void ksz8795_port_stp_state_set(struct dsa_switch *ds, int port, in ksz8795_port_stp_state_set() 784 static int ksz8795_port_vlan_filtering(struct dsa_switch *ds, int port, in ksz8795_port_vlan_filtering() 805 struct dsa_switch *ds, int port, in ksz8795_port_vlan_changes_remove_tag() 822 int ksz8795_port_vlan_prepare(struct dsa_switch *ds, int port, in ksz8795_port_vlan_prepare() 853 static void ksz8795_port_vlan_add(struct dsa_switch *ds, int port, in ksz8795_port_vlan_add() 897 static int ksz8795_port_vlan_del(struct dsa_switch *ds, int port, in ksz8795_port_vlan_del() 933 static int ksz8795_port_mirror_add(struct dsa_switch *ds, int port, in ksz8795_port_mirror_add() 957 static void ksz8795_port_mirror_del(struct dsa_switch *ds, int port, in ksz8795_port_mirror_del() [all …]
|
/drivers/net/dsa/sja1105/ |
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() 131 struct dsa_switch *ds = priv->ds; in sja1105_best_effort_vlan_filtering_set() local 169 int sja1105_devlink_param_get(struct dsa_switch *ds, u32 id, in sja1105_devlink_param_get() 188 int sja1105_devlink_param_set(struct dsa_switch *ds, u32 id, in sja1105_devlink_param_set() 214 static int sja1105_setup_devlink_params(struct dsa_switch *ds) in sja1105_setup_devlink_params() 220 static void sja1105_teardown_devlink_params(struct dsa_switch *ds) in sja1105_teardown_devlink_params() 226 int sja1105_devlink_info_get(struct dsa_switch *ds, in sja1105_devlink_info_get() 243 int sja1105_devlink_setup(struct dsa_switch *ds) in sja1105_devlink_setup() [all …]
|
D | sja1105_main.c | 316 struct dsa_switch *ds = priv->ds; in sja1105_init_static_vlan() local 1026 static void sja1105_mac_config(struct dsa_switch *ds, int port, in sja1105_mac_config() 1049 static void sja1105_mac_link_down(struct dsa_switch *ds, int port, in sja1105_mac_link_down() 1056 static void sja1105_mac_link_up(struct dsa_switch *ds, int port, in sja1105_mac_link_up() 1073 static void sja1105_phylink_validate(struct dsa_switch *ds, int port, in sja1105_phylink_validate() 1114 static int sja1105_mac_pcs_get_state(struct dsa_switch *ds, int port, in sja1105_mac_pcs_get_state() 1260 int sja1105et_fdb_add(struct dsa_switch *ds, int port, in sja1105et_fdb_add() 1345 int sja1105et_fdb_del(struct dsa_switch *ds, int port, in sja1105et_fdb_del() 1380 int sja1105pqrs_fdb_add(struct dsa_switch *ds, int port, in sja1105pqrs_fdb_add() 1466 int sja1105pqrs_fdb_del(struct dsa_switch *ds, int port, in sja1105pqrs_fdb_del() [all …]
|
D | sja1105_ptp.c | 87 int sja1105_hwtstamp_set(struct dsa_switch *ds, int port, struct ifreq *ifr) in sja1105_hwtstamp_set() 135 int sja1105_hwtstamp_get(struct dsa_switch *ds, int port, struct ifreq *ifr) in sja1105_hwtstamp_get() 154 int sja1105_get_ts_info(struct dsa_switch *ds, int port, in sja1105_get_ts_info() 209 int sja1105_ptp_commit(struct dsa_switch *ds, struct sja1105_ptp_cmd *cmd, in sja1105_ptp_commit() 243 static u64 sja1105_tstamp_reconstruct(struct dsa_switch *ds, u64 now, in sja1105_tstamp_reconstruct() 288 static int sja1105_ptpegr_ts_poll(struct dsa_switch *ds, int port, u64 *ts) in sja1105_ptpegr_ts_poll() 381 struct dsa_switch *ds = priv->ds; in sja1105_rxtstamp_work() local 417 bool sja1105_port_rxtstamp(struct dsa_switch *ds, int port, in sja1105_port_rxtstamp() 438 bool sja1105_port_txtstamp(struct dsa_switch *ds, int port, in sja1105_port_txtstamp() 450 static int sja1105_ptp_reset(struct dsa_switch *ds) in sja1105_ptp_reset() [all …]
|
D | sja1105_tas.c | 21 struct dsa_switch *ds = priv->ds; in sja1105_tas_set_runtime_params() local 507 int sja1105_setup_tc_taprio(struct dsa_switch *ds, int port, in sja1105_setup_tc_taprio() 582 struct dsa_switch *ds = priv->ds; in sja1105_tas_check_running() local 629 struct dsa_switch *ds = priv->ds; in sja1105_tas_start() local 656 struct dsa_switch *ds = priv->ds; in sja1105_tas_stop() local 725 struct dsa_switch *ds = priv->ds; in sja1105_tas_state_machine() local 840 void sja1105_tas_clockstep(struct dsa_switch *ds) in sja1105_tas_clockstep() 852 void sja1105_tas_adjfreq(struct dsa_switch *ds) in sja1105_tas_adjfreq() 868 void sja1105_tas_setup(struct dsa_switch *ds) in sja1105_tas_setup() 880 void sja1105_tas_teardown(struct dsa_switch *ds) in sja1105_tas_teardown()
|
D | sja1105_ptp.h | 137 static inline int sja1105_ptp_clock_register(struct dsa_switch *ds) in sja1105_ptp_clock_register() 142 static inline void sja1105_ptp_clock_unregister(struct dsa_switch *ds) { } in sja1105_ptp_clock_unregister() 144 static inline void sja1105_ptp_txtstamp_skb(struct dsa_switch *ds, int slot, in sja1105_ptp_txtstamp_skb() 149 static inline int __sja1105_ptp_gettimex(struct dsa_switch *ds, u64 *ns, in __sja1105_ptp_gettimex() 155 static inline int __sja1105_ptp_settime(struct dsa_switch *ds, u64 ns, in __sja1105_ptp_settime() 161 static inline int __sja1105_ptp_adjtime(struct dsa_switch *ds, s64 delta) in __sja1105_ptp_adjtime() 166 static inline int sja1105_ptp_commit(struct dsa_switch *ds, in sja1105_ptp_commit()
|
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()
|
/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 425 struct dsa_switch *ds = dsa_devlink_port_to_ds(devlink_port); in mv88e6xxx_region_port_snapshot() local 519 static int mv88e6xxx_setup_devlink_regions_port(struct dsa_switch *ds, in mv88e6xxx_setup_devlink_regions_port() 546 static int mv88e6xxx_setup_devlink_regions_ports(struct dsa_switch *ds, in mv88e6xxx_setup_devlink_regions_ports() [all …]
|
D | chip.c | 461 static int mv88e6xxx_phy_is_internal(struct dsa_switch *ds, int port) in mv88e6xxx_phy_is_internal() 484 static int mv88e6xxx_serdes_pcs_get_state(struct dsa_switch *ds, int port, in mv88e6xxx_serdes_pcs_get_state() 521 static void mv88e6xxx_serdes_pcs_an_restart(struct dsa_switch *ds, int port) in mv88e6xxx_serdes_pcs_an_restart() 638 static void mv88e6xxx_validate(struct dsa_switch *ds, int port, in mv88e6xxx_validate() 663 static void mv88e6xxx_mac_config(struct dsa_switch *ds, int port, in mv88e6xxx_mac_config() 722 static void mv88e6xxx_mac_link_down(struct dsa_switch *ds, int port, in mv88e6xxx_mac_link_down() 747 static void mv88e6xxx_mac_link_up(struct dsa_switch *ds, int port, in mv88e6xxx_mac_link_up() 962 static void mv88e6xxx_get_strings(struct dsa_switch *ds, int port, in mv88e6xxx_get_strings() 1018 static int mv88e6xxx_get_sset_count(struct dsa_switch *ds, int port, int sset) in mv88e6xxx_get_sset_count() 1132 static void mv88e6xxx_get_ethtool_stats(struct dsa_switch *ds, int port, in mv88e6xxx_get_ethtool_stats() [all …]
|
D | hwtstamp.h | 135 static inline int mv88e6xxx_port_hwtstamp_set(struct dsa_switch *ds, in mv88e6xxx_port_hwtstamp_set() 141 static inline int mv88e6xxx_port_hwtstamp_get(struct dsa_switch *ds, in mv88e6xxx_port_hwtstamp_get() 147 static inline bool mv88e6xxx_port_rxtstamp(struct dsa_switch *ds, int port, in mv88e6xxx_port_rxtstamp() 154 static inline bool mv88e6xxx_port_txtstamp(struct dsa_switch *ds, int port, in mv88e6xxx_port_txtstamp() 161 static inline int mv88e6xxx_get_ts_info(struct dsa_switch *ds, int port, in mv88e6xxx_get_ts_info()
|
/drivers/net/wireless/ath/ath9k/ |
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() 315 static int ar9002_hw_proc_txdesc(struct ath_hw *ah, void *ds, in ar9002_hw_proc_txdesc() 387 static int ar9002_hw_get_duration(struct ath_hw *ah, const void *ds, int index) in ar9002_hw_get_duration() 405 void ath9k_hw_setuprxdesc(struct ath_hw *ah, struct ath_desc *ds, in ath9k_hw_setuprxdesc()
|
/drivers/net/dsa/qca/ |
D | ar9331.c | 159 struct dsa_switch ds; member 302 static int ar9331_sw_setup(struct dsa_switch *ds) in ar9331_sw_setup() 339 static void ar9331_sw_port_disable(struct dsa_switch *ds, int port) in ar9331_sw_port_disable() 350 static enum dsa_tag_protocol ar9331_sw_get_tag_protocol(struct dsa_switch *ds, in ar9331_sw_get_tag_protocol() 357 static void ar9331_sw_phylink_validate(struct dsa_switch *ds, int port, in ar9331_sw_phylink_validate() 407 static void ar9331_sw_phylink_mac_config(struct dsa_switch *ds, int port, in ar9331_sw_phylink_mac_config() 422 static void ar9331_sw_phylink_mac_link_down(struct dsa_switch *ds, int port, in ar9331_sw_phylink_mac_link_down() 436 static void ar9331_sw_phylink_mac_link_up(struct dsa_switch *ds, int port, in ar9331_sw_phylink_mac_link_up() 806 struct dsa_switch *ds; in ar9331_sw_probe() local
|