| /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 | dsa.c | 291 struct dsa_switch *ds = dp->ds; in dsa_link_touch() local 316 struct dsa_switch *ds = dp->ds; in dsa_port_setup_routing_table() local 401 dsa_switch_preferred_default_local_cpu_port(struct dsa_switch *ds) in dsa_switch_preferred_default_local_cpu_port() 461 struct dsa_switch *ds = dp->ds; in dsa_port_setup() local 569 static int dsa_switch_setup_tag_protocol(struct dsa_switch *ds) in dsa_switch_setup_tag_protocol() 613 static void dsa_switch_teardown_tag_protocol(struct dsa_switch *ds) in dsa_switch_teardown_tag_protocol() 621 static int dsa_switch_setup(struct dsa_switch *ds) in dsa_switch_setup() 685 static void dsa_switch_teardown(struct dsa_switch *ds) in dsa_switch_teardown() 1086 static struct dsa_port *dsa_port_touch(struct dsa_switch *ds, int index) in dsa_port_touch() 1132 struct dsa_switch *mds, *ds = dp->ds; in dsa_get_tag_protocol() local [all …]
|
| H A D | user.c | 68 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 D | port.c | 57 struct dsa_switch *ds = dp->ds; in dsa_port_fast_age() local 70 struct dsa_switch *ds = dp->ds; in dsa_port_vlan_fast_age() local 107 struct dsa_switch *ds = dp->ds; in dsa_port_can_configure_learning() local 120 struct dsa_switch *ds = dp->ds; in dsa_port_supports_hwtstamp() local 133 struct dsa_switch *ds = dp->ds; in dsa_port_set_state() local 167 struct dsa_switch *ds = dp->ds; in dsa_port_set_state_now() local 181 struct dsa_switch *ds = dp->ds; in dsa_port_set_mst_state() local 215 struct dsa_switch *ds = dp->ds; in dsa_port_enable_rt() local 247 struct dsa_switch *ds = dp->ds; in dsa_port_disable_rt() local 272 struct dsa_switch *ds = dp->ds; in dsa_port_reset_vlan_filtering() 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 | tag_qca.c | 39 struct dsa_switch *ds = dp->ds; in qca_tag_rcv() local 99 static int qca_tag_connect(struct dsa_switch *ds) in qca_tag_connect() 112 static void qca_tag_disconnect(struct dsa_switch *ds) in qca_tag_disconnect()
|
| H A D | tag_sja1105.c | 72 sja1105_tagger_private(struct dsa_switch *ds) in sja1105_tagger_private() 177 struct dsa_switch *ds = dp->ds; in sja1105_xmit_tpid() local 389 struct dsa_switch *ds = dp->ds; in sja1105_rcv_meta_state_machine() local 420 struct dsa_switch *ds = dp->ds; in sja1105_rcv_meta_state_machine() local 537 struct dsa_switch *ds; in sja1110_rcv_meta() local 701 static void sja1105_disconnect(struct dsa_switch *ds) in sja1105_disconnect() 710 static int sja1105_connect(struct dsa_switch *ds) in sja1105_connect()
|
| /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/ |
| H A D | mt7530.c | 364 mt753x_preferred_default_local_cpu_port(struct dsa_switch *ds) in mt753x_preferred_default_local_cpu_port() 376 mt7530_setup_port6(struct dsa_switch *ds, phy_interface_t interface) in mt7530_setup_port6() 517 mt7530_mib_reset(struct dsa_switch *ds) in mt7530_mib_reset() 751 mt7530_get_strings(struct dsa_switch *ds, int port, u32 stringset, in mt7530_get_strings() 779 mt7530_get_ethtool_stats(struct dsa_switch *ds, int port, in mt7530_get_ethtool_stats() 795 mt7530_get_sset_count(struct dsa_switch *ds, int port, int sset) in mt7530_get_sset_count() 803 static void mt7530_get_eth_mac_stats(struct dsa_switch *ds, int port, in mt7530_get_eth_mac_stats() 868 static void mt7530_get_rmon_stats(struct dsa_switch *ds, int port, in mt7530_get_rmon_stats() 984 static void mt7530_get_stats64(struct dsa_switch *ds, int port, in mt7530_get_stats64() 1004 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 | 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 …]
|
| H A D | vitesse-vsc73xx-core.c | 621 static int vsc73xx_phy_read(struct dsa_switch *ds, int phy, int regnum) in vsc73xx_phy_read() 662 static int vsc73xx_phy_write(struct dsa_switch *ds, int phy, int regnum, in vsc73xx_phy_write() 686 static enum dsa_tag_protocol vsc73xx_get_tag_protocol(struct dsa_switch *ds, in vsc73xx_get_tag_protocol() 786 static int vsc73xx_configure_rgmii_port_delay(struct dsa_switch *ds) in vsc73xx_configure_rgmii_port_delay() 847 static int vsc73xx_setup(struct dsa_switch *ds) in vsc73xx_setup() 951 static void vsc73xx_teardown(struct dsa_switch *ds) in vsc73xx_teardown() 1430 static int vsc73xx_port_enable(struct dsa_switch *ds, int port, in vsc73xx_port_enable() 1441 static void vsc73xx_port_disable(struct dsa_switch *ds, int port) in vsc73xx_port_disable() 1478 static void vsc73xx_get_strings(struct dsa_switch *ds, int port, u32 stringset, in vsc73xx_get_strings() 1528 static int vsc73xx_get_sset_count(struct dsa_switch *ds, int port, int sset) in vsc73xx_get_sset_count() [all …]
|
| H A D | bcm_sf2_cfp.c | 846 static int bcm_sf2_cfp_rule_insert(struct dsa_switch *ds, int port, in bcm_sf2_cfp_rule_insert() 926 static int bcm_sf2_cfp_rule_set(struct dsa_switch *ds, int port, in bcm_sf2_cfp_rule_set() 1102 int bcm_sf2_get_rxnfc(struct dsa_switch *ds, int port, in bcm_sf2_get_rxnfc() 1145 int bcm_sf2_set_rxnfc(struct dsa_switch *ds, int port, in bcm_sf2_set_rxnfc() 1212 void bcm_sf2_cfp_exit(struct dsa_switch *ds) in bcm_sf2_cfp_exit() 1224 int bcm_sf2_cfp_resume(struct dsa_switch *ds) in bcm_sf2_cfp_resume() 1282 void bcm_sf2_cfp_get_strings(struct dsa_switch *ds, int port, u32 stringset, in bcm_sf2_cfp_get_strings() 1297 void bcm_sf2_cfp_get_ethtool_stats(struct dsa_switch *ds, int port, in bcm_sf2_cfp_get_ethtool_stats() 1329 int bcm_sf2_cfp_get_sset_count(struct dsa_switch *ds, int port, int sset) in bcm_sf2_cfp_get_sset_count()
|
| /linux/drivers/net/dsa/lantiq/ |
| H A D | lantiq_gswip_common.c | 390 static int gswip_port_pre_bridge_flags(struct dsa_switch *ds, int port, in gswip_port_pre_bridge_flags() 406 static int gswip_port_bridge_flags(struct dsa_switch *ds, int port, in gswip_port_bridge_flags() 419 static int gswip_port_setup(struct dsa_switch *ds, int port) in gswip_port_setup() 439 static int gswip_port_enable(struct dsa_switch *ds, int port, in gswip_port_enable() 467 static void gswip_port_disable(struct dsa_switch *ds, int port) in gswip_port_disable() 565 static int gswip_port_vlan_filtering(struct dsa_switch *ds, int port, in gswip_port_vlan_filtering() 643 static int gswip_setup(struct dsa_switch *ds) in gswip_setup() 742 static void gswip_teardown(struct dsa_switch *ds) in gswip_teardown() 749 static enum dsa_tag_protocol gswip_get_tag_protocol(struct dsa_switch *ds, in gswip_get_tag_protocol() 947 static int gswip_port_bridge_join(struct dsa_switch *ds, int port, in gswip_port_bridge_join() [all …]
|
| /linux/drivers/net/dsa/sja1105/ |
| 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 843 void sja1105_tas_clockstep(struct dsa_switch *ds) in sja1105_tas_clockstep() 855 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() 108 static void sja1105_teardown_devlink_regions(struct dsa_switch *ds) in sja1105_teardown_devlink_regions() 119 int sja1105_devlink_info_get(struct dsa_switch *ds, in sja1105_devlink_info_get() 130 int sja1105_devlink_setup(struct dsa_switch *ds) in sja1105_devlink_setup() 135 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_spi.c | 176 static int sja1105et_reset_cmd(struct dsa_switch *ds) in sja1105et_reset_cmd() 186 static int sja1105pqrs_reset_cmd(struct dsa_switch *ds) in sja1105pqrs_reset_cmd() 196 static int sja1110_reset_cmd(struct dsa_switch *ds) in sja1110_reset_cmd() 320 struct dsa_switch *ds = priv->ds; in sja1105_static_config_upload() local
|
| /linux/crypto/ |
| H A D | deflate.c | 63 struct deflate_stream *ds) in deflate_compress_one() 119 struct deflate_stream *ds; in deflate_compress() local 142 struct deflate_stream *ds) in deflate_decompress_one() 203 struct deflate_stream *ds; in deflate_decompress() local
|
| /linux/drivers/net/dsa/realtek/ |
| 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/drivers/net/dsa/microchip/ |
| H A D | ksz_dcb.c | 182 int ksz_port_get_default_prio(struct dsa_switch *ds, int port) in ksz_port_get_default_prio() 209 int ksz_port_set_default_prio(struct dsa_switch *ds, int port, u8 prio) in ksz_port_set_default_prio() 236 int ksz_port_get_dscp_prio(struct dsa_switch *ds, int port, u8 dscp) in ksz_port_get_dscp_prio() 361 int ksz_port_add_dscp_prio(struct dsa_switch *ds, int port, u8 dscp, u8 prio) in ksz_port_add_dscp_prio() 381 int ksz_port_del_dscp_prio(struct dsa_switch *ds, int port, u8 dscp, u8 prio) in ksz_port_del_dscp_prio() 498 int ksz_port_set_apptrust(struct dsa_switch *ds, int port, in ksz_port_set_apptrust() 541 int ksz_port_get_apptrust(struct dsa_switch *ds, int port, u8 *sel, int *nsel) in ksz_port_get_apptrust()
|
| H A D | ksz_ptp.c | 294 int ksz_get_ts_info(struct dsa_switch *ds, int port, struct kernel_ethtool_ts_info *ts) in ksz_get_ts_info() 323 int ksz_hwtstamp_get(struct dsa_switch *ds, int port, in ksz_hwtstamp_get() 408 int ksz_hwtstamp_set(struct dsa_switch *ds, int port, in ksz_hwtstamp_set() 454 bool ksz_port_rxtstamp(struct dsa_switch *ds, int port, struct sk_buff *skb, in ksz_port_rxtstamp() 496 void ksz_port_txtstamp(struct dsa_switch *ds, int port, struct sk_buff *skb) in ksz_port_txtstamp() 569 struct dsa_switch *ds = xmit_work->dp->ds; in ksz_port_deferred_xmit() local 904 int ksz_ptp_clock_register(struct dsa_switch *ds) in ksz_ptp_clock_register() 959 void ksz_ptp_clock_unregister(struct dsa_switch *ds) in ksz_ptp_clock_unregister() 1132 int ksz_ptp_irq_setup(struct dsa_switch *ds, u8 p) in ksz_ptp_irq_setup() 1189 void ksz_ptp_irq_free(struct dsa_switch *ds, u8 p) in ksz_ptp_irq_free()
|
| /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() 410 befs_btree_read(struct super_block *sb, const befs_data_stream *ds, in befs_btree_read() 541 befs_btree_seekleaf(struct super_block *sb, const befs_data_stream *ds, in befs_btree_seekleaf()
|
| /linux/drivers/md/ |
| H A D | dm-bio-prison-v1.c | 287 struct dm_deferred_set *ds; member 302 struct dm_deferred_set *ds; in dm_deferred_set_create() local 321 void dm_deferred_set_destroy(struct dm_deferred_set *ds) in dm_deferred_set_destroy() 327 struct dm_deferred_entry *dm_deferred_entry_inc(struct dm_deferred_set *ds) in dm_deferred_entry_inc() 346 static void __sweep(struct dm_deferred_set *ds, struct list_head *head) in __sweep() 373 int dm_deferred_set_add_work(struct dm_deferred_set *ds, struct list_head *work) in dm_deferred_set_add_work()
|
| /linux/drivers/net/wireless/ath/ath9k/ |
| H A D | hw-ops.h | 38 static inline void ath9k_hw_set_desc_link(struct ath_hw *ah, void *ds, in ath9k_hw_set_desc_link() 57 static inline void ath9k_hw_set_txdesc(struct ath_hw *ah, void *ds, in ath9k_hw_set_txdesc() 63 static inline int ath9k_hw_txprocdesc(struct ath_hw *ah, void *ds, in ath9k_hw_txprocdesc() 69 static inline int ath9k_hw_get_duration(struct ath_hw *ah, const void *ds, in ath9k_hw_get_duration()
|