Home
last modified time | relevance | path

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

12345678910>>...51

/openbmc/linux/net/dsa/
H A 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 …]
H A 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 …]
H A 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 …]
H A Ddsa.c60 * driver by setting ds->num_lag_ids. It is perfectly legal to leave
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()
[all …]
H A Dslave.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_slave_standalone_event_work() local
98 dev_err(ds->dev, in dsa_slave_standalone_event_work()
[all …]
H A Dmaster.c23 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 …]
H A 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 …]
/openbmc/linux/fs/xfs/scrub/
H A 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 …]
/openbmc/linux/drivers/net/dsa/ocelot/
H A Dfelix.c45 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 …]
H A Docelot_ext.c69 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 …]
/openbmc/linux/include/net/
H A Ddsa.h98 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 …]
/openbmc/u-boot/drivers/spi/
H A Ddavinci_spi.c139 static inline u32 davinci_spi_xfer_data(struct davinci_spi_slave *ds, u32 data) in davinci_spi_xfer_data() argument
144 writel(data, &ds->regs->dat1); in davinci_spi_xfer_data()
147 while ((buf_reg_val = readl(&ds->regs->buf)) & SPIBUF_RXEMPTY_MASK) in davinci_spi_xfer_data()
153 static int davinci_spi_read(struct davinci_spi_slave *ds, unsigned int len, in davinci_spi_read() argument
160 (ds->cur_cs << SPIDAT1_CSNR_SHIFT)); in davinci_spi_read()
163 while (readl(&ds->regs->buf) & SPIBUF_TXFULL_MASK) in davinci_spi_read()
167 writel(data1_reg_val, &ds->regs->dat1); in davinci_spi_read()
171 *rxp++ = davinci_spi_xfer_data(ds, data1_reg_val); in davinci_spi_read()
178 *rxp = davinci_spi_xfer_data(ds, data1_reg_val); in davinci_spi_read()
183 static int davinci_spi_write(struct davinci_spi_slave *ds, unsigned int len, in davinci_spi_write() argument
[all …]
/openbmc/linux/drivers/acpi/
H A 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()
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()
143 * @ds: the 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()
[all …]
/openbmc/linux/drivers/net/dsa/
H A 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 …]
H A 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 …]
H A 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 …]
/openbmc/linux/drivers/net/dsa/xrs700x/
H A 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 …]
/openbmc/linux/drivers/md/
H A 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 …]
/openbmc/linux/drivers/net/dsa/sja1105/
H A 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 …]
H A Dsja1105_main.c86 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 …]
/openbmc/linux/drivers/net/dsa/b53/
H A 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 …]
/openbmc/linux/fs/nfs/
H A 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()
387 struct pnfs_ds_commit_info *fl_cinfo = cinfo->ds; in pnfs_generic_search_commit_reqs()
410 cinfo->ds->ncommitting--; in pnfs_bucket_get_committing()
512 struct pnfs_ds_commit_info *fl_cinfo = cinfo->ds; in pnfs_generic_commit_pagelist()
565 print_ds(struct nfs4_pnfs_ds *ds) in print_ds() argument
567 if (ds == NULL) { in print_ds()
[all …]
/openbmc/linux/drivers/hid/
H A Dhid-playstation.c534 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 …]
/openbmc/linux/drivers/net/dsa/microchip/
H A 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 …]
/openbmc/linux/drivers/net/dsa/mv88e6xxx/
H A 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 …]

12345678910>>...51