/linux-6.6.21/net/dsa/ |
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 …]
|
D | devlink.c | 15 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_info_get() local 17 if (ds->ops->devlink_info_get) in dsa_devlink_info_get() 18 return ds->ops->devlink_info_get(ds, req, extack); in dsa_devlink_info_get() 27 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_sb_pool_get() local 29 if (!ds->ops->devlink_sb_pool_get) in dsa_devlink_sb_pool_get() 32 return ds->ops->devlink_sb_pool_get(ds, sb_index, pool_index, in dsa_devlink_sb_pool_get() 41 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_sb_pool_set() local 43 if (!ds->ops->devlink_sb_pool_set) in dsa_devlink_sb_pool_set() 46 return ds->ops->devlink_sb_pool_set(ds, sb_index, pool_index, size, in dsa_devlink_sb_pool_set() 54 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); in dsa_devlink_sb_port_pool_get() local [all …]
|
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 …]
|
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() 407 dsa_switch_preferred_default_local_cpu_port(struct dsa_switch *ds) in dsa_switch_preferred_default_local_cpu_port() argument 411 if (!ds->ops->preferred_default_local_cpu_port) in dsa_switch_preferred_default_local_cpu_port() 414 cpu_dp = ds->ops->preferred_default_local_cpu_port(ds); in dsa_switch_preferred_default_local_cpu_port() 418 if (WARN_ON(!dsa_port_is_cpu(cpu_dp) || cpu_dp->ds != ds)) in dsa_switch_preferred_default_local_cpu_port() [all …]
|
D | slave.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_slave_standalone_event_work() local 98 dev_err(ds->dev, in dsa_slave_standalone_event_work() [all …]
|
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 …]
|
D | master.c | 23 struct dsa_switch *ds = cpu_dp->ds; in dsa_master_get_regs_len() local 38 if (ds->ops->get_regs_len) { in dsa_master_get_regs_len() 39 len = ds->ops->get_regs_len(ds, port); in dsa_master_get_regs_len() 53 struct dsa_switch *ds = cpu_dp->ds; in dsa_master_get_regs() local 74 if (ds->ops->get_regs_len && ds->ops->get_regs) { in dsa_master_get_regs() 75 len = ds->ops->get_regs_len(ds, port); in dsa_master_get_regs() 79 ds->ops->get_regs(ds, port, cpu_regs, data); in dsa_master_get_regs() 89 struct dsa_switch *ds = cpu_dp->ds; in dsa_master_get_ethtool_stats() local 98 if (ds->ops->get_ethtool_stats) in dsa_master_get_ethtool_stats() 99 ds->ops->get_ethtool_stats(ds, port, data + count); in dsa_master_get_ethtool_stats() [all …]
|
/linux-6.6.21/fs/xfs/scrub/ |
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() 53 trace_xchk_file_op_error(sc, ds->dargs.whichfork, in xchk_da_process_error() 54 xfs_dir2_da_to_db(ds->dargs.geo, in xchk_da_process_error() 55 ds->state->path.blk[level].blkno), in xchk_da_process_error() 68 struct xchk_da_btree *ds, in xchk_da_set_corrupt() argument 71 struct xfs_scrub *sc = ds->sc; in xchk_da_set_corrupt() 75 trace_xchk_fblock_error(sc, ds->dargs.whichfork, in xchk_da_set_corrupt() 76 xfs_dir2_da_to_db(ds->dargs.geo, in xchk_da_set_corrupt() 77 ds->state->path.blk[level].blkno), in xchk_da_set_corrupt() [all …]
|
D | attr.c | 305 struct xchk_da_btree *ds, in xchk_xattr_entry() argument 315 struct xfs_mount *mp = ds->state->mp; in xchk_xattr_entry() 316 struct xchk_xattr_buf *ab = ds->sc->buf; in xchk_xattr_entry() 324 xchk_da_set_corrupt(ds, level); in xchk_xattr_entry() 328 xchk_da_set_corrupt(ds, level); in xchk_xattr_entry() 334 xchk_da_set_corrupt(ds, level); in xchk_xattr_entry() 345 xchk_da_set_corrupt(ds, level); in xchk_xattr_entry() 351 xchk_da_set_corrupt(ds, level); in xchk_xattr_entry() 354 xchk_da_set_corrupt(ds, level); in xchk_xattr_entry() 356 if (!xchk_xattr_set_map(ds->sc, ab->usedmap, nameidx, namesize)) in xchk_xattr_entry() [all …]
|
/linux-6.6.21/include/net/ |
D | dsa.h | 98 int (*connect)(struct dsa_switch *ds); 99 void (*disconnect)(struct dsa_switch *ds); 178 if ((_dp)->ds == (_ds) && (_dp)->hsr_dev == (_hsr)) 256 struct dsa_switch *ds; member 491 static inline struct dsa_port *dsa_to_port(struct dsa_switch *ds, int p) in dsa_to_port() argument 493 struct dsa_switch_tree *dst = ds->dst; in dsa_to_port() 497 if (dp->ds == ds && dp->index == p) in dsa_to_port() 529 static inline bool dsa_is_unused_port(struct dsa_switch *ds, int p) in dsa_is_unused_port() argument 531 return dsa_to_port(ds, p)->type == DSA_PORT_TYPE_UNUSED; in dsa_is_unused_port() 534 static inline bool dsa_is_cpu_port(struct dsa_switch *ds, int p) in dsa_is_cpu_port() argument [all …]
|
/linux-6.6.21/drivers/acpi/ |
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() 132 struct dock_station *ds; in find_dock_station() local 134 list_for_each_entry(ds, &dock_stations, sibling) in find_dock_station() 135 if (ds->handle == handle) in find_dock_station() 136 return ds; in find_dock_station() 150 find_dock_dependent_device(struct dock_station *ds, struct acpi_device *adev) in find_dock_dependent_device() argument 154 list_for_each_entry(dd, &ds->dependent_devices, list) in find_dock_dependent_device() 164 struct dock_station *ds = find_dock_station(dshandle); in register_dock_dependent_device() local 166 if (ds && !find_dock_dependent_device(ds, adev)) in register_dock_dependent_device() [all …]
|
/linux-6.6.21/drivers/net/dsa/ocelot/ |
D | felix.c | 45 static int felix_cpu_port_for_master(struct dsa_switch *ds, in felix_cpu_port_for_master() argument 48 struct ocelot *ocelot = ds->priv; in felix_cpu_port_for_master() 67 static int felix_tag_8021q_vlan_add_rx(struct dsa_switch *ds, int port, in felix_tag_8021q_vlan_add_rx() argument 71 struct ocelot *ocelot = ds->priv; in felix_tag_8021q_vlan_add_rx() 107 static int felix_tag_8021q_vlan_del_rx(struct dsa_switch *ds, int port, in felix_tag_8021q_vlan_del_rx() argument 112 struct ocelot *ocelot = ds->priv; in felix_tag_8021q_vlan_del_rx() 129 static int felix_tag_8021q_vlan_add_tx(struct dsa_switch *ds, int port, in felix_tag_8021q_vlan_add_tx() argument 133 unsigned long cpu_ports = dsa_cpu_ports(ds); in felix_tag_8021q_vlan_add_tx() 134 struct ocelot *ocelot = ds->priv; in felix_tag_8021q_vlan_add_tx() 196 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 …]
|
D | ocelot_ext.c | 69 struct dsa_switch *ds; in ocelot_ext_probe() local 87 ds = kzalloc(sizeof(*ds), GFP_KERNEL); in ocelot_ext_probe() 88 if (!ds) { in ocelot_ext_probe() 94 ds->dev = dev; in ocelot_ext_probe() 95 ds->num_ports = felix->info->num_ports; in ocelot_ext_probe() 96 ds->num_tx_queues = felix->info->num_tx_queues; in ocelot_ext_probe() 98 ds->ops = &felix_switch_ops; in ocelot_ext_probe() 99 ds->priv = ocelot; in ocelot_ext_probe() 100 felix->ds = ds; in ocelot_ext_probe() 103 err = dsa_register_switch(ds); in ocelot_ext_probe() [all …]
|
/linux-6.6.21/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() argument 53 struct dsa_loop_priv *ps = ds->priv; in dsa_loop_setup_devlink_resources() 60 err = dsa_devlink_resource_register(ds, "VTU", ARRAY_SIZE(ps->vlans), in dsa_loop_setup_devlink_resources() 67 dsa_devlink_resource_occ_get_register(ds, in dsa_loop_setup_devlink_resources() 74 dsa_devlink_resources_unregister(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() argument 82 dev_dbg(ds->dev, "%s: port: %d\n", __func__, port); in dsa_loop_get_protocol() 87 static int dsa_loop_setup(struct dsa_switch *ds) in dsa_loop_setup() argument 89 struct dsa_loop_priv *ps = ds->priv; in dsa_loop_setup() 92 for (i = 0; i < ds->num_ports; i++) in dsa_loop_setup() [all …]
|
D | mv88e6060.c | 45 static enum dsa_tag_protocol mv88e6060_get_tag_protocol(struct dsa_switch *ds, in mv88e6060_get_tag_protocol() argument 121 if (dsa_is_unused_port(priv->ds, p)) in mv88e6060_setup_port() 130 dsa_is_cpu_port(priv->ds, p) ? in mv88e6060_setup_port() 145 (dsa_is_cpu_port(priv->ds, p) ? in mv88e6060_setup_port() 146 dsa_user_ports(priv->ds) : in mv88e6060_setup_port() 147 BIT(dsa_to_port(priv->ds, p)->cpu_dp->index))); in mv88e6060_setup_port() 187 static int mv88e6060_setup(struct dsa_switch *ds) in mv88e6060_setup() argument 189 struct mv88e6060_priv *priv = ds->priv; in mv88e6060_setup() 193 priv->ds = ds; in mv88e6060_setup() 225 static int mv88e6060_phy_read(struct dsa_switch *ds, int port, int regnum) in mv88e6060_phy_read() argument [all …]
|
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-6.6.21/drivers/net/dsa/xrs700x/ |
D | xrs700x.c | 86 static void xrs700x_get_strings(struct dsa_switch *ds, int port, in xrs700x_get_strings() argument 100 static int xrs700x_get_sset_count(struct dsa_switch *ds, int port, int sset) in xrs700x_get_sset_count() argument 155 for (i = 0; i < priv->ds->num_ports; i++) in xrs700x_mib_work() 161 static void xrs700x_get_ethtool_stats(struct dsa_switch *ds, int port, in xrs700x_get_ethtool_stats() argument 164 struct xrs700x *priv = ds->priv; in xrs700x_get_ethtool_stats() 174 static void xrs700x_get_stats64(struct dsa_switch *ds, int port, in xrs700x_get_stats64() argument 177 struct xrs700x *priv = ds->priv; in xrs700x_get_stats64() 192 priv->ds->num_ports, in xrs700x_setup_regmap_range() 198 priv->ds->num_ports, in xrs700x_setup_regmap_range() 204 priv->ds->num_ports, in xrs700x_setup_regmap_range() [all …]
|
/linux-6.6.21/drivers/md/ |
D | dm-bio-prison-v1.c | 322 struct dm_deferred_set *ds; member 337 struct dm_deferred_set *ds; in dm_deferred_set_create() local 339 ds = kmalloc(sizeof(*ds), GFP_KERNEL); in dm_deferred_set_create() 340 if (!ds) in dm_deferred_set_create() 343 spin_lock_init(&ds->lock); in dm_deferred_set_create() 344 ds->current_entry = 0; in dm_deferred_set_create() 345 ds->sweeper = 0; in dm_deferred_set_create() 347 ds->entries[i].ds = ds; in dm_deferred_set_create() 348 ds->entries[i].count = 0; in dm_deferred_set_create() 349 INIT_LIST_HEAD(&ds->entries[i].work_items); in dm_deferred_set_create() [all …]
|
/linux-6.6.21/drivers/net/dsa/sja1105/ |
D | sja1105_main.c | 86 static int sja1105_drop_untagged(struct dsa_switch *ds, int port, bool drop) in sja1105_drop_untagged() argument 88 struct sja1105_private *priv = ds->priv; in sja1105_drop_untagged() 117 static int sja1105_commit_pvid(struct dsa_switch *ds, int port) in sja1105_commit_pvid() argument 119 struct dsa_port *dp = dsa_to_port(ds, port); in sja1105_commit_pvid() 121 struct sja1105_private *priv = ds->priv; in sja1105_commit_pvid() 152 if (dsa_is_cpu_port(ds, port) || dsa_is_dsa_port(ds, port)) in sja1105_commit_pvid() 155 return sja1105_drop_untagged(ds, port, drop_untagged); in sja1105_commit_pvid() 200 struct dsa_switch *ds = priv->ds; in sja1105_init_mac_settings() local 221 list_for_each_entry(dp, &ds->dst->ports, list) { in sja1105_init_mac_settings() 222 if (dp->ds != ds) in sja1105_init_mac_settings() [all …]
|
D | sja1105_ptp.h | 93 int sja1105_ptp_clock_register(struct dsa_switch *ds); 95 void sja1105_ptp_clock_unregister(struct dsa_switch *ds); 103 int sja1105_get_ts_info(struct dsa_switch *ds, int port, 106 void sja1105_ptp_txtstamp_skb(struct dsa_switch *ds, int slot, 109 bool sja1105_port_rxtstamp(struct dsa_switch *ds, int port, 112 void sja1105_port_txtstamp(struct dsa_switch *ds, int port, 115 int sja1105_hwtstamp_get(struct dsa_switch *ds, int port, struct ifreq *ifr); 117 int sja1105_hwtstamp_set(struct dsa_switch *ds, int port, struct ifreq *ifr); 119 int __sja1105_ptp_gettimex(struct dsa_switch *ds, u64 *ns, 122 int __sja1105_ptp_settime(struct dsa_switch *ds, u64 ns, [all …]
|
D | sja1105_ptp.c | 61 int sja1105_hwtstamp_set(struct dsa_switch *ds, int port, struct ifreq *ifr) in sja1105_hwtstamp_set() argument 63 struct sja1105_private *priv = ds->priv; in sja1105_hwtstamp_set() 94 int sja1105_hwtstamp_get(struct dsa_switch *ds, int port, struct ifreq *ifr) in sja1105_hwtstamp_get() argument 96 struct sja1105_private *priv = ds->priv; in sja1105_hwtstamp_get() 113 int sja1105_get_ts_info(struct dsa_switch *ds, int port, in sja1105_get_ts_info() argument 116 struct sja1105_private *priv = ds->priv; in sja1105_get_ts_info() 168 int sja1105_ptp_commit(struct dsa_switch *ds, struct sja1105_ptp_cmd *cmd, in sja1105_ptp_commit() argument 171 const struct sja1105_private *priv = ds->priv; in sja1105_ptp_commit() 202 static u64 sja1105_tstamp_reconstruct(struct dsa_switch *ds, u64 now, in sja1105_tstamp_reconstruct() argument 205 struct sja1105_private *priv = ds->priv; in sja1105_tstamp_reconstruct() [all …]
|
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 …]
|
/linux-6.6.21/drivers/hid/ |
D | hid-playstation.c | 534 static inline void dualsense_schedule_work(struct dualsense *ds); 536 static void dualsense_set_lightbar(struct dualsense *ds, uint8_t red, uint8_t green, uint8_t blue); 945 static int dualsense_get_calibration_data(struct dualsense *ds) in dualsense_get_calibration_data() argument 947 struct hid_device *hdev = ds->base.hdev; in dualsense_get_calibration_data() 965 ret = ps_get_report(ds->base.hdev, DS_FEATURE_REPORT_CALIBRATION, buf, in dualsense_get_calibration_data() 968 hid_err(ds->base.hdev, "Failed to retrieve DualSense calibration info: %d\n", ret); in dualsense_get_calibration_data() 995 ds->gyro_calib_data[0].abs_code = ABS_RX; in dualsense_get_calibration_data() 996 ds->gyro_calib_data[0].bias = 0; in dualsense_get_calibration_data() 997 ds->gyro_calib_data[0].sens_numer = speed_2x*DS_GYRO_RES_PER_DEG_S; in dualsense_get_calibration_data() 998 ds->gyro_calib_data[0].sens_denom = abs(gyro_pitch_plus - gyro_pitch_bias) + in dualsense_get_calibration_data() [all …]
|
/linux-6.6.21/drivers/net/dsa/b53/ |
D | b53_priv.h | 108 struct dsa_switch *ds; member 243 dsa_unregister_switch(dev->ds); in b53_switch_remove() 248 dsa_switch_shutdown(dev->ds); in b53_switch_shutdown() 335 void b53_imp_vlan_setup(struct dsa_switch *ds, int cpu_port); 336 int b53_configure_vlan(struct dsa_switch *ds); 337 void b53_get_strings(struct dsa_switch *ds, int port, u32 stringset, 339 void b53_get_ethtool_stats(struct dsa_switch *ds, int port, uint64_t *data); 340 int b53_get_sset_count(struct dsa_switch *ds, int port, int sset); 341 void b53_get_ethtool_phy_stats(struct dsa_switch *ds, int port, uint64_t *data); 342 int b53_br_join(struct dsa_switch *ds, int port, struct dsa_bridge bridge, [all …]
|
/linux-6.6.21/drivers/net/dsa/microchip/ |
D | ksz_ptp.h | 36 int ksz_ptp_clock_register(struct dsa_switch *ds); 38 void ksz_ptp_clock_unregister(struct dsa_switch *ds); 40 int ksz_get_ts_info(struct dsa_switch *ds, int port, 42 int ksz_hwtstamp_get(struct dsa_switch *ds, int port, struct ifreq *ifr); 43 int ksz_hwtstamp_set(struct dsa_switch *ds, int port, struct ifreq *ifr); 44 void ksz_port_txtstamp(struct dsa_switch *ds, int port, struct sk_buff *skb); 46 bool ksz_port_rxtstamp(struct dsa_switch *ds, int port, struct sk_buff *skb, 48 int ksz_ptp_irq_setup(struct dsa_switch *ds, u8 p); 49 void ksz_ptp_irq_free(struct dsa_switch *ds, u8 p); 58 static inline int ksz_ptp_clock_register(struct dsa_switch *ds) in ksz_ptp_clock_register() argument [all …]
|