Home
last modified time | relevance | path

Searched refs:ds (Results 1 – 25 of 463) sorted by relevance

12345678910>>...19

/linux-6.3-rc2/net/dsa/
A Dswitch.c86 if (info->dp->ds == ds) { in dsa_switch_bridge_join()
98 if (info->dp->ds != ds && ds->ops->crosschip_bridge_join) { in dsa_switch_bridge_join()
115 if (info->dp->ds == ds && ds->ops->port_bridge_leave) in dsa_switch_bridge_leave()
118 if (info->dp->ds != ds && ds->ops->crosschip_bridge_leave) in dsa_switch_bridge_leave()
119 ds->ops->crosschip_bridge_leave(ds, info->dp->ds->dst->index, in dsa_switch_bridge_leave()
514 if (info->dp->ds == ds && ds->ops->port_lag_change) in dsa_switch_lag_change()
517 if (info->dp->ds != ds && ds->ops->crosschip_lag_change) in dsa_switch_lag_change()
527 if (info->dp->ds == ds && ds->ops->port_lag_join) in dsa_switch_lag_join()
531 if (info->dp->ds != ds && ds->ops->crosschip_lag_join) in dsa_switch_lag_join()
542 if (info->dp->ds == ds && ds->ops->port_lag_leave) in dsa_switch_lag_leave()
[all …]
A Ddevlink.c18 return ds->ops->devlink_info_get(ds, req, extack); in dsa_devlink_info_get()
32 return ds->ops->devlink_sb_pool_get(ds, sb_index, pool_index, in dsa_devlink_sb_pool_get()
123 return ds->ops->devlink_sb_occ_snapshot(ds, sb_index); in dsa_devlink_sb_occ_snapshot()
192 return ds->ops->devlink_param_get(ds, id, ctx); in dsa_devlink_param_get()
204 return ds->ops->devlink_param_set(ds, id, ctx); in dsa_devlink_param_set()
297 struct dsa_switch *ds = dp->ds; in dsa_port_devlink_setup() local
306 err = ds->ops->port_setup(ds, dp->index); in dsa_port_devlink_setup()
337 ds->ops->port_teardown(ds, dp->index); in dsa_port_devlink_setup()
347 struct dsa_switch *ds = dp->ds; in dsa_port_devlink_teardown() local
352 ds->ops->port_teardown(ds, dp->index); in dsa_port_devlink_teardown()
[all …]
A Dport.c57 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
119 struct dsa_switch *ds = dp->ds; in dsa_port_supports_hwtstamp() local
135 struct dsa_switch *ds = dp->ds; in dsa_port_set_state() local
169 struct dsa_switch *ds = dp->ds; in dsa_port_set_state_now() local
183 struct dsa_switch *ds = dp->ds; in dsa_port_set_mst_state() local
217 struct dsa_switch *ds = dp->ds; in dsa_port_enable_rt() local
249 struct dsa_switch *ds = dp->ds; in dsa_port_disable_rt() local
274 struct dsa_switch *ds = dp->ds; in dsa_port_reset_vlan_filtering() local
[all …]
A Ddsa.c290 struct dsa_switch *ds = dp->ds; in dsa_link_touch() local
315 struct dsa_switch *ds = dp->ds; in dsa_port_setup_routing_table() local
444 struct dsa_switch *ds = dp->ds; in dsa_port_setup() local
629 err = ds->ops->setup(ds); in dsa_switch_setup()
664 ds->ops->teardown(ds); in dsa_switch_setup()
688 ds->ops->teardown(ds); in dsa_switch_teardown()
1079 dp->ds = ds; in dsa_port_touch()
1138 struct dsa_switch *ds = dp->ds; in dsa_port_parse_cpu() local
1313 ds->index, ds->dst->index); in dsa_switch_parse_member_of()
1604 ret = ds->ops->suspend(ds); in dsa_switch_suspend()
[all …]
A Dtag_8021q.c146 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()
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()
228 if (!ds->ops->tag_8021q_vlan_add || !ds->tag_8021q_ctx) in dsa_switch_tag_8021q_vlan_add()
255 if (!ds->ops->tag_8021q_vlan_del || !ds->tag_8021q_ctx) in dsa_switch_tag_8021q_vlan_del()
326 dev_err(ds->dev, in dsa_tag_8021q_bridge_leave()
354 dev_err(ds->dev, in dsa_tag_8021q_port_setup()
[all …]
A Dslave.c82 struct dsa_switch *ds = dp->ds; in dsa_slave_standalone_event_work() local
217 struct dsa_switch *ds = dp->ds; in dsa_slave_sync_ha() local
238 struct dsa_switch *ds = dp->ds; in dsa_slave_unsync_ha() local
284 ds->dst->index, ds->index); in dsa_slave_mii_bus_init()
300 struct dsa_switch *ds = dp->ds; in dsa_slave_open() local
341 struct dsa_switch *ds = dp->ds; in dsa_slave_close() local
367 struct dsa_switch *ds = dp->ds; in dsa_slave_change_rx_flags() local
391 struct dsa_switch *ds = dp->ds; in dsa_slave_set_mac_address() local
926 struct dsa_switch *ds = dp->ds; in dsa_slave_get_regs_len() local
2892 ds = dp->ds; in dsa_slave_prechangeupper_sanity_check()
[all …]
A Dmaster.c23 struct dsa_switch *ds = cpu_dp->ds; in dsa_master_get_regs_len() local
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
75 len = ds->ops->get_regs_len(ds, port); in dsa_master_get_regs()
89 struct dsa_switch *ds = cpu_dp->ds; in dsa_master_get_ethtool_stats() local
108 struct dsa_switch *ds = cpu_dp->ds; in dsa_master_get_ethtool_phy_stats() local
132 struct dsa_switch *ds = cpu_dp->ds; in dsa_master_get_sset_count() local
155 struct dsa_switch *ds = cpu_dp->ds; in dsa_master_get_strings() local
201 struct dsa_switch *ds = cpu_dp->ds; in dsa_master_ioctl() local
233 struct dsa_switch *ds = cpu_dp->ds; in dsa_master_ethtool_setup() local
[all …]
/linux-6.3-rc2/fs/xfs/scrub/
A Ddabtree.c133 if (blkno < ds->lowest || (ds->highest != 0 && blkno >= ds->highest)) { in xchk_da_btree_ptr_ok()
305 memset(&ds->state->altpath, 0, sizeof(ds->state->altpath)); in xchk_da_btree_block_check_siblings()
490 if (!ds) in xchk_da_btree()
496 ds->state = xfs_da_state_alloc(&ds->dargs); in xchk_da_btree()
497 ds->sc = sc; in xchk_da_btree()
501 ds->lowest = 0; in xchk_da_btree()
502 ds->highest = 0; in xchk_da_btree()
505 ds->lowest = ds->dargs.geo->leafblk; in xchk_da_btree()
506 ds->highest = ds->dargs.geo->freeblk; in xchk_da_btree()
573 ds->tree_level--; in xchk_da_btree()
[all …]
A Dattr.c243 struct xchk_da_btree *ds, in xchk_xattr_entry() argument
262 xchk_da_set_corrupt(ds, level); in xchk_xattr_entry()
266 xchk_da_set_corrupt(ds, level); in xchk_xattr_entry()
272 xchk_da_set_corrupt(ds, level); in xchk_xattr_entry()
292 xchk_da_set_corrupt(ds, level); in xchk_xattr_entry()
295 xchk_da_set_corrupt(ds, level); in xchk_xattr_entry()
303 struct xchk_da_btree *ds, in xchk_xattr_block() argument
338 if (xfs_has_crc(ds->sc->mp)) { in xchk_xattr_block()
354 xchk_da_set_corrupt(ds, level); in xchk_xattr_block()
356 xchk_da_set_corrupt(ds, level); in xchk_xattr_block()
[all …]
/linux-6.3-rc2/include/net/
A Ddsa.h266 struct dsa_switch *ds; member
504 if (dp->ds == ds && dp->index == p) in dsa_to_port()
625 if (dl->dp->ds == ds && dl->link_dp->ds->index == device) in dsa_routing_port()
628 return ds->num_ports; in dsa_routing_port()
650 return dsa_towards_port(ds, cpu_dp->ds->index, cpu_dp->index); in dsa_upstream_port()
665 return dsa_is_dsa_port(ds, port) && !dsa_is_upstream_port(ds, port); in dsa_is_downstream_port()
677 return ds->num_ports; in dsa_switch_upstream_port()
699 const struct dsa_switch *ds = dp->ds; in dsa_port_is_vlan_filtering() local
818 return a->ds->dst == b->ds->dst; in dsa_port_tree_same()
1278 return dl_priv->ds; in dsa_devlink_to_ds()
[all …]
/linux-6.3-rc2/drivers/acpi/
A Ddock.c136 return ds; in find_dock_station()
166 if (ds && !find_dock_dependent_device(ds, adev)) in register_dock_dependent_device()
212 if (ds) { in dock_present()
336 handle_dock(ds, 1); in dock()
341 handle_dock(ds, 0); in undock()
402 undock(ds); in handle_eject_request()
428 if (!ds) in dock_notify()
452 begin_dock(ds); in dock_notify()
453 dock(ds); in dock_notify()
466 if (dock_present(ds) || dock_in_progress(ds)) in dock_notify()
[all …]
/linux-6.3-rc2/drivers/net/dsa/ocelot/
A Dfelix.c48 struct ocelot *ocelot = ds->priv; in felix_cpu_port_for_master()
71 struct ocelot *ocelot = ds->priv; in felix_tag_8021q_vlan_add_rx()
556 dsa_tag_8021q_unregister(ds); in felix_tag_8021q_teardown()
561 return dsa_cpu_ports(ds); in felix_tag_8021q_get_host_fwd_mask()
690 err = proto_ops->setup(ds); in felix_change_tag_protocol()
699 old_proto_ops->teardown(ds); in felix_change_tag_protocol()
707 proto_ops->teardown(ds); in felix_change_tag_protocol()
1496 struct dsa_switch *ds = xmit_work->dp->ds; in felix_port_deferred_xmit() local
1591 ds->fdb_isolation = true; in felix_setup()
1592 ds->max_num_bridges = ds->num_ports; in felix_setup()
[all …]
A Docelot_ext.c67 struct dsa_switch *ds; in ocelot_ext_probe() local
85 ds = kzalloc(sizeof(*ds), GFP_KERNEL); in ocelot_ext_probe()
86 if (!ds) { in ocelot_ext_probe()
92 ds->dev = dev; in ocelot_ext_probe()
96 ds->ops = &felix_switch_ops; in ocelot_ext_probe()
97 ds->priv = ocelot; in ocelot_ext_probe()
98 felix->ds = ds; in ocelot_ext_probe()
101 err = dsa_register_switch(ds); in ocelot_ext_probe()
110 kfree(ds); in ocelot_ext_probe()
125 kfree(felix->ds); in ocelot_ext_remove()
[all …]
/linux-6.3-rc2/drivers/net/dsa/
A Ddsa_loop.c304 struct dsa_switch *ds; in dsa_loop_drv_probe() local
310 ds = devm_kzalloc(&mdiodev->dev, sizeof(*ds), GFP_KERNEL); in dsa_loop_drv_probe()
311 if (!ds) in dsa_loop_drv_probe()
314 ds->dev = &mdiodev->dev; in dsa_loop_drv_probe()
327 ds->dev = &mdiodev->dev; in dsa_loop_drv_probe()
329 ds->priv = ps; in dsa_loop_drv_probe()
347 if (!ds) in dsa_loop_drv_remove()
350 ps = ds->priv; in dsa_loop_drv_remove()
352 dsa_unregister_switch(ds); in dsa_loop_drv_remove()
360 if (!ds) in dsa_loop_drv_shutdown()
[all …]
A Dmv88e6060.c193 priv->ds = ds; in mv88e6060_setup()
261 struct dsa_switch *ds; in mv88e6060_probe() local
277 ds = devm_kzalloc(dev, sizeof(*ds), GFP_KERNEL); in mv88e6060_probe()
278 if (!ds) in mv88e6060_probe()
281 ds->dev = dev; in mv88e6060_probe()
283 ds->priv = priv; in mv88e6060_probe()
284 ds->dev = dev; in mv88e6060_probe()
287 dev_set_drvdata(dev, ds); in mv88e6060_probe()
296 if (!ds) in mv88e6060_remove()
306 if (!ds) in mv88e6060_shutdown()
[all …]
A Dbcm_sf2.c292 bcm_sf2_recalc_clock(ds); in bcm_sf2_port_setup()
368 b53_disable_port(ds, port); in bcm_sf2_port_disable()
377 bcm_sf2_recalc_clock(ds); in bcm_sf2_port_disable()
945 if (dsa_is_user_port(ds, port) || dsa_is_cpu_port(ds, port)) in bcm_sf2_sw_suspend()
978 ds->ops->setup(ds); in bcm_sf2_sw_resume()
1053 b53_configure_vlan(ds); in bcm_sf2_sw_setup()
1054 bcm_sf2_enable_acb(ds); in bcm_sf2_sw_setup()
1348 struct dsa_switch *ds; in bcm_sf2_sw_probe() local
1396 ds = dev->ds; in bcm_sf2_sw_probe()
1397 ds->ops = &bcm_sf2_ops; in bcm_sf2_sw_probe()
[all …]
/linux-6.3-rc2/drivers/md/
A Ddm-bio-prison-v1.c305 ds = kmalloc(sizeof(*ds), GFP_KERNEL); in dm_deferred_set_create()
306 if (!ds) in dm_deferred_set_create()
313 ds->entries[i].ds = ds; in dm_deferred_set_create()
318 return ds; in dm_deferred_set_create()
334 entry = ds->entries + ds->current_entry; in dm_deferred_entry_inc()
349 while ((ds->sweeper != ds->current_entry) && in __sweep()
350 !ds->entries[ds->sweeper].count) { in __sweep()
352 ds->sweeper = ds_next(ds->sweeper); in __sweep()
355 if ((ds->sweeper == ds->current_entry) && !ds->entries[ds->sweeper].count) in __sweep()
380 if ((ds->sweeper == ds->current_entry) && in dm_deferred_set_add_work()
[all …]
/linux-6.3-rc2/drivers/net/dsa/sja1105/
A Dsja1105_main.c201 struct dsa_switch *ds = priv->ds; in sja1105_init_mac_settings() local
223 if (dp->ds != ds) in sja1105_init_mac_settings()
252 struct dsa_switch *ds = priv->ds; in sja1105_init_mii_settings() local
415 struct dsa_switch *ds = priv->ds; in sja1105_init_l2_lookup_params() local
473 struct dsa_switch *ds = priv->ds; in sja1105_init_static_vlan() local
511 struct dsa_switch *ds = priv->ds; in sja1105_init_l2_forwarding() local
645 struct dsa_switch *ds = priv->ds; in sja1110_init_pcp_remapping() local
794 struct dsa_switch *ds = priv->ds; in sja1105_init_topology() local
1010 struct dsa_switch *ds = priv->ds; in sja1105_init_l2_policing() local
1966 struct dsa_switch *ds = priv->ds; in sja1105_manage_flood_domains() local
[all …]
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,
119 int __sja1105_ptp_gettimex(struct dsa_switch *ds, u64 *ns,
122 int __sja1105_ptp_settime(struct dsa_switch *ds, u64 ns,
125 int __sja1105_ptp_adjtime(struct dsa_switch *ds, s64 delta);
149 static inline int sja1105_ptp_clock_register(struct dsa_switch *ds) in sja1105_ptp_clock_register() argument
[all …]
A Dsja1105_ptp.c86 struct sja1105_private *priv = ds->priv; in sja1105_hwtstamp_set()
119 dev_err(ds->dev, in sja1105_hwtstamp_set()
135 struct sja1105_private *priv = ds->priv; in sja1105_hwtstamp_get()
362 dev_err_ratelimited(priv->ds->dev, in sja1105_extts_poll()
379 struct dsa_switch *ds = priv->ds; in sja1105_rxtstamp_work() local
531 priv->info->txtstamp(ds, port, skb); in sja1105_port_txtstamp()
548 sja1105_tas_clockstep(priv->ds); in sja1105_ptp_reset()
623 sja1105_tas_clockstep(priv->ds); in __sja1105_ptp_settime()
667 sja1105_tas_adjfreq(priv->ds); in sja1105_ptp_adjfine()
689 sja1105_tas_clockstep(priv->ds); in __sja1105_ptp_adjtime()
[all …]
A Dsja1105_tas.c21 struct dsa_switch *ds = priv->ds; in sja1105_tas_set_runtime_params() local
77 dev_err(ds->dev, in sja1105_tas_set_runtime_params()
167 struct dsa_switch *ds = priv->ds; in sja1105_init_scheduling() local
448 dev_warn(priv->ds->dev, in sja1105_tas_check_conflicts()
472 struct dsa_switch *ds = priv->ds; in sja1105_gating_check_conflicts() local
552 dev_err(priv->ds->dev, in sja1105_setup_tc_taprio()
584 struct dsa_switch *ds = priv->ds; in sja1105_tas_check_running() local
631 struct dsa_switch *ds = priv->ds; in sja1105_tas_start() local
658 struct dsa_switch *ds = priv->ds; in sja1105_tas_stop() local
727 struct dsa_switch *ds = priv->ds; in sja1105_tas_state_machine() local
[all …]
/linux-6.3-rc2/drivers/net/dsa/xrs700x/
A Dxrs700x.c192 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()
424 ret = xrs700x_reset(ds); in xrs700x_setup()
744 struct dsa_switch *ds; in xrs700x_switch_alloc() local
747 ds = devm_kzalloc(base, sizeof(*ds), GFP_KERNEL); in xrs700x_switch_alloc()
748 if (!ds) in xrs700x_switch_alloc()
751 ds->dev = base; in xrs700x_switch_alloc()
759 ds->ops = &xrs700x_ops; in xrs700x_switch_alloc()
760 ds->priv = priv; in xrs700x_switch_alloc()
[all …]
/linux-6.3-rc2/drivers/hid/
A Dhid-playstation.c1120 memcpy(ds->base.mac_address, &buf[1], sizeof(ds->base.mac_address)); in dualsense_get_mac_address()
1148 return !!(ds->player_leds_state & BIT(led - ds->player_leds)); in dualsense_player_led_get_brightness()
1192 ds->output_seq = 0; in dualsense_init_output_report()
1253 dualsense_init_output_report(ds, &report, ds->output_report_dmabuf); in dualsense_output_worker()
1382 ds->mic_muted = !ds->mic_muted; /* toggle */ in dualsense_parse_report()
1598 ds = devm_kzalloc(&hdev->dev, sizeof(*ds), GFP_KERNEL); in dualsense_create()
1599 if (!ds) in dualsense_create()
1608 ps_dev = &ds->base; in dualsense_create()
1647 ds->use_vibration_v2 = ds->update_version >= DS_FEATURE_VERSION(2, 21); in dualsense_create()
1725 ds->base.hw_version, ds->base.fw_version); in dualsense_create()
[all …]
/linux-6.3-rc2/drivers/net/dsa/b53/
A Db53_priv.h106 struct dsa_switch *ds; member
232 dsa_unregister_switch(dev->ds); in b53_switch_remove()
237 dsa_switch_shutdown(dev->ds); in b53_switch_shutdown()
325 int b53_configure_vlan(struct dsa_switch *ds);
339 int b53_br_flags(struct dsa_switch *ds, int port,
358 int b53_vlan_add(struct dsa_switch *ds, int port,
361 int b53_vlan_del(struct dsa_switch *ds, int port,
363 int b53_fdb_add(struct dsa_switch *ds, int port,
366 int b53_fdb_del(struct dsa_switch *ds, int port,
371 int b53_mdb_add(struct dsa_switch *ds, int port,
[all …]
/linux-6.3-rc2/drivers/net/dsa/microchip/
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);
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
63 static inline void ksz_ptp_clock_unregister(struct dsa_switch *ds) { } in ksz_ptp_clock_unregister() argument
65 static inline int ksz_ptp_irq_setup(struct dsa_switch *ds, u8 p) in ksz_ptp_irq_setup() argument
[all …]

Completed in 118 milliseconds

12345678910>>...19