Searched refs:ds (Results 1 - 25 of 398) sorted by relevance

1234567891011>>

/linux-master/drivers/net/dsa/mv88e6xxx/
H A Ddevlink.h8 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,
[all...]
/linux-master/net/dsa/
H A Ddevlink.h11 void dsa_switch_devlink_register(struct dsa_switch *ds);
12 void dsa_switch_devlink_unregister(struct dsa_switch *ds);
13 int dsa_switch_devlink_alloc(struct dsa_switch *ds);
14 void dsa_switch_devlink_free(struct dsa_switch *ds);
H A Dswitch.c23 static unsigned int dsa_switch_fastest_ageing_time(struct dsa_switch *ds, argument
28 dsa_switch_for_each_port(dp, ds)
35 static int dsa_switch_ageing_time(struct dsa_switch *ds, argument
40 if (ds->ageing_time_min && ageing_time < ds->ageing_time_min)
43 if (ds->ageing_time_max && ageing_time > ds->ageing_time_max)
47 ageing_time = dsa_switch_fastest_ageing_time(ds, ageing_time);
49 if (ds->ops->set_ageing_time)
50 return ds
61 dsa_switch_mtu(struct dsa_switch *ds, struct dsa_notifier_mtu_info *info) argument
82 dsa_switch_bridge_join(struct dsa_switch *ds, struct dsa_notifier_bridge_info *info) argument
113 dsa_switch_bridge_leave(struct dsa_switch *ds, struct dsa_notifier_bridge_info *info) argument
162 struct dsa_switch *ds = dp->ds; local
214 struct dsa_switch *ds = dp->ds; local
261 struct dsa_switch *ds = dp->ds; local
311 struct dsa_switch *ds = dp->ds; local
354 dsa_switch_do_lag_fdb_add(struct dsa_switch *ds, struct dsa_lag *lag, const unsigned char *addr, u16 vid, struct dsa_db db) argument
396 dsa_switch_do_lag_fdb_del(struct dsa_switch *ds, struct dsa_lag *lag, const unsigned char *addr, u16 vid, struct dsa_db db) argument
434 dsa_switch_host_fdb_add(struct dsa_switch *ds, struct dsa_notifier_fdb_info *info) argument
462 dsa_switch_host_fdb_del(struct dsa_switch *ds, struct dsa_notifier_fdb_info *info) argument
490 dsa_switch_fdb_add(struct dsa_switch *ds, struct dsa_notifier_fdb_info *info) argument
502 dsa_switch_fdb_del(struct dsa_switch *ds, struct dsa_notifier_fdb_info *info) argument
514 dsa_switch_lag_fdb_add(struct dsa_switch *ds, struct dsa_notifier_lag_fdb_info *info) argument
532 dsa_switch_lag_fdb_del(struct dsa_switch *ds, struct dsa_notifier_lag_fdb_info *info) argument
550 dsa_switch_lag_change(struct dsa_switch *ds, struct dsa_notifier_lag_info *info) argument
563 dsa_switch_lag_join(struct dsa_switch *ds, struct dsa_notifier_lag_info *info) argument
578 dsa_switch_lag_leave(struct dsa_switch *ds, struct dsa_notifier_lag_info *info) argument
591 dsa_switch_mdb_add(struct dsa_switch *ds, struct dsa_notifier_mdb_info *info) argument
603 dsa_switch_mdb_del(struct dsa_switch *ds, struct dsa_notifier_mdb_info *info) argument
615 dsa_switch_host_mdb_add(struct dsa_switch *ds, struct dsa_notifier_mdb_info *info) argument
635 dsa_switch_host_mdb_del(struct dsa_switch *ds, struct dsa_notifier_mdb_info *info) argument
692 struct dsa_switch *ds = dp->ds; local
748 struct dsa_switch *ds = dp->ds; local
791 dsa_switch_vlan_add(struct dsa_switch *ds, struct dsa_notifier_vlan_info *info) argument
812 dsa_switch_vlan_del(struct dsa_switch *ds, struct dsa_notifier_vlan_info *info) argument
832 dsa_switch_host_vlan_add(struct dsa_switch *ds, struct dsa_notifier_vlan_info *info) argument
853 dsa_switch_host_vlan_del(struct dsa_switch *ds, struct dsa_notifier_vlan_info *info) argument
873 dsa_switch_change_tag_proto(struct dsa_switch *ds, struct dsa_notifier_tag_proto_info *info) argument
918 dsa_switch_connect_tag_proto(struct dsa_switch *ds, struct dsa_notifier_tag_proto_info *info) argument
947 dsa_switch_disconnect_tag_proto(struct dsa_switch *ds, struct dsa_notifier_tag_proto_info *info) argument
963 dsa_switch_conduit_state_change(struct dsa_switch *ds, struct dsa_notifier_conduit_state_info *info) argument
977 struct dsa_switch *ds = container_of(nb, struct dsa_switch, nb); local
1120 dsa_switch_register_notifier(struct dsa_switch *ds) argument
1127 dsa_switch_unregister_notifier(struct dsa_switch *ds) argument
[all...]
H A Ddevlink.c15 struct dsa_switch *ds = dsa_devlink_to_ds(dl); local
17 if (ds->ops->devlink_info_get)
18 return ds->ops->devlink_info_get(ds, req, extack);
27 struct dsa_switch *ds = dsa_devlink_to_ds(dl); local
29 if (!ds->ops->devlink_sb_pool_get)
32 return ds->ops->devlink_sb_pool_get(ds, sb_index, pool_index,
41 struct dsa_switch *ds = dsa_devlink_to_ds(dl); local
43 if (!ds
54 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); local
69 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); local
85 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); local
103 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); local
118 struct dsa_switch *ds = dsa_devlink_to_ds(dl); local
129 struct dsa_switch *ds = dsa_devlink_to_ds(dl); local
142 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); local
158 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); local
187 struct dsa_switch *ds = dsa_devlink_to_ds(dl); local
200 struct dsa_switch *ds = dsa_devlink_to_ds(dl); local
209 dsa_devlink_params_register(struct dsa_switch *ds, const struct devlink_param *params, size_t params_count) argument
217 dsa_devlink_params_unregister(struct dsa_switch *ds, const struct devlink_param *params, size_t params_count) argument
225 dsa_devlink_resource_register(struct dsa_switch *ds, const char *resource_name, u64 resource_size, u64 resource_id, u64 parent_resource_id, const struct devlink_resource_size_params *size_params) argument
239 dsa_devlink_resources_unregister(struct dsa_switch *ds) argument
245 dsa_devlink_resource_occ_get_register(struct dsa_switch *ds, u64 resource_id, devlink_resource_occ_get_t *occ_get, void *occ_get_priv) argument
255 dsa_devlink_resource_occ_get_unregister(struct dsa_switch *ds, u64 resource_id) argument
263 dsa_devlink_region_create(struct dsa_switch *ds, const struct devlink_region_ops *ops, u32 region_max_snapshots, u64 region_size) argument
273 dsa_devlink_port_region_create(struct dsa_switch *ds, int port, const struct devlink_port_region_ops *ops, u32 region_max_snapshots, u64 region_size) argument
298 struct dsa_switch *ds = dp->ds; local
348 struct dsa_switch *ds = dp->ds; local
358 dsa_switch_devlink_register(struct dsa_switch *ds) argument
363 dsa_switch_devlink_unregister(struct dsa_switch *ds) argument
368 dsa_switch_devlink_alloc(struct dsa_switch *ds) argument
388 dsa_switch_devlink_free(struct dsa_switch *ds) argument
[all...]
H A Ddsa.c59 * driver by setting ds->num_lag_ids. It is perfectly legal to leave
189 if (dp->ds->index != sw_index)
192 return dp->ds;
290 struct dsa_switch *ds = dp->ds; local
294 dst = ds->dst;
315 struct dsa_switch *ds = dp->ds; local
316 struct dsa_switch_tree *dst = ds->dst;
406 dsa_switch_preferred_default_local_cpu_port(struct dsa_switch *ds) argument
466 struct dsa_switch *ds = dp->ds; local
574 dsa_switch_setup_tag_protocol(struct dsa_switch *ds) argument
618 dsa_switch_teardown_tag_protocol(struct dsa_switch *ds) argument
626 dsa_switch_setup(struct dsa_switch *ds) argument
690 dsa_switch_teardown(struct dsa_switch *ds) argument
1084 dsa_port_touch(struct dsa_switch *ds, int index) argument
1130 struct dsa_switch *mds, *ds = dp->ds; local
1156 struct dsa_switch *ds = dp->ds; local
1264 dsa_switch_parse_ports_of(struct dsa_switch *ds, struct device_node *dn) argument
1311 dsa_switch_parse_member_of(struct dsa_switch *ds, struct device_node *dn) argument
1341 dsa_switch_touch_ports(struct dsa_switch *ds) argument
1355 dsa_switch_parse_of(struct dsa_switch *ds, struct device_node *dn) argument
1427 dsa_switch_parse_ports(struct dsa_switch *ds, struct dsa_chip_data *cd) argument
1458 dsa_switch_parse(struct dsa_switch *ds, struct dsa_chip_data *cd) argument
1479 dsa_switch_release_ports(struct dsa_switch *ds) argument
1492 dsa_switch_probe(struct dsa_switch *ds) argument
1544 dsa_register_switch(struct dsa_switch *ds) argument
1557 dsa_switch_remove(struct dsa_switch *ds) argument
1566 dsa_unregister_switch(struct dsa_switch *ds) argument
1579 dsa_switch_shutdown(struct dsa_switch *ds) argument
1616 dsa_switch_suspend(struct dsa_switch *ds) argument
1638 dsa_switch_resume(struct dsa_switch *ds) argument
1691 dsa_fdb_present_in_other_db(struct dsa_switch *ds, int port, const unsigned char *addr, u16 vid, struct dsa_db db) argument
1712 dsa_mdb_present_in_other_db(struct dsa_switch *ds, int port, const struct switchdev_obj_port_mdb *mdb, struct dsa_db db) argument
[all...]
H A Dport.c35 return dsa_tree_notify(dp->ds->dst, e, v);
57 struct dsa_switch *ds = dp->ds; local
59 if (!ds->ops->port_fast_age)
62 ds->ops->port_fast_age(ds, dp->index);
70 struct dsa_switch *ds = dp->ds; local
73 if (!ds->ops->port_vlan_fast_age)
76 err = ds
107 struct dsa_switch *ds = dp->ds; local
119 struct dsa_switch *ds = dp->ds; local
137 struct dsa_switch *ds = dp->ds; local
171 struct dsa_switch *ds = dp->ds; local
185 struct dsa_switch *ds = dp->ds; local
219 struct dsa_switch *ds = dp->ds; local
251 struct dsa_switch *ds = dp->ds; local
276 struct dsa_switch *ds = dp->ds; local
428 struct dsa_switch *ds = dp->ds; local
477 struct dsa_switch *ds = dp->ds; local
614 struct dsa_switch *ds = dp->ds; local
733 struct dsa_switch *ds = dp->ds; local
799 struct dsa_switch *ds = dp->ds; local
871 struct dsa_switch *ds = dp->ds; local
912 struct dsa_switch *ds = dp->ds; local
924 struct dsa_switch *ds = dp->ds; local
953 struct dsa_switch *ds = dp->ds; local
962 struct dsa_switch *ds = dp->ds; local
1160 struct dsa_switch *ds = dp->ds; local
1360 struct dsa_switch *ds = dp->ds; local
1371 struct dsa_switch *ds = dp->ds; local
1382 struct dsa_switch *ds = dp->ds; local
1393 struct dsa_switch *ds = dp->ds; local
1406 struct dsa_switch *ds = dp->ds; local
1437 struct dsa_switch *ds = dp->ds; local
1544 struct dsa_switch *ds = dp->ds; local
1557 struct dsa_switch *ds = dp->ds; local
1572 struct dsa_switch *ds = dp->ds; local
1585 struct dsa_switch *ds = dp->ds; local
1600 struct dsa_switch *ds = dp->ds; local
1616 struct dsa_switch *ds = dp->ds; local
1637 struct dsa_switch *ds = dp->ds; local
1684 struct dsa_switch *ds = dp->ds; local
1827 struct dsa_switch *ds = dp->ds; local
1861 struct dsa_switch *ds = dp->ds; local
1873 struct dsa_switch *ds = dp->ds; local
1912 struct dsa_switch *ds = dp->ds; local
1929 struct dsa_switch *ds = dp->ds; local
[all...]
H A Dtag_8021q.c74 struct dsa_switch *ds; member in struct:dsa_8021q_context
94 return DSA_8021Q_RSV | DSA_8021Q_SWITCH_ID(dp->ds->index) |
145 struct dsa_8021q_context *ctx = dp->ds->tag_8021q_ctx;
146 struct dsa_switch *ds = dp->ds; local
153 return ds->ops->tag_8021q_vlan_add(ds, port, vid, flags);
165 err = ds->ops->tag_8021q_vlan_add(ds, port, vid, flags);
181 struct dsa_8021q_context *ctx = dp->ds
182 struct dsa_switch *ds = dp->ds; local
217 dsa_switch_tag_8021q_vlan_add(struct dsa_switch *ds, struct dsa_notifier_tag_8021q_vlan_info *info) argument
249 dsa_switch_tag_8021q_vlan_del(struct dsa_switch *ds, struct dsa_notifier_tag_8021q_vlan_info *info) argument
288 dsa_tag_8021q_bridge_join(struct dsa_switch *ds, int port, struct dsa_bridge bridge) argument
311 dsa_tag_8021q_bridge_leave(struct dsa_switch *ds, int port, struct dsa_bridge bridge) argument
336 dsa_tag_8021q_port_setup(struct dsa_switch *ds, int port) argument
366 dsa_tag_8021q_port_teardown(struct dsa_switch *ds, int port) argument
386 dsa_tag_8021q_setup(struct dsa_switch *ds) argument
405 dsa_tag_8021q_teardown(struct dsa_switch *ds) argument
415 dsa_tag_8021q_register(struct dsa_switch *ds, __be16 proto) argument
443 dsa_tag_8021q_unregister(struct dsa_switch *ds) argument
[all...]
/linux-master/fs/xfs/scrub/
H A Ddabtree.h31 typedef int (*xchk_da_btree_rec_fn)(struct xchk_da_btree *ds, int level);
34 bool xchk_da_process_error(struct xchk_da_btree *ds, int level, int *error);
37 void xchk_da_set_corrupt(struct xchk_da_btree *ds, int level);
38 void xchk_da_set_preen(struct xchk_da_btree *ds, int level);
40 void xchk_da_set_preen(struct xchk_da_btree *ds, int level);
42 int xchk_da_btree_hash(struct xchk_da_btree *ds, int level, __be32 *hashp);
H A Ddabtree.c31 struct xchk_da_btree *ds,
35 struct xfs_scrub *sc = ds->sc;
53 trace_xchk_file_op_error(sc, ds->dargs.whichfork,
54 xfs_dir2_da_to_db(ds->dargs.geo,
55 ds->state->path.blk[level].blkno),
68 struct xchk_da_btree *ds,
71 struct xfs_scrub *sc = ds->sc;
75 trace_xchk_fblock_error(sc, ds->dargs.whichfork,
76 xfs_dir2_da_to_db(ds->dargs.geo,
77 ds
30 xchk_da_process_error( struct xchk_da_btree *ds, int level, int *error) argument
67 xchk_da_set_corrupt( struct xchk_da_btree *ds, int level) argument
83 xchk_da_set_preen( struct xchk_da_btree *ds, int level) argument
98 xchk_da_btree_node_entry( struct xchk_da_btree *ds, int level) argument
113 xchk_da_btree_hash( struct xchk_da_btree *ds, int level, __be32 *hashp) argument
145 xchk_da_btree_ptr_ok( struct xchk_da_btree *ds, int level, xfs_dablk_t blkno) argument
233 xchk_da_btree_block_check_sibling( struct xchk_da_btree *ds, int level, int direction, xfs_dablk_t sibling) argument
293 xchk_da_btree_block_check_siblings( struct xchk_da_btree *ds, int level, struct xfs_da_blkinfo *hdr) argument
328 xchk_da_btree_block( struct xchk_da_btree *ds, int level, xfs_dablk_t blkno) argument
500 struct xchk_da_btree *ds; local
[all...]
/linux-master/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) argument
63 ksz_ptp_clock_unregister(struct dsa_switch *ds) argument
65 ksz_ptp_irq_setup(struct dsa_switch *ds, u8 p) argument
70 ksz_ptp_irq_free(struct dsa_switch *ds, u8 p) argument
[all...]
H A Dksz_dcb.h11 int ksz_port_get_default_prio(struct dsa_switch *ds, int port);
12 int ksz_port_set_default_prio(struct dsa_switch *ds, int port, u8 prio);
13 int ksz_port_get_dscp_prio(struct dsa_switch *ds, int port, u8 dscp);
14 int ksz_port_add_dscp_prio(struct dsa_switch *ds, int port, u8 dscp, u8 prio);
15 int ksz_port_del_dscp_prio(struct dsa_switch *ds, int port, u8 dscp, u8 prio);
16 int ksz_port_set_apptrust(struct dsa_switch *ds, int port,
19 int ksz_port_get_apptrust(struct dsa_switch *ds, int port, u8 *sel, int *nsel);
/linux-master/arch/x86/boot/
H A Dregs.c23 reg->ds = ds();
24 reg->es = ds();
/linux-master/drivers/net/dsa/sja1105/
H A Dsja1105_tas.h53 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, argument
82 static inline void sja1105_tas_setup(struct dsa_switch *ds) { } argument
84 static inline void sja1105_tas_teardown(struct dsa_switch *ds) { } argument
86 static inline void sja1105_tas_clockstep(struct dsa_switch *ds) { } argument
88 static inline void sja1105_tas_adjfreq(struct dsa_switch *ds) { } argument
91 sja1105_gating_check_conflicts(struct dsa_switch *ds, int port, struct netlink_ext_ack *extack) argument
[all...]
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, u6
149 sja1105_ptp_clock_register(struct dsa_switch *ds) argument
154 sja1105_ptp_clock_unregister(struct dsa_switch *ds) argument
156 sja1105_ptp_txtstamp_skb(struct dsa_switch *ds, int slot, struct sk_buff *clone) argument
161 __sja1105_ptp_gettimex(struct dsa_switch *ds, u64 *ns, struct ptp_system_timestamp *sts) argument
167 __sja1105_ptp_settime(struct dsa_switch *ds, u64 ns, struct ptp_system_timestamp *ptp_sts) argument
173 __sja1105_ptp_adjtime(struct dsa_switch *ds, s64 delta) argument
178 sja1105_ptp_commit(struct dsa_switch *ds, struct sja1105_ptp_cmd *cmd, sja1105_spi_rw_mode_t rw) argument
[all...]
H A Dsja1105_devlink.c41 struct dsa_switch *ds = dsa_devlink_to_ds(dl); local
42 struct sja1105_private *priv = ds->priv;
77 static int sja1105_setup_devlink_regions(struct dsa_switch *ds) argument
80 struct sja1105_private *priv = ds->priv;
94 region = dsa_devlink_region_create(ds, ops, 1, size);
109 static void sja1105_teardown_devlink_regions(struct dsa_switch *ds) argument
112 struct sja1105_private *priv = ds->priv;
120 int sja1105_devlink_info_get(struct dsa_switch *ds, argument
124 struct sja1105_private *priv = ds->priv;
131 int sja1105_devlink_setup(struct dsa_switch *ds) argument
136 sja1105_devlink_teardown(struct dsa_switch *ds) argument
[all...]
/linux-master/drivers/acpi/
H A Ddock.c66 * @ds: Dock station.
71 static int add_dock_dependent_device(struct dock_station *ds, argument
82 list_add_tail(&dd->list, &ds->dependent_devices);
118 struct dock_station *ds; local
120 list_for_each_entry(ds, &dock_stations, sibling)
121 if (ds->handle == handle)
122 return ds;
129 * @ds: the dock station
136 find_dock_dependent_device(struct dock_station *ds, struct acpi_device *adev) argument
140 list_for_each_entry(dd, &ds
150 struct dock_station *ds = find_dock_station(dshandle); local
193 dock_present(struct dock_station *ds) argument
210 hot_remove_dock_devices(struct dock_station *ds) argument
237 hotplug_dock_devices(struct dock_station *ds, u32 event) argument
267 dock_event(struct dock_station *ds, u32 event, int num) argument
300 handle_dock(struct dock_station *ds, int dock) argument
320 dock(struct dock_station *ds) argument
325 undock(struct dock_station *ds) argument
330 begin_dock(struct dock_station *ds) argument
335 complete_dock(struct dock_station *ds) argument
341 begin_undock(struct dock_station *ds) argument
346 complete_undock(struct dock_station *ds) argument
359 dock_in_progress(struct dock_station *ds) argument
375 handle_eject_request(struct dock_station *ds, u32 event) argument
413 struct dock_station *ds = find_dock_station(handle); local
577 struct dock_station *dock_station, ds = { NULL, }; local
[all...]
/linux-master/include/net/
H A Ddsa.h95 int (*connect)(struct dsa_switch *ds);
96 void (*disconnect)(struct dsa_switch *ds);
175 if ((_dp)->ds == (_ds) && (_dp)->hsr_dev == (_hsr))
253 struct dsa_switch *ds; member in struct:dsa_port
504 static inline struct dsa_port *dsa_to_port(struct dsa_switch *ds, int p) argument
506 struct dsa_switch_tree *dst = ds->dst;
510 if (dp->ds == ds && dp->index == p)
542 static inline bool dsa_is_unused_port(struct dsa_switch *ds, int p) argument
544 return dsa_to_port(ds,
547 dsa_is_cpu_port(struct dsa_switch *ds, int p) argument
552 dsa_is_dsa_port(struct dsa_switch *ds, int p) argument
557 dsa_is_user_port(struct dsa_switch *ds, int p) argument
606 dsa_user_ports(struct dsa_switch *ds) argument
617 dsa_cpu_ports(struct dsa_switch *ds) argument
629 dsa_routing_port(struct dsa_switch *ds, int device) argument
642 dsa_towards_port(struct dsa_switch *ds, int device, int port) argument
652 dsa_upstream_port(struct dsa_switch *ds, int port) argument
664 dsa_is_upstream_port(struct dsa_switch *ds, int port) argument
673 dsa_is_downstream_port(struct dsa_switch *ds, int port) argument
679 dsa_switch_upstream_port(struct dsa_switch *ds) argument
709 const struct dsa_switch *ds = dp->ds; local
1300 struct dsa_switch *ds; member in struct:dsa_devlink_priv
1380 dsa_switch_suspend(struct dsa_switch *ds) argument
1384 dsa_switch_resume(struct dsa_switch *ds) argument
[all...]
/linux-master/fs/befs/
H A Dbtree.h7 int befs_btree_find(struct super_block *sb, const befs_data_stream *ds,
10 int befs_btree_read(struct super_block *sb, const befs_data_stream *ds,
/linux-master/include/linux/dsa/
H A D8021q.h11 int dsa_tag_8021q_register(struct dsa_switch *ds, __be16 proto);
13 void dsa_tag_8021q_unregister(struct dsa_switch *ds);
15 int dsa_tag_8021q_bridge_join(struct dsa_switch *ds, int port,
18 void dsa_tag_8021q_bridge_leave(struct dsa_switch *ds, int port,
/linux-master/drivers/net/dsa/ocelot/
H A Docelot_ext.c69 struct dsa_switch *ds; local
87 ds = kzalloc(sizeof(*ds), GFP_KERNEL);
88 if (!ds) {
94 ds->dev = dev;
95 ds->num_ports = felix->info->num_ports;
96 ds->num_tx_queues = felix->info->num_tx_queues;
98 ds->ops = &felix_switch_ops;
99 ds->priv = ocelot;
100 felix->ds
[all...]
/linux-master/tools/testing/selftests/rcutorture/bin/
H A Dsrcu_lockdep.sh16 ds=`date +%Y.%m.%d-%H.%M.%S`-srcu_lockdep
31 ds=$2
52 tools/testing/selftests/rcutorture/bin/kvm.sh --allcpus --duration 5s --configs "SRCU-P" --bootargs "rcutorture.test_srcu_lockdep=$val" --trust-make --datestamp "$ds/$val" > "$T/kvm.sh.out" 2>&1
54 mv "$T/kvm.sh.out" "$RCUTORTURE/res/$ds/$val"
58 echo -n Unexpected success for > "$RCUTORTURE/res/$ds/$val/kvm.sh.err"
63 echo -n Unexpected failure for > "$RCUTORTURE/res/$ds/$val/kvm.sh.err"
67 grep "rcu_torture_init_srcu_lockdep: test_srcu_lockdep = " "$RCUTORTURE/res/$ds/$val/SRCU-P/console.log" | sed -e 's/^.*rcu_torture_init_srcu_lockdep://' >> "$RCUTORTURE/res/$ds/$val/kvm.sh.err"
68 cat "$RCUTORTURE/res/$ds/$val/kvm.sh.err"
H A Dkvm-check-branches.sh44 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 2>&1
79 echo Run results: $resdir/$ds/
[all...]
/linux-master/drivers/net/dsa/
H A Ddsa_loop.c50 static int dsa_loop_setup_devlink_resources(struct dsa_switch *ds) argument
53 struct dsa_loop_priv *ps = ds->priv;
60 err = dsa_devlink_resource_register(ds, "VTU", ARRAY_SIZE(ps->vlans),
67 dsa_devlink_resource_occ_get_register(ds,
74 dsa_devlink_resources_unregister(ds);
78 static enum dsa_tag_protocol dsa_loop_get_protocol(struct dsa_switch *ds, argument
82 dev_dbg(ds->dev, "%s: port: %d\n", __func__, port);
87 static int dsa_loop_setup(struct dsa_switch *ds) argument
89 struct dsa_loop_priv *ps = ds->priv;
92 for (i = 0; i < ds
101 dsa_loop_teardown(struct dsa_switch *ds) argument
106 dsa_loop_get_sset_count(struct dsa_switch *ds, int port, int sset) argument
114 dsa_loop_get_strings(struct dsa_switch *ds, int port, u32 stringset, uint8_t *data) argument
128 dsa_loop_get_ethtool_stats(struct dsa_switch *ds, int port, uint64_t *data) argument
138 dsa_loop_phy_read(struct dsa_switch *ds, int port, int regnum) argument
153 dsa_loop_phy_write(struct dsa_switch *ds, int port, int regnum, u16 value) argument
169 dsa_loop_port_bridge_join(struct dsa_switch *ds, int port, struct dsa_bridge bridge, bool *tx_fwd_offload, struct netlink_ext_ack *extack) argument
180 dsa_loop_port_bridge_leave(struct dsa_switch *ds, int port, struct dsa_bridge bridge) argument
187 dsa_loop_port_stp_state_set(struct dsa_switch *ds, int port, u8 state) argument
194 dsa_loop_port_vlan_filtering(struct dsa_switch *ds, int port, bool vlan_filtering, struct netlink_ext_ack *extack) argument
204 dsa_loop_port_vlan_add(struct dsa_switch *ds, int port, const struct switchdev_obj_port_vlan *vlan, struct netlink_ext_ack *extack) argument
237 dsa_loop_port_vlan_del(struct dsa_switch *ds, int port, const struct switchdev_obj_port_vlan *vlan) argument
265 dsa_loop_port_change_mtu(struct dsa_switch *ds, int port, int new_mtu) argument
275 dsa_loop_port_max_mtu(struct dsa_switch *ds, int port) argument
313 struct dsa_switch *ds; local
353 struct dsa_switch *ds = dev_get_drvdata(&mdiodev->dev); local
367 struct dsa_switch *ds = dev_get_drvdata(&mdiodev->dev); local
[all...]
/linux-master/drivers/net/dsa/hirschmann/
H A Dhellcreek_hwtstamp.h40 int hellcreek_port_hwtstamp_set(struct dsa_switch *ds, int port,
42 int hellcreek_port_hwtstamp_get(struct dsa_switch *ds, int port,
45 bool hellcreek_port_rxtstamp(struct dsa_switch *ds, int port,
47 void hellcreek_port_txtstamp(struct dsa_switch *ds, int port,
50 int hellcreek_get_ts_info(struct dsa_switch *ds, int port,
/linux-master/drivers/md/
H A Ddm-bio-prison-v1.c322 struct dm_deferred_set *ds; member in struct:dm_deferred_entry
337 struct dm_deferred_set *ds; local
339 ds = kmalloc(sizeof(*ds), GFP_KERNEL);
340 if (!ds)
343 spin_lock_init(&ds->lock);
344 ds->current_entry = 0;
345 ds->sweeper = 0;
347 ds->entries[i].ds
356 dm_deferred_set_destroy(struct dm_deferred_set *ds) argument
362 dm_deferred_entry_inc(struct dm_deferred_set *ds) argument
381 __sweep(struct dm_deferred_set *ds, struct list_head *head) argument
408 dm_deferred_set_add_work(struct dm_deferred_set *ds, struct list_head *work) argument
[all...]

Completed in 400 milliseconds

1234567891011>>