Home
last modified time | relevance | path

Searched full:ds (Results 1 – 25 of 1004) sorted by relevance

12345678910>>...41

/linux-6.12.1/net/dsa/
Ddevlink.c15 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 …]
Dswitch.c23 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 …]
Ddsa.c59 * driver by setting ds->num_lag_ids. It is perfectly legal to leave
189 if (dp->ds->index != sw_index) in dsa_switch_find()
192 return dp->ds; in dsa_switch_find()
290 struct dsa_switch *ds = dp->ds; in dsa_link_touch() local
294 dst = ds->dst; in dsa_link_touch()
315 struct dsa_switch *ds = dp->ds; in dsa_port_setup_routing_table() local
316 struct dsa_switch_tree *dst = ds->dst; in dsa_port_setup_routing_table()
406 dsa_switch_preferred_default_local_cpu_port(struct dsa_switch *ds) in dsa_switch_preferred_default_local_cpu_port() argument
410 if (!ds->ops->preferred_default_local_cpu_port) in dsa_switch_preferred_default_local_cpu_port()
413 cpu_dp = ds->ops->preferred_default_local_cpu_port(ds); in dsa_switch_preferred_default_local_cpu_port()
[all …]
Duser.c68 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 …]
Dport.c35 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 …]
Dconduit.c23 struct dsa_switch *ds = cpu_dp->ds; in dsa_conduit_get_regs_len() local
38 if (ds->ops->get_regs_len) { in dsa_conduit_get_regs_len()
39 len = ds->ops->get_regs_len(ds, port); in dsa_conduit_get_regs_len()
53 struct dsa_switch *ds = cpu_dp->ds; in dsa_conduit_get_regs() local
74 if (ds->ops->get_regs_len && ds->ops->get_regs) { in dsa_conduit_get_regs()
75 len = ds->ops->get_regs_len(ds, port); in dsa_conduit_get_regs()
79 ds->ops->get_regs(ds, port, cpu_regs, data); in dsa_conduit_get_regs()
89 struct dsa_switch *ds = cpu_dp->ds; in dsa_conduit_get_ethtool_stats() local
98 if (ds->ops->get_ethtool_stats) in dsa_conduit_get_ethtool_stats()
99 ds->ops->get_ethtool_stats(ds, port, data + count); in dsa_conduit_get_ethtool_stats()
[all …]
Dtag_8021q.c74 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 …]
/linux-6.12.1/fs/xfs/scrub/
Ddabtree.c31 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 …]
Dattr.c322 struct xchk_da_btree *ds, in xchk_xattr_entry() argument
332 struct xfs_mount *mp = ds->state->mp; in xchk_xattr_entry()
333 struct xchk_xattr_buf *ab = ds->sc->buf; in xchk_xattr_entry()
341 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()
362 xchk_da_set_corrupt(ds, level); in xchk_xattr_entry()
368 xchk_da_set_corrupt(ds, level); in xchk_xattr_entry()
371 xchk_da_set_corrupt(ds, level); in xchk_xattr_entry()
373 if (!xchk_xattr_set_map(ds->sc, ab->usedmap, nameidx, namesize)) in xchk_xattr_entry()
[all …]
/linux-6.12.1/drivers/net/dsa/ocelot/
Dfelix.c45 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()
150 static int felix_tag_8021q_vlan_del_rx(struct dsa_switch *ds, int port, in felix_tag_8021q_vlan_del_rx() argument
155 struct ocelot *ocelot = ds->priv; in felix_tag_8021q_vlan_del_rx()
172 static int felix_tag_8021q_vlan_add_tx(struct dsa_switch *ds, int port, in felix_tag_8021q_vlan_add_tx() argument
176 unsigned long cpu_ports = dsa_cpu_ports(ds); in felix_tag_8021q_vlan_add_tx()
177 struct ocelot *ocelot = ds->priv; in felix_tag_8021q_vlan_add_tx()
239 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-6.12.1/include/net/
Ddsa.h97 int (*connect)(struct dsa_switch *ds);
98 void (*disconnect)(struct dsa_switch *ds);
177 if ((_dp)->ds == (_ds) && (_dp)->hsr_dev == (_hsr))
255 struct dsa_switch *ds; member
510 static inline struct dsa_port *dsa_to_port(struct dsa_switch *ds, int p) in dsa_to_port() argument
512 struct dsa_switch_tree *dst = ds->dst; in dsa_to_port()
516 if (dp->ds == ds && dp->index == p) in dsa_to_port()
548 static inline bool dsa_is_unused_port(struct dsa_switch *ds, int p) in dsa_is_unused_port() argument
550 return dsa_to_port(ds, p)->type == DSA_PORT_TYPE_UNUSED; in dsa_is_unused_port()
553 static inline bool dsa_is_cpu_port(struct dsa_switch *ds, int p) in dsa_is_cpu_port() argument
[all …]
/linux-6.12.1/drivers/acpi/
Ddock.c66 * @ds: Dock station.
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()
129 * @ds: the 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()
[all …]
/linux-6.12.1/drivers/net/dsa/
Ddsa_loop.c50 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 …]
Dmv88e6060.c45 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 …]
Dbcm_sf2.c116 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.12.1/drivers/net/dsa/xrs700x/
Dxrs700x.c86 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.12.1/drivers/md/
Ddm-bio-prison-v1.c322 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.12.1/drivers/net/dsa/sja1105/
Dsja1105_ptp.h93 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 …]
Dsja1105_main.c88 static int sja1105_drop_untagged(struct dsa_switch *ds, int port, bool drop) in sja1105_drop_untagged() argument
90 struct sja1105_private *priv = ds->priv; in sja1105_drop_untagged()
119 static int sja1105_commit_pvid(struct dsa_switch *ds, int port) in sja1105_commit_pvid() argument
121 struct dsa_port *dp = dsa_to_port(ds, port); in sja1105_commit_pvid()
123 struct sja1105_private *priv = ds->priv; in sja1105_commit_pvid()
154 if (dsa_is_cpu_port(ds, port) || dsa_is_dsa_port(ds, port)) in sja1105_commit_pvid()
157 return sja1105_drop_untagged(ds, port, drop_untagged); in sja1105_commit_pvid()
202 struct dsa_switch *ds = priv->ds; in sja1105_init_mac_settings() local
223 list_for_each_entry(dp, &ds->dst->ports, list) { in sja1105_init_mac_settings()
224 if (dp->ds != ds) in sja1105_init_mac_settings()
[all …]
Dsja1105_ptp.c61 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 …]
/linux-6.12.1/drivers/hid/
Dhid-playstation.c541 static inline void dualsense_schedule_work(struct dualsense *ds);
543 static void dualsense_set_lightbar(struct dualsense *ds, uint8_t red, uint8_t green, uint8_t blue);
952 static int dualsense_get_calibration_data(struct dualsense *ds) in dualsense_get_calibration_data() argument
954 struct hid_device *hdev = ds->base.hdev; in dualsense_get_calibration_data()
972 ret = ps_get_report(ds->base.hdev, DS_FEATURE_REPORT_CALIBRATION, buf, in dualsense_get_calibration_data()
975 hid_err(ds->base.hdev, "Failed to retrieve DualSense calibration info: %d\n", ret); in dualsense_get_calibration_data()
1002 ds->gyro_calib_data[0].abs_code = ABS_RX; in dualsense_get_calibration_data()
1003 ds->gyro_calib_data[0].bias = 0; in dualsense_get_calibration_data()
1004 ds->gyro_calib_data[0].sens_numer = speed_2x*DS_GYRO_RES_PER_DEG_S; in dualsense_get_calibration_data()
1005 ds->gyro_calib_data[0].sens_denom = abs(gyro_pitch_plus - gyro_pitch_bias) + in dualsense_get_calibration_data()
[all …]
/linux-6.12.1/fs/nfs/
Dpnfs_nfs.c85 cinfo->ds->nwritten--; in pnfs_generic_clear_request_commit()
252 cinfo->ds->nwritten -= ret; in pnfs_bucket_scan_ds_commit_list()
253 cinfo->ds->ncommitting += ret; in pnfs_bucket_scan_ds_commit_list()
279 struct pnfs_ds_commit_info *fl_cinfo = cinfo->ds; in pnfs_generic_scan_commit_lists()
332 struct pnfs_ds_commit_info *fl_cinfo = cinfo->ds; in pnfs_generic_recover_commit_reqs()
363 cinfo->ds->ncommitting--; in pnfs_bucket_get_committing()
465 struct pnfs_ds_commit_info *fl_cinfo = cinfo->ds; in pnfs_generic_commit_pagelist()
518 print_ds(struct nfs4_pnfs_ds *ds) in print_ds() argument
520 if (ds == NULL) { in print_ds()
524 printk(KERN_WARNING " ds %s\n" in print_ds()
[all …]
/linux-6.12.1/drivers/net/dsa/b53/
Db53_priv.h108 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.12.1/drivers/net/dsa/mv88e6xxx/
Ddevlink.c31 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 …]
/linux-6.12.1/drivers/net/dsa/microchip/
Dksz_ptp.h36 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 …]

12345678910>>...41