/Linux-v5.4/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() 55 static int dsa_switch_bridge_join(struct dsa_switch *ds, in dsa_switch_bridge_join() 68 static int dsa_switch_bridge_leave(struct dsa_switch *ds, in dsa_switch_bridge_leave() 109 static int dsa_switch_fdb_add(struct dsa_switch *ds, in dsa_switch_fdb_add() 120 static int dsa_switch_fdb_del(struct dsa_switch *ds, in dsa_switch_fdb_del() 131 static bool dsa_switch_mdb_match(struct dsa_switch *ds, int port, in dsa_switch_mdb_match() 143 static int dsa_switch_mdb_prepare(struct dsa_switch *ds, in dsa_switch_mdb_prepare() 162 static int dsa_switch_mdb_add(struct dsa_switch *ds, in dsa_switch_mdb_add() 180 static int dsa_switch_mdb_del(struct dsa_switch *ds, in dsa_switch_mdb_del() [all …]
|
D | dsa2.c | 114 struct dsa_switch *ds; in dsa_tree_find_port_by_node() local 136 struct dsa_switch *ds = dp->ds; in dsa_port_setup_routing_table() local 156 static bool dsa_switch_setup_routing_table(struct dsa_switch *ds) in dsa_switch_setup_routing_table() 180 struct dsa_switch *ds; in dsa_tree_setup_routing_table() local 199 struct dsa_switch *ds; in dsa_tree_find_first_cpu() local 221 struct dsa_switch *ds; in dsa_tree_setup_default_cpu() local 257 struct dsa_switch *ds = dp->ds; in dsa_port_setup() local 368 static int dsa_switch_setup(struct dsa_switch *ds) in dsa_switch_setup() 425 static void dsa_switch_teardown(struct dsa_switch *ds) in dsa_switch_teardown() 445 struct dsa_switch *ds; in dsa_tree_setup_switches() local [all …]
|
D | port.c | 29 struct dsa_switch *ds = dp->ds; in dsa_port_set_state() local 68 struct dsa_switch *ds = dp->ds; in dsa_port_enable() local 86 struct dsa_switch *ds = dp->ds; in dsa_port_disable() local 156 struct dsa_switch *ds = dp->ds; in dsa_port_can_apply_vlan_filtering() local 189 struct dsa_switch *ds = dp->ds; in dsa_port_vlan_filtering() local 238 struct dsa_switch *ds = dp->ds; in dsa_port_pre_bridge_flags() local 250 struct dsa_switch *ds = dp->ds; in dsa_port_bridge_flags() local 267 struct dsa_switch *ds = dp->ds; in dsa_port_mrouter() local 305 struct dsa_switch *ds = dp->ds; in dsa_port_fdb_dump() local 423 struct dsa_switch *ds = dp->ds; in dsa_port_phylink_validate() local [all …]
|
D | slave.c | 30 struct dsa_switch *ds = bus->priv; in dsa_slave_phy_read() local 40 struct dsa_switch *ds = bus->priv; in dsa_slave_phy_write() local 48 void dsa_slave_mii_bus_init(struct dsa_switch *ds) in dsa_slave_mii_bus_init() 261 struct dsa_switch *ds = p->dp->ds; in dsa_slave_ioctl() local 435 struct dsa_switch *ds = dp->ds; in dsa_slave_get_port_parent_id() local 468 struct dsa_switch *ds = p->dp->ds; in dsa_skb_tx_timestamp() local 557 struct dsa_switch *ds = dp->ds; in dsa_port_xmit_work() local 580 struct dsa_switch *ds = dp->ds; in dsa_slave_get_regs_len() local 592 struct dsa_switch *ds = dp->ds; in dsa_slave_get_regs() local 608 struct dsa_switch *ds = dp->ds; in dsa_slave_get_eeprom_len() 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 203 struct dsa_switch *ds = cpu_dp->ds; in dsa_master_ethtool_setup() local 237 struct dsa_switch *ds = cpu_dp->ds; in dsa_master_ndo_setup() local
|
D | tag_8021q.c | 65 u16 dsa_8021q_tx_vid(struct dsa_switch *ds, int port) in dsa_8021q_tx_vid() 75 u16 dsa_8021q_rx_vid(struct dsa_switch *ds, int port) in dsa_8021q_rx_vid() 96 static int dsa_8021q_restore_pvid(struct dsa_switch *ds, int port) in dsa_8021q_restore_pvid() 130 static int dsa_8021q_vid_apply(struct dsa_switch *ds, int port, u16 vid, in dsa_8021q_vid_apply() 221 int dsa_port_setup_8021q_tagging(struct dsa_switch *ds, int port, bool enabled) in dsa_port_setup_8021q_tagging()
|
/Linux-v5.4/drivers/acpi/ |
D | dock.c | 73 static int add_dock_dependent_device(struct dock_station *ds, in add_dock_dependent_device() 134 struct dock_station *ds; in find_dock_station() local 152 find_dock_dependent_device(struct dock_station *ds, struct acpi_device *adev) in find_dock_dependent_device() 166 struct dock_station *ds = find_dock_station(dshandle); in register_dock_dependent_device() local 209 static int dock_present(struct dock_station *ds) in dock_present() 226 static void hot_remove_dock_devices(struct dock_station *ds) in hot_remove_dock_devices() 252 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.4/drivers/net/dsa/microchip/ |
D | ksz_common.c | 125 int ksz_phy_read16(struct dsa_switch *ds, int addr, int reg) in ksz_phy_read16() 136 int ksz_phy_write16(struct dsa_switch *ds, int addr, int reg, u16 val) in ksz_phy_write16() 146 void ksz_adjust_link(struct dsa_switch *ds, int port, in ksz_adjust_link() 167 int ksz_sset_count(struct dsa_switch *ds, int port, int sset) in ksz_sset_count() 178 void ksz_get_ethtool_stats(struct dsa_switch *ds, int port, uint64_t *buf) in ksz_get_ethtool_stats() 196 int ksz_port_bridge_join(struct dsa_switch *ds, int port, in ksz_port_bridge_join() 213 void ksz_port_bridge_leave(struct dsa_switch *ds, int port, in ksz_port_bridge_leave() 229 void ksz_port_fast_age(struct dsa_switch *ds, int port) in ksz_port_fast_age() 237 int ksz_port_vlan_prepare(struct dsa_switch *ds, int port, in ksz_port_vlan_prepare() 246 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() 308 static int ksz9477_phy_read16(struct dsa_switch *ds, int addr, int reg) in ksz9477_phy_read16() 358 static int ksz9477_phy_write16(struct dsa_switch *ds, int addr, int reg, in ksz9477_phy_write16() 375 static void ksz9477_get_strings(struct dsa_switch *ds, int port, in ksz9477_get_strings() 396 static void ksz9477_port_stp_state_set(struct dsa_switch *ds, int port, in ksz9477_port_stp_state_set() 503 static int ksz9477_port_vlan_filtering(struct dsa_switch *ds, int port, in ksz9477_port_vlan_filtering() 521 static void ksz9477_port_vlan_add(struct dsa_switch *ds, int port, in ksz9477_port_vlan_add() 555 static int ksz9477_port_vlan_del(struct dsa_switch *ds, int port, in ksz9477_port_vlan_del() 592 static int ksz9477_port_fdb_add(struct dsa_switch *ds, int port, in ksz9477_port_fdb_add() 649 static int ksz9477_port_fdb_del(struct dsa_switch *ds, int port, in ksz9477_port_fdb_del() [all …]
|
/Linux-v5.4/drivers/net/dsa/ |
D | dsa_loop.c | 63 static enum dsa_tag_protocol dsa_loop_get_protocol(struct dsa_switch *ds, in dsa_loop_get_protocol() 71 static int dsa_loop_setup(struct dsa_switch *ds) in dsa_loop_setup() 85 static int dsa_loop_get_sset_count(struct dsa_switch *ds, int port, int sset) in dsa_loop_get_sset_count() 93 static void dsa_loop_get_strings(struct dsa_switch *ds, int port, in dsa_loop_get_strings() 107 static void dsa_loop_get_ethtool_stats(struct dsa_switch *ds, int port, in dsa_loop_get_ethtool_stats() 117 static int dsa_loop_phy_read(struct dsa_switch *ds, int port, int regnum) in dsa_loop_phy_read() 132 static int dsa_loop_phy_write(struct dsa_switch *ds, int port, in dsa_loop_phy_write() 148 static int dsa_loop_port_bridge_join(struct dsa_switch *ds, int port, in dsa_loop_port_bridge_join() 157 static void dsa_loop_port_bridge_leave(struct dsa_switch *ds, int port, in dsa_loop_port_bridge_leave() 164 static void dsa_loop_port_stp_state_set(struct dsa_switch *ds, int port, in dsa_loop_port_stp_state_set() [all …]
|
D | bcm_sf2.c | 34 static void bcm_sf2_imp_setup(struct dsa_switch *ds, int port) in bcm_sf2_imp_setup() 86 static void bcm_sf2_gphy_enable_set(struct dsa_switch *ds, bool enable) in bcm_sf2_gphy_enable_set() 159 static int bcm_sf2_port_setup(struct dsa_switch *ds, int port, in bcm_sf2_port_setup() 229 static void bcm_sf2_port_disable(struct dsa_switch *ds, int port) in bcm_sf2_port_disable() 318 struct dsa_switch *ds = dev_id; in bcm_sf2_switch_0_isr() local 330 struct dsa_switch *ds = dev_id; in bcm_sf2_switch_1_isr() local 413 static int bcm_sf2_mdio_register(struct dsa_switch *ds) in bcm_sf2_mdio_register() 474 static u32 bcm_sf2_sw_get_phy_flags(struct dsa_switch *ds, int port) in bcm_sf2_sw_get_phy_flags() 486 static void bcm_sf2_sw_validate(struct dsa_switch *ds, int port, in bcm_sf2_sw_validate() 533 static void bcm_sf2_sw_mac_config(struct dsa_switch *ds, int port, in bcm_sf2_sw_mac_config() [all …]
|
D | mt7530.c | 428 mt7530_pad_clk_setup(struct dsa_switch *ds, int mode) in mt7530_pad_clk_setup() 542 mt7623_pad_clk_setup(struct dsa_switch *ds) in mt7623_pad_clk_setup() 558 mt7530_mib_reset(struct dsa_switch *ds) in mt7530_mib_reset() 577 static int mt7530_phy_read(struct dsa_switch *ds, int port, int regnum) in mt7530_phy_read() 584 static int mt7530_phy_write(struct dsa_switch *ds, int port, int regnum, in mt7530_phy_write() 593 mt7530_get_strings(struct dsa_switch *ds, int port, u32 stringset, in mt7530_get_strings() 607 mt7530_get_ethtool_stats(struct dsa_switch *ds, int port, in mt7530_get_ethtool_stats() 628 mt7530_get_sset_count(struct dsa_switch *ds, int port, int sset) in mt7530_get_sset_count() 636 static void mt7530_setup_port5(struct dsa_switch *ds, phy_interface_t interface) in mt7530_setup_port5() 735 mt7530_port_enable(struct dsa_switch *ds, int port, in mt7530_port_enable() [all …]
|
D | qca8k.c | 552 qca8k_phy_write(struct dsa_switch *ds, int port, int regnum, u16 data) in qca8k_phy_write() 560 qca8k_phy_read(struct dsa_switch *ds, int port, int regnum) in qca8k_phy_read() 639 qca8k_setup(struct dsa_switch *ds) in qca8k_setup() 745 qca8k_adjust_link(struct dsa_switch *ds, int port, struct phy_device *phy) in qca8k_adjust_link() 786 qca8k_get_strings(struct dsa_switch *ds, int port, u32 stringset, uint8_t *data) in qca8k_get_strings() 799 qca8k_get_ethtool_stats(struct dsa_switch *ds, int port, in qca8k_get_ethtool_stats() 820 qca8k_get_sset_count(struct dsa_switch *ds, int port, int sset) in qca8k_get_sset_count() 829 qca8k_set_mac_eee(struct dsa_switch *ds, int port, struct ethtool_eee *eee) in qca8k_set_mac_eee() 848 qca8k_get_mac_eee(struct dsa_switch *ds, int port, struct ethtool_eee *e) in qca8k_get_mac_eee() 855 qca8k_port_stp_state_set(struct dsa_switch *ds, int port, u8 state) in qca8k_port_stp_state_set() [all …]
|
D | mv88e6060.c | 45 static enum dsa_tag_protocol mv88e6060_get_tag_protocol(struct dsa_switch *ds, in mv88e6060_get_tag_protocol() 183 static int mv88e6060_setup(struct dsa_switch *ds) in mv88e6060_setup() 221 static int mv88e6060_phy_read(struct dsa_switch *ds, int port, int regnum) in mv88e6060_phy_read() 234 mv88e6060_phy_write(struct dsa_switch *ds, int port, int regnum, u16 val) in mv88e6060_phy_write() 257 struct dsa_switch *ds; in mv88e6060_probe() local 288 struct dsa_switch *ds = dev_get_drvdata(&mdiodev->dev); in mv88e6060_remove() local
|
D | rtl8366.c | 304 int rtl8366_vlan_filtering(struct dsa_switch *ds, int port, bool vlan_filtering) in rtl8366_vlan_filtering() 338 int rtl8366_vlan_prepare(struct dsa_switch *ds, int port, in rtl8366_vlan_prepare() 364 void rtl8366_vlan_add(struct dsa_switch *ds, int port, in rtl8366_vlan_add() 420 int rtl8366_vlan_del(struct dsa_switch *ds, int port, in rtl8366_vlan_del() 465 void rtl8366_get_strings(struct dsa_switch *ds, int port, u32 stringset, in rtl8366_get_strings() 483 int rtl8366_get_sset_count(struct dsa_switch *ds, int port, int sset) in rtl8366_get_sset_count() 497 void rtl8366_get_ethtool_stats(struct dsa_switch *ds, int port, uint64_t *data) in rtl8366_get_ethtool_stats()
|
D | lantiq_gswip.c | 250 struct dsa_switch *ds; member 485 struct dsa_switch *ds = priv->ds; in gswip_mdio() local 639 static int gswip_port_enable(struct dsa_switch *ds, int port, in gswip_port_enable() 680 static void gswip_port_disable(struct dsa_switch *ds, int port) in gswip_port_disable() 738 static int gswip_port_vlan_filtering(struct dsa_switch *ds, int port, in gswip_port_vlan_filtering() 771 static int gswip_setup(struct dsa_switch *ds) in gswip_setup() 843 static enum dsa_tag_protocol gswip_get_tag_protocol(struct dsa_switch *ds, in gswip_get_tag_protocol() 1102 static int gswip_port_bridge_join(struct dsa_switch *ds, int port, in gswip_port_bridge_join() 1122 static void gswip_port_bridge_leave(struct dsa_switch *ds, int port, in gswip_port_bridge_leave() 1136 static int gswip_port_vlan_prepare(struct dsa_switch *ds, int port, in gswip_port_vlan_prepare() [all …]
|
/Linux-v5.4/drivers/net/dsa/b53/ |
D | b53_common.c | 499 void b53_imp_vlan_setup(struct dsa_switch *ds, int cpu_port) in b53_imp_vlan_setup() 517 int b53_enable_port(struct dsa_switch *ds, int port, struct phy_device *phy) in b53_enable_port() 557 void b53_disable_port(struct dsa_switch *ds, int port) in b53_disable_port() 572 void b53_brcm_hdr_setup(struct dsa_switch *ds, int port) in b53_brcm_hdr_setup() 663 int b53_configure_vlan(struct dsa_switch *ds) in b53_configure_vlan() 765 static int b53_phy_read16(struct dsa_switch *ds, int addr, int reg) in b53_phy_read16() 780 static int b53_phy_write16(struct dsa_switch *ds, int addr, int reg, u16 val) in b53_phy_write16() 852 static struct phy_device *b53_get_phy_device(struct dsa_switch *ds, int port) in b53_get_phy_device() 865 void b53_get_strings(struct dsa_switch *ds, int port, u32 stringset, in b53_get_strings() 888 void b53_get_ethtool_stats(struct dsa_switch *ds, int port, uint64_t *data) in b53_get_ethtool_stats() [all …]
|
/Linux-v5.4/drivers/net/dsa/sja1105/ |
D | sja1105_main.c | 806 static void sja1105_mac_config(struct dsa_switch *ds, int port, in sja1105_mac_config() 823 static void sja1105_mac_link_down(struct dsa_switch *ds, int port, in sja1105_mac_link_down() 830 static void sja1105_mac_link_up(struct dsa_switch *ds, int port, in sja1105_mac_link_up() 838 static void sja1105_phylink_validate(struct dsa_switch *ds, int port, in sja1105_phylink_validate() 991 int sja1105et_fdb_add(struct dsa_switch *ds, int port, in sja1105et_fdb_add() 1051 int sja1105et_fdb_del(struct dsa_switch *ds, int port, in sja1105et_fdb_del() 1086 int sja1105pqrs_fdb_add(struct dsa_switch *ds, int port, in sja1105pqrs_fdb_add() 1149 int sja1105pqrs_fdb_del(struct dsa_switch *ds, int port, in sja1105pqrs_fdb_del() 1193 static int sja1105_fdb_add(struct dsa_switch *ds, int port, in sja1105_fdb_add() 1213 static int sja1105_fdb_del(struct dsa_switch *ds, int port, in sja1105_fdb_del() [all …]
|
D | sja1105_tas.h | 29 static inline int sja1105_setup_tc_taprio(struct dsa_switch *ds, int port, in sja1105_setup_tc_taprio() 35 static inline void sja1105_tas_setup(struct dsa_switch *ds) { } in sja1105_tas_setup() 37 static inline void sja1105_tas_teardown(struct dsa_switch *ds) { } in sja1105_tas_teardown()
|
/Linux-v5.4/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() 83 struct xchk_da_btree *ds, in xchk_da_btree_entry() 119 struct xchk_da_btree *ds, in xchk_da_btree_hash() 153 struct xchk_da_btree *ds, in xchk_da_btree_ptr_ok() 241 struct xchk_da_btree *ds, in xchk_da_btree_block_check_sibling() 293 struct xchk_da_btree *ds, in xchk_da_btree_block_check_siblings() 328 struct xchk_da_btree *ds, in xchk_da_btree_block() 478 struct xchk_da_btree ds = {}; in xchk_da_btree() local
|
/Linux-v5.4/drivers/net/dsa/mv88e6xxx/ |
D | chip.c | 471 static int mv88e6xxx_phy_is_internal(struct dsa_switch *ds, int port) in mv88e6xxx_phy_is_internal() 557 static void mv88e6xxx_validate(struct dsa_switch *ds, int port, in mv88e6xxx_validate() 582 static int mv88e6xxx_link_state(struct dsa_switch *ds, int port, in mv88e6xxx_link_state() 598 static void mv88e6xxx_mac_config(struct dsa_switch *ds, int port, in mv88e6xxx_mac_config() 632 static void mv88e6xxx_mac_link_force(struct dsa_switch *ds, int port, int link) in mv88e6xxx_mac_link_force() 645 static void mv88e6xxx_mac_link_down(struct dsa_switch *ds, int port, in mv88e6xxx_mac_link_down() 653 static void mv88e6xxx_mac_link_up(struct dsa_switch *ds, int port, in mv88e6xxx_mac_link_up() 828 static void mv88e6xxx_get_strings(struct dsa_switch *ds, int port, in mv88e6xxx_get_strings() 884 static int mv88e6xxx_get_sset_count(struct dsa_switch *ds, int port, int sset) in mv88e6xxx_get_sset_count() 998 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()
|
/Linux-v5.4/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()
|
/Linux-v5.4/fs/nfs/ |
D | pnfs_nfs.c | 329 print_ds(struct nfs4_pnfs_ds *ds) in print_ds() 420 struct nfs4_pnfs_ds *ds; in _data_server_lookup_locked() local 428 static void destroy_ds(struct nfs4_pnfs_ds *ds) in destroy_ds() 451 void nfs4_pnfs_ds_put(struct nfs4_pnfs_ds *ds) in nfs4_pnfs_ds_put() 518 struct nfs4_pnfs_ds *tmp_ds, *ds = NULL; in nfs4_pnfs_ds_add() local 560 static void nfs4_wait_ds_connect(struct nfs4_pnfs_ds *ds) in nfs4_wait_ds_connect() 567 static void nfs4_clear_ds_conn_bit(struct nfs4_pnfs_ds *ds) in nfs4_clear_ds_conn_bit() 602 struct nfs4_pnfs_ds *ds, in _nfs4_pnfs_v3_ds_connect() 655 struct nfs4_pnfs_ds *ds, in _nfs4_pnfs_v4_ds_connect() 732 int nfs4_pnfs_ds_connect(struct nfs_server *mds_srv, struct nfs4_pnfs_ds *ds, in nfs4_pnfs_ds_connect()
|
/Linux-v5.4/include/linux/dsa/ |
D | 8021q.h | 35 int dsa_port_setup_8021q_tagging(struct dsa_switch *ds, int index, in dsa_port_setup_8021q_tagging() 47 u16 dsa_8021q_tx_vid(struct dsa_switch *ds, int port) in dsa_8021q_tx_vid() 52 u16 dsa_8021q_rx_vid(struct dsa_switch *ds, int port) in dsa_8021q_rx_vid()
|