Home
last modified time | relevance | path

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

1234567

/Linux-v4.19/net/dsa/
Dswitch.c19 static unsigned int dsa_switch_fastest_ageing_time(struct dsa_switch *ds, in dsa_switch_fastest_ageing_time()
34 static int dsa_switch_ageing_time(struct dsa_switch *ds, in dsa_switch_ageing_time()
57 static int dsa_switch_bridge_join(struct dsa_switch *ds, in dsa_switch_bridge_join()
70 static int dsa_switch_bridge_leave(struct dsa_switch *ds, in dsa_switch_bridge_leave()
83 static int dsa_switch_fdb_add(struct dsa_switch *ds, in dsa_switch_fdb_add()
94 static int dsa_switch_fdb_del(struct dsa_switch *ds, in dsa_switch_fdb_del()
106 dsa_switch_mdb_prepare_bitmap(struct dsa_switch *ds, in dsa_switch_mdb_prepare_bitmap()
124 static void dsa_switch_mdb_add_bitmap(struct dsa_switch *ds, in dsa_switch_mdb_add_bitmap()
134 static int dsa_switch_mdb_add(struct dsa_switch *ds, in dsa_switch_mdb_add()
157 static int dsa_switch_mdb_del(struct dsa_switch *ds, in dsa_switch_mdb_del()
[all …]
Ddsa2.c117 struct dsa_switch *ds; in dsa_tree_find_port_by_node() local
139 struct dsa_switch *ds = dp->ds; in dsa_port_setup_routing_table() local
159 static bool dsa_switch_setup_routing_table(struct dsa_switch *ds) in dsa_switch_setup_routing_table()
183 struct dsa_switch *ds; in dsa_tree_setup_routing_table() local
202 struct dsa_switch *ds; in dsa_tree_find_first_cpu() local
224 struct dsa_switch *ds; in dsa_tree_setup_default_cpu() local
260 struct dsa_switch *ds = dp->ds; in dsa_port_setup() local
341 static int dsa_switch_setup(struct dsa_switch *ds) in dsa_switch_setup()
386 static void dsa_switch_teardown(struct dsa_switch *ds) in dsa_switch_teardown()
403 struct dsa_switch *ds; in dsa_tree_setup_switches() local
[all …]
Dslave.c34 struct dsa_switch *ds = bus->priv; in dsa_slave_phy_read() local
44 struct dsa_switch *ds = bus->priv; in dsa_slave_phy_write() local
52 void dsa_slave_mii_bus_init(struct dsa_switch *ds) in dsa_slave_mii_bus_init()
259 struct dsa_switch *ds = p->dp->ds; in dsa_slave_ioctl() local
369 struct dsa_switch *ds = dp->ds; in dsa_slave_port_attr_get() local
404 struct dsa_switch *ds = p->dp->ds; in dsa_skb_tx_timestamp() local
479 struct dsa_switch *ds = dp->ds; in dsa_slave_get_regs_len() local
491 struct dsa_switch *ds = dp->ds; in dsa_slave_get_regs() local
507 struct dsa_switch *ds = dp->ds; in dsa_slave_get_eeprom_len() local
522 struct dsa_switch *ds = dp->ds; in dsa_slave_get_eeprom() local
[all …]
Dmaster.c21 struct dsa_switch *ds = cpu_dp->ds; in dsa_master_get_ethtool_stats() local
40 struct dsa_switch *ds = cpu_dp->ds; in dsa_master_get_ethtool_phy_stats() local
64 struct dsa_switch *ds = cpu_dp->ds; in dsa_master_get_sset_count() local
87 struct dsa_switch *ds = cpu_dp->ds; in dsa_master_get_strings() local
132 struct dsa_switch *ds = cpu_dp->ds; in dsa_master_ethtool_setup() local
Dport.c33 struct dsa_switch *ds = dp->ds; in dsa_port_set_state() local
73 struct dsa_switch *ds = dp->ds; in dsa_port_enable() local
90 struct dsa_switch *ds = dp->ds; in dsa_port_disable() local
149 struct dsa_switch *ds = dp->ds; in dsa_port_vlan_filtering() local
209 struct dsa_switch *ds = dp->ds; in dsa_port_fdb_dump() local
302 struct dsa_switch *ds = dp->ds; in dsa_port_setup_phy_of() local
345 struct dsa_switch *ds = dp->ds; in dsa_port_fixed_link_register_of() local
Dlegacy.c81 static int dsa_cpu_dsa_setups(struct dsa_switch *ds) in dsa_cpu_dsa_setups()
96 static int dsa_switch_setup_one(struct dsa_switch *ds, in dsa_switch_setup_one()
221 struct dsa_switch *ds; in dsa_switch_setup() local
259 static void dsa_switch_destroy(struct dsa_switch *ds) in dsa_switch_destroy()
576 struct dsa_switch *ds; in dsa_setup_dst() local
664 struct dsa_switch *ds = dst->ds[i]; in dsa_remove_dst() local
695 struct dsa_switch *ds = dst->ds[i]; in dsa_suspend() local
711 struct dsa_switch *ds = dst->ds[i]; in dsa_resume() local
Ddsa.c135 struct dsa_switch *ds = p->dp->ds; in dsa_skb_defer_rx_timestamp() local
200 static bool dsa_is_port_initialized(struct dsa_switch *ds, int p) in dsa_is_port_initialized()
205 int dsa_switch_suspend(struct dsa_switch *ds) in dsa_switch_suspend()
226 int dsa_switch_resume(struct dsa_switch *ds) in dsa_switch_resume()
/Linux-v4.19/drivers/acpi/
Ddock.c86 static int add_dock_dependent_device(struct dock_station *ds, in add_dock_dependent_device()
147 struct dock_station *ds; in find_dock_station() local
165 find_dock_dependent_device(struct dock_station *ds, struct acpi_device *adev) in find_dock_dependent_device()
179 struct dock_station *ds = find_dock_station(dshandle); in register_dock_dependent_device() local
222 static int dock_present(struct dock_station *ds) in dock_present()
239 static void hot_remove_dock_devices(struct dock_station *ds) in hot_remove_dock_devices()
265 static void hotplug_dock_devices(struct dock_station *ds, u32 event) in hotplug_dock_devices()
294 static void dock_event(struct dock_station *ds, u32 event, int num) in dock_event()
327 static void handle_dock(struct dock_station *ds, int dock) in handle_dock()
347 static inline void dock(struct dock_station *ds) in dock()
[all …]
/Linux-v4.19/drivers/net/dsa/
Ddsa_loop.c67 static enum dsa_tag_protocol dsa_loop_get_protocol(struct dsa_switch *ds, in dsa_loop_get_protocol()
75 static int dsa_loop_setup(struct dsa_switch *ds) in dsa_loop_setup()
89 static int dsa_loop_get_sset_count(struct dsa_switch *ds, int port, int sset) in dsa_loop_get_sset_count()
97 static void dsa_loop_get_strings(struct dsa_switch *ds, int port, in dsa_loop_get_strings()
111 static void dsa_loop_get_ethtool_stats(struct dsa_switch *ds, int port, in dsa_loop_get_ethtool_stats()
121 static int dsa_loop_phy_read(struct dsa_switch *ds, int port, int regnum) in dsa_loop_phy_read()
136 static int dsa_loop_phy_write(struct dsa_switch *ds, int port, in dsa_loop_phy_write()
152 static int dsa_loop_port_bridge_join(struct dsa_switch *ds, int port, in dsa_loop_port_bridge_join()
161 static void dsa_loop_port_bridge_leave(struct dsa_switch *ds, int port, in dsa_loop_port_bridge_leave()
168 static void dsa_loop_port_stp_state_set(struct dsa_switch *ds, int port, in dsa_loop_port_stp_state_set()
[all …]
Dmv88e6060.c21 static int reg_read(struct dsa_switch *ds, int addr, int reg) in reg_read()
39 static int reg_write(struct dsa_switch *ds, int addr, int reg, u16 val) in reg_write()
73 static enum dsa_tag_protocol mv88e6060_get_tag_protocol(struct dsa_switch *ds, in mv88e6060_get_tag_protocol()
100 static int mv88e6060_switch_reset(struct dsa_switch *ds) in mv88e6060_switch_reset()
137 static int mv88e6060_setup_global(struct dsa_switch *ds) in mv88e6060_setup_global()
156 static int mv88e6060_setup_port(struct dsa_switch *ds, int p) in mv88e6060_setup_port()
192 static int mv88e6060_setup_addr(struct dsa_switch *ds) in mv88e6060_setup_addr()
213 static int mv88e6060_setup(struct dsa_switch *ds) in mv88e6060_setup()
248 static int mv88e6060_phy_read(struct dsa_switch *ds, int port, int regnum) in mv88e6060_phy_read()
260 mv88e6060_phy_write(struct dsa_switch *ds, int port, int regnum, u16 val) in mv88e6060_phy_write()
Dbcm_sf2.c38 static void bcm_sf2_imp_setup(struct dsa_switch *ds, int port) in bcm_sf2_imp_setup()
84 static void bcm_sf2_gphy_enable_set(struct dsa_switch *ds, bool enable) in bcm_sf2_gphy_enable_set()
157 static int bcm_sf2_port_setup(struct dsa_switch *ds, int port, in bcm_sf2_port_setup()
224 static void bcm_sf2_port_disable(struct dsa_switch *ds, int port, in bcm_sf2_port_disable()
315 struct dsa_switch *ds = dev_id; in bcm_sf2_switch_0_isr() local
327 struct dsa_switch *ds = dev_id; in bcm_sf2_switch_1_isr() local
410 static int bcm_sf2_mdio_register(struct dsa_switch *ds) in bcm_sf2_mdio_register()
472 static u32 bcm_sf2_sw_get_phy_flags(struct dsa_switch *ds, int port) in bcm_sf2_sw_get_phy_flags()
484 static void bcm_sf2_sw_validate(struct dsa_switch *ds, int port, in bcm_sf2_sw_validate()
528 static void bcm_sf2_sw_mac_config(struct dsa_switch *ds, int port, in bcm_sf2_sw_mac_config()
[all …]
Dmt7530.c437 mt7530_pad_clk_setup(struct dsa_switch *ds, int mode) in mt7530_pad_clk_setup()
525 mt7623_pad_clk_setup(struct dsa_switch *ds) in mt7623_pad_clk_setup()
541 mt7530_mib_reset(struct dsa_switch *ds) in mt7530_mib_reset()
560 static int mt7530_phy_read(struct dsa_switch *ds, int port, int regnum) in mt7530_phy_read()
567 static int mt7530_phy_write(struct dsa_switch *ds, int port, int regnum, in mt7530_phy_write()
576 mt7530_get_strings(struct dsa_switch *ds, int port, u32 stringset, in mt7530_get_strings()
590 mt7530_get_ethtool_stats(struct dsa_switch *ds, int port, in mt7530_get_ethtool_stats()
611 mt7530_get_sset_count(struct dsa_switch *ds, int port, int sset) in mt7530_get_sset_count()
619 static void mt7530_adjust_link(struct dsa_switch *ds, int port, in mt7530_adjust_link()
704 mt7530_port_enable(struct dsa_switch *ds, int port, in mt7530_port_enable()
[all …]
Dqca8k.c481 qca8k_setup(struct dsa_switch *ds) in qca8k_setup()
583 qca8k_adjust_link(struct dsa_switch *ds, int port, struct phy_device *phy) in qca8k_adjust_link()
624 qca8k_phy_read(struct dsa_switch *ds, int phy, int regnum) in qca8k_phy_read()
632 qca8k_phy_write(struct dsa_switch *ds, int phy, int regnum, u16 val) in qca8k_phy_write()
640 qca8k_get_strings(struct dsa_switch *ds, int port, u32 stringset, uint8_t *data) in qca8k_get_strings()
653 qca8k_get_ethtool_stats(struct dsa_switch *ds, int port, in qca8k_get_ethtool_stats()
674 qca8k_get_sset_count(struct dsa_switch *ds, int port, int sset) in qca8k_get_sset_count()
683 qca8k_set_mac_eee(struct dsa_switch *ds, int port, struct ethtool_eee *eee) in qca8k_set_mac_eee()
702 qca8k_get_mac_eee(struct dsa_switch *ds, int port, struct ethtool_eee *e) in qca8k_get_mac_eee()
709 qca8k_port_stp_state_set(struct dsa_switch *ds, int port, u8 state) in qca8k_port_stp_state_set()
[all …]
Drtl8366.c304 int rtl8366_vlan_filtering(struct dsa_switch *ds, int port, bool vlan_filtering) in rtl8366_vlan_filtering()
337 int rtl8366_vlan_prepare(struct dsa_switch *ds, int port, in rtl8366_vlan_prepare()
361 void rtl8366_vlan_add(struct dsa_switch *ds, int port, in rtl8366_vlan_add()
416 int rtl8366_vlan_del(struct dsa_switch *ds, int port, in rtl8366_vlan_del()
461 void rtl8366_get_strings(struct dsa_switch *ds, int port, u32 stringset, in rtl8366_get_strings()
479 int rtl8366_get_sset_count(struct dsa_switch *ds, int port, int sset) in rtl8366_get_sset_count()
493 void rtl8366_get_ethtool_stats(struct dsa_switch *ds, int port, uint64_t *data) in rtl8366_get_ethtool_stats()
Dlan9303-core.c894 static enum dsa_tag_protocol lan9303_get_tag_protocol(struct dsa_switch *ds, in lan9303_get_tag_protocol()
900 static int lan9303_setup(struct dsa_switch *ds) in lan9303_setup()
980 static void lan9303_get_strings(struct dsa_switch *ds, int port, in lan9303_get_strings()
994 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()
1086 static int lan9303_port_enable(struct dsa_switch *ds, int port, in lan9303_port_enable()
1094 static void lan9303_port_disable(struct dsa_switch *ds, int port, in lan9303_port_disable()
[all …]
/Linux-v4.19/drivers/net/dsa/microchip/
Dksz_common.c150 static int get_vlan_table(struct dsa_switch *ds, u16 vid, u32 *vlan_table) in get_vlan_table()
179 static int set_vlan_table(struct dsa_switch *ds, u16 vid, u32 *vlan_table) in set_vlan_table()
213 static void read_table(struct dsa_switch *ds, u32 *table) in read_table()
223 static void write_table(struct dsa_switch *ds, u32 *table) in write_table()
267 static int ksz_reset_switch(struct dsa_switch *ds) in ksz_reset_switch()
348 static void ksz_config_cpu_port(struct dsa_switch *ds) in ksz_config_cpu_port()
365 static int ksz_setup(struct dsa_switch *ds) in ksz_setup()
397 static enum dsa_tag_protocol ksz_get_tag_protocol(struct dsa_switch *ds, in ksz_get_tag_protocol()
403 static int ksz_phy_read16(struct dsa_switch *ds, int addr, int reg) in ksz_phy_read16()
413 static int ksz_phy_write16(struct dsa_switch *ds, int addr, int reg, u16 val) in ksz_phy_write16()
[all …]
/Linux-v4.19/drivers/net/dsa/b53/
Db53_common.c483 void b53_imp_vlan_setup(struct dsa_switch *ds, int cpu_port) in b53_imp_vlan_setup()
501 int b53_enable_port(struct dsa_switch *ds, int port, struct phy_device *phy) in b53_enable_port()
530 void b53_disable_port(struct dsa_switch *ds, int port, struct phy_device *phy) in b53_disable_port()
542 void b53_brcm_hdr_setup(struct dsa_switch *ds, int port) in b53_brcm_hdr_setup()
625 int b53_configure_vlan(struct dsa_switch *ds) in b53_configure_vlan()
725 static int b53_phy_read16(struct dsa_switch *ds, int addr, int reg) in b53_phy_read16()
740 static int b53_phy_write16(struct dsa_switch *ds, int addr, int reg, u16 val) in b53_phy_write16()
810 static struct phy_device *b53_get_phy_device(struct dsa_switch *ds, int port) in b53_get_phy_device()
823 void b53_get_strings(struct dsa_switch *ds, int port, u32 stringset, in b53_get_strings()
846 void b53_get_ethtool_stats(struct dsa_switch *ds, int port, uint64_t *data) in b53_get_ethtool_stats()
[all …]
/Linux-v4.19/fs/xfs/scrub/
Ddabtree.c39 struct xchk_da_btree *ds, in xchk_da_process_error()
75 struct xchk_da_btree *ds, in xchk_da_set_corrupt()
91 struct xchk_da_btree *ds, in xchk_da_btree_entry()
127 struct xchk_da_btree *ds, in xchk_da_btree_hash()
161 struct xchk_da_btree *ds, in xchk_da_btree_ptr_ok()
249 struct xchk_da_btree *ds, in xchk_da_btree_block_check_sibling()
297 struct xchk_da_btree *ds, in xchk_da_btree_block_check_siblings()
332 struct xchk_da_btree *ds, in xchk_da_btree_block()
482 struct xchk_da_btree ds = {}; in xchk_da_btree() local
/Linux-v4.19/drivers/net/dsa/mv88e6xxx/
Dchip.c582 static void mv88e6xxx_adjust_link(struct dsa_switch *ds, int port, in mv88e6xxx_adjust_link()
664 static void mv88e6xxx_validate(struct dsa_switch *ds, int port, in mv88e6xxx_validate()
689 static int mv88e6xxx_link_state(struct dsa_switch *ds, int port, in mv88e6xxx_link_state()
705 static void mv88e6xxx_mac_config(struct dsa_switch *ds, int port, in mv88e6xxx_mac_config()
735 static void mv88e6xxx_mac_link_force(struct dsa_switch *ds, int port, int link) in mv88e6xxx_mac_link_force()
748 static void mv88e6xxx_mac_link_down(struct dsa_switch *ds, int port, in mv88e6xxx_mac_link_down()
756 static void mv88e6xxx_mac_link_up(struct dsa_switch *ds, int port, in mv88e6xxx_mac_link_up()
925 static void mv88e6xxx_get_strings(struct dsa_switch *ds, int port, in mv88e6xxx_get_strings()
976 static int mv88e6xxx_get_sset_count(struct dsa_switch *ds, int port, int sset) in mv88e6xxx_get_sset_count()
1083 static void mv88e6xxx_get_ethtool_stats(struct dsa_switch *ds, int port, in mv88e6xxx_get_ethtool_stats()
[all …]
Dhwtstamp.h139 static inline int mv88e6xxx_port_hwtstamp_set(struct dsa_switch *ds, in mv88e6xxx_port_hwtstamp_set()
145 static inline int mv88e6xxx_port_hwtstamp_get(struct dsa_switch *ds, in mv88e6xxx_port_hwtstamp_get()
151 static inline bool mv88e6xxx_port_rxtstamp(struct dsa_switch *ds, int port, in mv88e6xxx_port_rxtstamp()
158 static inline bool mv88e6xxx_port_txtstamp(struct dsa_switch *ds, int port, in mv88e6xxx_port_txtstamp()
165 static inline int mv88e6xxx_get_ts_info(struct dsa_switch *ds, int port, in mv88e6xxx_get_ts_info()
/Linux-v4.19/drivers/net/wireless/ath/ath9k/
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()
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()
Dar9003_mac.c27 ar9003_set_txdesc(struct ath_hw *ah, void *ds, struct ath_tx_info *i) in ar9003_set_txdesc()
173 static void ar9003_hw_set_desc_link(void *ds, u32 ds_link) in ar9003_hw_set_desc_link()
354 static int ar9003_hw_proc_txdesc(struct ath_hw *ah, void *ds, in ar9003_hw_proc_txdesc()
434 static int ar9003_hw_get_duration(struct ath_hw *ah, const void *ds, int index) in ar9003_hw_get_duration()
/Linux-v4.19/fs/nfs/
Dpnfs_nfs.c328 print_ds(struct nfs4_pnfs_ds *ds) in print_ds()
419 struct nfs4_pnfs_ds *ds; in _data_server_lookup_locked() local
427 static void destroy_ds(struct nfs4_pnfs_ds *ds) in destroy_ds()
450 void nfs4_pnfs_ds_put(struct nfs4_pnfs_ds *ds) in nfs4_pnfs_ds_put()
517 struct nfs4_pnfs_ds *tmp_ds, *ds = NULL; in nfs4_pnfs_ds_add() local
559 static void nfs4_wait_ds_connect(struct nfs4_pnfs_ds *ds) in nfs4_wait_ds_connect()
566 static void nfs4_clear_ds_conn_bit(struct nfs4_pnfs_ds *ds) in nfs4_clear_ds_conn_bit()
601 struct nfs4_pnfs_ds *ds, in _nfs4_pnfs_v3_ds_connect()
649 struct nfs4_pnfs_ds *ds, in _nfs4_pnfs_v4_ds_connect()
726 int nfs4_pnfs_ds_connect(struct nfs_server *mds_srv, struct nfs4_pnfs_ds *ds, in nfs4_pnfs_ds_connect()
/Linux-v4.19/fs/befs/
Dbtree.c134 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()
/Linux-v4.19/crypto/
Dhmac.c49 int ds = crypto_shash_digestsize(parent); in hmac_setkey() local
128 int ds = crypto_shash_digestsize(parent); in hmac_final() local
145 int ds = crypto_shash_digestsize(parent); in hmac_finup() local
188 int ds; in hmac_create() local

1234567