| /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() argument 28 dsa_switch_for_each_port(dp, ds) in dsa_switch_fastest_ageing_time() 35 static int dsa_switch_ageing_time(struct dsa_switch *ds, in dsa_switch_ageing_time() argument 40 if (ds->ageing_time_min && ageing_time < ds->ageing_time_min) in dsa_switch_ageing_time() 43 if (ds->ageing_time_max && ageing_time > ds->ageing_time_max) in dsa_switch_ageing_time() 47 ageing_time = dsa_switch_fastest_ageing_time(ds, ageing_time); in dsa_switch_ageing_time() 49 if (ds->ops->set_ageing_time) in dsa_switch_ageing_time() 50 return ds->ops->set_ageing_time(ds, ageing_time); in dsa_switch_ageing_time() 61 static int dsa_switch_mtu(struct dsa_switch *ds, in dsa_switch_mtu() argument 67 if (!ds->ops->port_change_mtu) in dsa_switch_mtu() [all …]
|
| H A D | dsa.c | 190 if (dp->ds->index != sw_index) in dsa_switch_find() 193 return dp->ds; in dsa_switch_find() 291 struct dsa_switch *ds = dp->ds; in dsa_link_touch() local 295 dst = ds->dst; in dsa_link_touch() 316 struct dsa_switch *ds = dp->ds; in dsa_port_setup_routing_table() local 317 struct dsa_switch_tree *dst = ds->dst; in dsa_port_setup_routing_table() 401 dsa_switch_preferred_default_local_cpu_port(struct dsa_switch *ds) in dsa_switch_preferred_default_local_cpu_port() argument 405 if (!ds->ops->preferred_default_local_cpu_port) in dsa_switch_preferred_default_local_cpu_port() 408 cpu_dp = ds->ops->preferred_default_local_cpu_port(ds); in dsa_switch_preferred_default_local_cpu_port() 412 if (WARN_ON(!dsa_port_is_cpu(cpu_dp) || cpu_dp->ds != ds)) in dsa_switch_preferred_default_local_cpu_port() [all …]
|
| H A D | port.c | 35 return dsa_tree_notify(dp->ds->dst, e, v); in dsa_port_notify() 57 struct dsa_switch *ds = dp->ds; in dsa_port_fast_age() local 59 if (!ds->ops->port_fast_age) in dsa_port_fast_age() 62 ds->ops->port_fast_age(ds, dp->index); in dsa_port_fast_age() 70 struct dsa_switch *ds = dp->ds; in dsa_port_vlan_fast_age() local 73 if (!ds->ops->port_vlan_fast_age) in dsa_port_vlan_fast_age() 76 err = ds->ops->port_vlan_fast_age(ds, dp->index, vid); in dsa_port_vlan_fast_age() 107 struct dsa_switch *ds = dp->ds; in dsa_port_can_configure_learning() local 110 if (!ds->ops->port_bridge_flags || !ds->ops->port_pre_bridge_flags) in dsa_port_can_configure_learning() 113 err = ds->ops->port_pre_bridge_flags(ds, dp->index, flags, NULL); in dsa_port_can_configure_learning() [all …]
|
| H A D | user.c | 68 static bool dsa_switch_supports_uc_filtering(struct dsa_switch *ds) in dsa_switch_supports_uc_filtering() argument 70 return ds->ops->port_fdb_add && ds->ops->port_fdb_del && in dsa_switch_supports_uc_filtering() 71 ds->fdb_isolation && !ds->vlan_filtering_is_global && in dsa_switch_supports_uc_filtering() 72 !ds->needs_standalone_vlan_filtering; in dsa_switch_supports_uc_filtering() 75 static bool dsa_switch_supports_mc_filtering(struct dsa_switch *ds) in dsa_switch_supports_mc_filtering() argument 77 return ds->ops->port_mdb_add && ds->ops->port_mdb_del && in dsa_switch_supports_mc_filtering() 78 ds->fdb_isolation && !ds->vlan_filtering_is_global && in dsa_switch_supports_mc_filtering() 79 !ds->needs_standalone_vlan_filtering; in dsa_switch_supports_mc_filtering() 90 struct dsa_switch *ds = dp->ds; in dsa_user_standalone_event_work() local 98 dev_err(ds->dev, in dsa_user_standalone_event_work() [all …]
|
| H A D | tag_8021q.c | 74 struct dsa_switch *ds; member 94 return DSA_8021Q_RSV | DSA_8021Q_SWITCH_ID(dp->ds->index) | in dsa_tag_8021q_standalone_vid() 145 struct dsa_8021q_context *ctx = dp->ds->tag_8021q_ctx; in dsa_port_do_tag_8021q_vlan_add() 146 struct dsa_switch *ds = dp->ds; in dsa_port_do_tag_8021q_vlan_add() local 153 return ds->ops->tag_8021q_vlan_add(ds, port, vid, flags); in dsa_port_do_tag_8021q_vlan_add() 165 err = ds->ops->tag_8021q_vlan_add(ds, port, vid, flags); in dsa_port_do_tag_8021q_vlan_add() 181 struct dsa_8021q_context *ctx = dp->ds->tag_8021q_ctx; in dsa_port_do_tag_8021q_vlan_del() 182 struct dsa_switch *ds = dp->ds; in dsa_port_do_tag_8021q_vlan_del() local 189 return ds->ops->tag_8021q_vlan_del(ds, port, vid); in dsa_port_do_tag_8021q_vlan_del() 198 err = ds->ops->tag_8021q_vlan_del(ds, port, vid); in dsa_port_do_tag_8021q_vlan_del() [all …]
|
| H A D | conduit.c | 24 struct dsa_switch *ds = cpu_dp->ds; in dsa_conduit_get_regs_len() local 41 if (ds->ops->get_regs_len) { in dsa_conduit_get_regs_len() 42 len = ds->ops->get_regs_len(ds, port); in dsa_conduit_get_regs_len() 56 struct dsa_switch *ds = cpu_dp->ds; in dsa_conduit_get_regs() local 81 if (ds->ops->get_regs_len && ds->ops->get_regs) { in dsa_conduit_get_regs() 82 len = ds in dsa_conduit_get_regs() 96 struct dsa_switch *ds = cpu_dp->ds; dsa_conduit_get_ethtool_stats() local 117 struct dsa_switch *ds = cpu_dp->ds; dsa_conduit_get_ethtool_phy_stats() local 143 struct dsa_switch *ds = cpu_dp->ds; dsa_conduit_get_sset_count() local 168 struct dsa_switch *ds = cpu_dp->ds; dsa_conduit_get_strings() local 221 struct dsa_switch *ds = cpu_dp->ds; __dsa_conduit_hwtstamp_validate() local 241 struct dsa_switch *ds = cpu_dp->ds; dsa_conduit_ethtool_setup() local 377 struct dsa_switch *ds = cpu_dp->ds; dsa_conduit_setup() local [all...] |
| /linux/fs/xfs/scrub/ |
| H A D | dabtree.c | 31 struct xchk_da_btree *ds, in xchk_da_process_error() argument 35 struct xfs_scrub *sc = ds->sc; in xchk_da_process_error() 55 trace_xchk_file_op_error(sc, ds->dargs.whichfork, in xchk_da_process_error() 56 xfs_dir2_da_to_db(ds->dargs.geo, in xchk_da_process_error() 57 ds->state->path.blk[level].blkno), in xchk_da_process_error() 70 struct xchk_da_btree *ds, in xchk_da_set_corrupt() argument 73 struct xfs_scrub *sc = ds->sc; in xchk_da_set_corrupt() 77 trace_xchk_fblock_error(sc, ds->dargs.whichfork, in xchk_da_set_corrupt() 78 xfs_dir2_da_to_db(ds->dargs.geo, in xchk_da_set_corrupt() 79 ds->state->path.blk[level].blkno), in xchk_da_set_corrupt() [all …]
|
| H A D | attr.c | 296 struct xchk_da_btree *ds, in xchk_xattr_entry() argument 306 struct xfs_mount *mp = ds->state->mp; in xchk_xattr_entry() 307 struct xchk_xattr_buf *ab = ds->sc->buf; in xchk_xattr_entry() 315 xchk_da_set_corrupt(ds, level); in xchk_xattr_entry() 319 xchk_da_set_corrupt(ds, level); in xchk_xattr_entry() 325 xchk_da_set_corrupt(ds, level); in xchk_xattr_entry() 336 xchk_da_set_corrupt(ds, level); in xchk_xattr_entry() 342 xchk_da_set_corrupt(ds, level); in xchk_xattr_entry() 345 xchk_da_set_corrupt(ds, level); in xchk_xattr_entry() 348 xchk_da_set_corrupt(ds, level); in xchk_xattr_entry() [all …]
|
| /linux/include/net/ |
| H A D | dsa.h | 105 int (*connect)(struct dsa_switch *ds); 106 void (*disconnect)(struct dsa_switch *ds); 185 if ((_dp)->ds == (_ds) && (_dp)->hsr_dev == (_hsr)) 257 struct dsa_switch *ds; member 513 static inline struct dsa_port *dsa_to_port(struct dsa_switch *ds, int p) in dsa_to_port() argument 515 struct dsa_switch_tree *dst = ds->dst; in dsa_to_port() 519 if (dp->ds == ds && dp->index == p) in dsa_to_port() 551 static inline bool dsa_is_unused_port(struct dsa_switch *ds, int p) in dsa_is_unused_port() argument 553 return dsa_to_port(ds, p)->type == DSA_PORT_TYPE_UNUSED; in dsa_is_unused_port() 556 static inline bool dsa_is_cpu_port(struct dsa_switch *ds, int p) in dsa_is_cpu_port() argument [all …]
|
| /linux/drivers/net/dsa/ocelot/ |
| H A D | felix.c | 45 static int felix_cpu_port_for_conduit(struct dsa_switch *ds, in felix_cpu_port_for_conduit() argument 48 struct ocelot *ocelot = ds->priv; in felix_cpu_port_for_conduit() 101 static int felix_tag_8021q_vlan_add_rx(struct dsa_switch *ds, int port, in felix_tag_8021q_vlan_add_rx() argument 106 struct ocelot *ocelot = ds->priv; in felix_tag_8021q_vlan_add_rx() 149 static int felix_tag_8021q_vlan_del_rx(struct dsa_switch *ds, int port, in felix_tag_8021q_vlan_del_rx() argument 154 struct ocelot *ocelot = ds->priv; in felix_tag_8021q_vlan_del_rx() 171 static int felix_tag_8021q_vlan_add_tx(struct dsa_switch *ds, int port, in felix_tag_8021q_vlan_add_tx() argument 175 unsigned long cpu_ports = dsa_cpu_ports(ds); in felix_tag_8021q_vlan_add_tx() 176 struct ocelot *ocelot = ds->priv; in felix_tag_8021q_vlan_add_tx() 238 static int felix_tag_8021q_vlan_del_tx(struct dsa_switch *ds, int port, u16 vid) in felix_tag_8021q_vlan_del_tx() argument [all …]
|
| /linux/drivers/acpi/ |
| H A D | dock.c | 71 static int add_dock_dependent_device(struct dock_station *ds, in add_dock_dependent_device() argument 82 list_add_tail(&dd->list, &ds->dependent_devices); in add_dock_dependent_device() 118 struct dock_station *ds; in find_dock_station() local 120 list_for_each_entry(ds, &dock_stations, sibling) in find_dock_station() 121 if (ds->handle == handle) in find_dock_station() 122 return ds; in find_dock_station() 136 find_dock_dependent_device(struct dock_station *ds, struct acpi_device *adev) in find_dock_dependent_device() argument 140 list_for_each_entry(dd, &ds->dependent_devices, list) in find_dock_dependent_device() 150 struct dock_station *ds = find_dock_station(dshandle); in register_dock_dependent_device() local 152 if (ds && !find_dock_dependent_device(ds, adev)) in register_dock_dependent_device() [all …]
|
| /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 304 ds = kmalloc_obj(*ds); in dm_deferred_set_create() 305 if (!ds) in dm_deferred_set_create() 308 spin_lock_init(&ds->lock); in dm_deferred_set_create() 309 ds->current_entry = 0; in dm_deferred_set_create() 310 ds->sweeper = 0; in dm_deferred_set_create() 312 ds->entries[i].ds = ds; in dm_deferred_set_create() 313 ds->entries[i].count = 0; in dm_deferred_set_create() 314 INIT_LIST_HEAD(&ds->entries[i].work_items); in dm_deferred_set_create() [all …]
|
| /linux/drivers/hid/ |
| H A D | hid-playstation.c | 576 static inline void dualsense_schedule_work(struct dualsense *ds); 578 static void dualsense_set_lightbar(struct dualsense *ds, u8 red, u8 green, u8 blue); 1014 static int dualsense_get_calibration_data(struct dualsense *ds) in dualsense_get_calibration_data() argument 1016 struct hid_device *hdev = ds->base.hdev; in dualsense_get_calibration_data() 1034 ret = ps_get_report(ds->base.hdev, DS_FEATURE_REPORT_CALIBRATION, buf, in dualsense_get_calibration_data() 1037 hid_err(ds->base.hdev, "Failed to retrieve DualSense calibration info: %d\n", ret); in dualsense_get_calibration_data() 1064 ds->gyro_calib_data[0].abs_code = ABS_RX; in dualsense_get_calibration_data() 1065 ds->gyro_calib_data[0].bias = 0; in dualsense_get_calibration_data() 1066 ds->gyro_calib_data[0].sens_numer = speed_2x * DS_GYRO_RES_PER_DEG_S; in dualsense_get_calibration_data() 1067 ds->gyro_calib_data[0].sens_denom = abs(gyro_pitch_plus - gyro_pitch_bias) + in dualsense_get_calibration_data() [all …]
|
| /linux/drivers/net/dsa/ |
| 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() argument 118 struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); in bcm_sf2_num_active_ports() 121 for (port = 0; port < ds->num_ports; port++) { in bcm_sf2_num_active_ports() 122 if (dsa_is_cpu_port(ds, port)) in bcm_sf2_num_active_ports() 131 static void bcm_sf2_recalc_clock(struct dsa_switch *ds) in bcm_sf2_recalc_clock() argument 133 struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); in bcm_sf2_recalc_clock() 144 ports_active = bcm_sf2_num_active_ports(ds); in bcm_sf2_recalc_clock() 158 static void bcm_sf2_imp_setup(struct dsa_switch *ds, int port) in bcm_sf2_imp_setup() argument 160 struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); in bcm_sf2_imp_setup() 185 b53_brcm_hdr_setup(ds, port); in bcm_sf2_imp_setup() [all …]
|
| /linux/fs/nfs/ |
| H A D | pnfs_nfs.c | 87 cinfo->ds->nwritten--; in pnfs_generic_clear_request_commit() 254 cinfo->ds->nwritten -= ret; in pnfs_bucket_scan_ds_commit_list() 255 cinfo->ds->ncommitting += ret; in pnfs_bucket_scan_ds_commit_list() 281 struct pnfs_ds_commit_info *fl_cinfo = cinfo->ds; in pnfs_generic_scan_commit_lists() 334 struct pnfs_ds_commit_info *fl_cinfo = cinfo->ds; in pnfs_generic_recover_commit_reqs() 365 cinfo->ds->ncommitting--; in pnfs_bucket_get_committing() 467 struct pnfs_ds_commit_info *fl_cinfo = cinfo->ds; in pnfs_generic_commit_pagelist() 520 print_ds(struct nfs4_pnfs_ds *ds) in print_ds() argument 522 if (ds == NULL) { in print_ds() 530 ds->ds_remotestr, in print_ds() [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 30 for (port = 0; port < ds->num_ports; port++) { in sja1105_tas_set_runtime_params() 77 dev_err(ds->dev, in sja1105_tas_set_runtime_params() 86 dev_dbg(ds->dev, "earliest base time %lld ns\n", earliest_base_time); in sja1105_tas_set_runtime_params() 87 dev_dbg(ds->dev, "latest base time %lld ns\n", latest_base_time); in sja1105_tas_set_runtime_params() 88 dev_dbg(ds->dev, "longest cycle time %lld ns\n", max_cycle_time); in sja1105_tas_set_runtime_params() 167 struct dsa_switch *ds = priv->ds; in sja1105_init_scheduling() local 211 for (port = 0; port < ds->num_ports; port++) { in sja1105_init_scheduling() 273 for (port = 0; port < ds->num_ports; port++) { in sja1105_init_scheduling() 448 dev_warn(priv->ds->dev, in sja1105_tas_check_conflicts() [all …]
|
| H A D | sja1105_tas.h | 53 int sja1105_setup_tc_taprio(struct dsa_switch *ds, int port, 56 void sja1105_tas_setup(struct dsa_switch *ds); 58 void sja1105_tas_teardown(struct dsa_switch *ds); 60 void sja1105_tas_clockstep(struct dsa_switch *ds); 62 void sja1105_tas_adjfreq(struct dsa_switch *ds); 76 static inline int sja1105_setup_tc_taprio(struct dsa_switch *ds, int port, in sja1105_setup_tc_taprio() argument 82 static inline void sja1105_tas_setup(struct dsa_switch *ds) { } in sja1105_tas_setup() argument 84 static inline void sja1105_tas_teardown(struct dsa_switch *ds) { } in sja1105_tas_teardown() argument 86 static inline void sja1105_tas_clockstep(struct dsa_switch *ds) { } in sja1105_tas_clockstep() argument 88 static inline void sja1105_tas_adjfreq(struct dsa_switch *ds) { } in sja1105_tas_adjfreq() argument [all …]
|
| H A D | sja1105_devlink.c | 41 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in sja1105_region_static_config_snapshot() local 42 struct sja1105_private *priv = ds->priv; in sja1105_region_static_config_snapshot() 77 static int sja1105_setup_devlink_regions(struct dsa_switch *ds) in sja1105_setup_devlink_regions() argument 80 struct sja1105_private *priv = ds->priv; in sja1105_setup_devlink_regions() 93 region = dsa_devlink_region_create(ds, ops, 1, size); in sja1105_setup_devlink_regions() 108 static void sja1105_teardown_devlink_regions(struct dsa_switch *ds) in sja1105_teardown_devlink_regions() argument 111 struct sja1105_private *priv = ds->priv; in sja1105_teardown_devlink_regions() 119 int sja1105_devlink_info_get(struct dsa_switch *ds, in sja1105_devlink_info_get() argument 123 struct sja1105_private *priv = ds->priv; in sja1105_devlink_info_get() 130 int sja1105_devlink_setup(struct dsa_switch *ds) in sja1105_devlink_setup() argument [all …]
|
| /linux/drivers/net/dsa/b53/ |
| H A D | b53_common.c | 288 dev_dbg(dev->ds->dev, "VID: %d, members: 0x%04x, untag: 0x%04x\n", in b53_set_vlan_entry() 540 void b53_imp_vlan_setup(struct dsa_switch *ds, int cpu_port) in b53_imp_vlan_setup() argument 542 struct b53_device *dev = ds->priv; in b53_imp_vlan_setup() 654 static void b53_eee_enable_set(struct dsa_switch *ds, int port, bool enable) in b53_eee_enable_set() argument 656 struct b53_device *dev = ds->priv; in b53_eee_enable_set() 667 int b53_setup_port(struct dsa_switch *ds, int port) in b53_setup_port() argument 669 struct b53_device *dev = ds->priv; in b53_setup_port() 680 if (dsa_is_user_port(ds, port)) in b53_setup_port() 689 if (dsa_is_unused_port(ds, port)) in b53_setup_port() 700 int b53_enable_port(struct dsa_switch *ds, int port, struct phy_device *phy) in b53_enable_port() argument [all …]
|
| /linux/drivers/net/dsa/mv88e6xxx/ |
| H A D | devlink.c | 31 int mv88e6xxx_devlink_param_get(struct dsa_switch *ds, u32 id, in mv88e6xxx_devlink_param_get() argument 34 struct mv88e6xxx_chip *chip = ds->priv; in mv88e6xxx_devlink_param_get() 53 int mv88e6xxx_devlink_param_set(struct dsa_switch *ds, u32 id, in mv88e6xxx_devlink_param_set() argument 56 struct mv88e6xxx_chip *chip = ds->priv; in mv88e6xxx_devlink_param_set() 81 int mv88e6xxx_setup_devlink_params(struct dsa_switch *ds) in mv88e6xxx_setup_devlink_params() argument 83 return dsa_devlink_params_register(ds, mv88e6xxx_devlink_params, in mv88e6xxx_setup_devlink_params() 87 void mv88e6xxx_teardown_devlink_params(struct dsa_switch *ds) in mv88e6xxx_teardown_devlink_params() argument 89 dsa_devlink_params_unregister(ds, mv88e6xxx_devlink_params, in mv88e6xxx_teardown_devlink_params() 176 int mv88e6xxx_setup_devlink_resources(struct dsa_switch *ds) in mv88e6xxx_setup_devlink_resources() argument 179 struct mv88e6xxx_chip *chip = ds->priv; in mv88e6xxx_setup_devlink_resources() [all …]
|
| H A D | devlink.h | 8 int mv88e6xxx_setup_devlink_params(struct dsa_switch *ds); 9 void mv88e6xxx_teardown_devlink_params(struct dsa_switch *ds); 10 int mv88e6xxx_setup_devlink_resources(struct dsa_switch *ds); 11 int mv88e6xxx_devlink_param_get(struct dsa_switch *ds, u32 id, 13 int mv88e6xxx_devlink_param_set(struct dsa_switch *ds, u32 id, 15 int mv88e6xxx_setup_devlink_regions_global(struct dsa_switch *ds); 16 void mv88e6xxx_teardown_devlink_regions_global(struct dsa_switch *ds); 17 int mv88e6xxx_setup_devlink_regions_port(struct dsa_switch *ds, int port); 18 void mv88e6xxx_teardown_devlink_regions_port(struct dsa_switch *ds, int port); 20 int mv88e6xxx_devlink_info_get(struct dsa_switch *ds,
|
| /linux/drivers/net/dsa/lantiq/ |
| H A D | lantiq_gswip_common.c | 367 vlan_mapping.val[1] = BIT(port) | dsa_cpu_ports(priv->ds); in gswip_add_single_port_br() 390 static int gswip_port_pre_bridge_flags(struct dsa_switch *ds, int port, in gswip_port_pre_bridge_flags() argument 394 struct gswip_priv *priv = ds->priv; in gswip_port_pre_bridge_flags() 406 static int gswip_port_bridge_flags(struct dsa_switch *ds, int port, in gswip_port_bridge_flags() argument 410 struct gswip_priv *priv = ds->priv; in gswip_port_bridge_flags() 419 static int gswip_port_setup(struct dsa_switch *ds, int port) in gswip_port_setup() argument 421 struct gswip_priv *priv = ds->priv; in gswip_port_setup() 425 err = priv->hw_info->port_setup(ds, port); in gswip_port_setup() 430 if (!dsa_is_cpu_port(ds, port)) { in gswip_port_setup() 439 static int gswip_port_enable(struct dsa_switch *ds, int port, in gswip_port_enable() argument [all …]
|
| /linux/drivers/net/dsa/hirschmann/ |
| H A D | hellcreek.c | 240 static enum dsa_tag_protocol hellcreek_get_tag_protocol(struct dsa_switch *ds, in hellcreek_get_tag_protocol() argument 247 static int hellcreek_port_enable(struct dsa_switch *ds, int port, in hellcreek_port_enable() argument 250 struct hellcreek *hellcreek = ds->priv; in hellcreek_port_enable() 271 static void hellcreek_port_disable(struct dsa_switch *ds, int port) in hellcreek_port_disable() argument 273 struct hellcreek *hellcreek = ds->priv; in hellcreek_port_disable() 292 static void hellcreek_get_strings(struct dsa_switch *ds, int port, in hellcreek_get_strings() argument 301 static int hellcreek_get_sset_count(struct dsa_switch *ds, int port, int sset) in hellcreek_get_sset_count() argument 309 static void hellcreek_get_ethtool_stats(struct dsa_switch *ds, int port, in hellcreek_get_ethtool_stats() argument 312 struct hellcreek *hellcreek = ds->priv; in hellcreek_get_ethtool_stats() 348 static int hellcreek_vlan_prepare(struct dsa_switch *ds, int port, in hellcreek_vlan_prepare() argument [all …]
|
| /linux/drivers/net/dsa/microchip/ |
| H A D | ksz_common.c | 449 struct ksz_device *dev = dp->ds->priv; in ksz_phylink_mac_select_pcs() 2196 static void ksz_phylink_get_caps(struct dsa_switch *ds, int port, in ksz_phylink_get_caps() argument 2199 struct ksz_device *dev = ds->priv; in ksz_phylink_get_caps() 2224 if (ds->ops->support_eee && ds->ops->support_eee(ds, port)) { in ksz_phylink_get_caps() 2342 static void ksz_get_stats64(struct dsa_switch *ds, int port, in ksz_get_stats64() argument 2345 struct ksz_device *dev = ds->priv; in ksz_get_stats64() 2355 static void ksz_get_pause_stats(struct dsa_switch *ds, int port, in ksz_get_pause_stats() argument 2358 struct ksz_device *dev = ds->priv; in ksz_get_pause_stats() 2368 static void ksz_get_strings(struct dsa_switch *ds, int port, in ksz_get_strings() argument 2371 struct ksz_device *dev = ds->priv; in ksz_get_strings() [all …]
|
| /linux/tools/testing/selftests/rcutorture/bin/ |
| H A D | kvm-check-branches.sh | 44 ds="`date +%Y.%m.%d-%H.%M.%S`-group" 49 mkdir $resdir/$ds 50 echo Results directory: $resdir/$ds 69 mkdir $resdir/$ds/$idir 70 echo $gitbr > $resdir/$ds/$idir/gitbr 71 echo $i >> $resdir/$ds/$idir/gitbr 74 git checkout $i > $resdir/$ds/$idir/git-checkout.out 2>&1 76 …kvm.sh --allcpus --duration 3 --trust-make --datestamp "$ds/$idir" > $resdir/$ds/$idir/kvm.sh.out … 79 echo Run results: $resdir/$ds/$idir 86 ( cd $resdir/$ds/$idir/$rrd; rm -f */vmlinux */bzImage */System.map */Module.symvers )
|