Lines Matching defs:ds
313 struct dsa_switch *ds = dp->ds; in dsa_link_touch() local
338 struct dsa_switch *ds = dp->ds; in dsa_port_setup_routing_table() local
470 struct dsa_switch *ds = dp->ds; in dsa_port_devlink_setup() local
520 struct dsa_switch *ds = dp->ds; in dsa_port_devlink_teardown() local
534 struct dsa_switch *ds = dp->ds; in dsa_port_setup() local
654 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_info_get() local
666 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_sb_pool_get() local
680 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_sb_pool_set() local
693 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); in dsa_devlink_sb_port_pool_get() local
708 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); in dsa_devlink_sb_port_pool_set() local
724 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); in dsa_devlink_sb_tc_pool_bind_get() local
742 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); in dsa_devlink_sb_tc_pool_bind_set() local
757 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_sb_occ_snapshot() local
768 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_sb_occ_max_clear() local
781 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); in dsa_devlink_sb_occ_port_pool_get() local
797 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); in dsa_devlink_sb_occ_tc_port_bind_get() local
823 static int dsa_switch_setup_tag_protocol(struct dsa_switch *ds) in dsa_switch_setup_tag_protocol()
867 static void dsa_switch_teardown_tag_protocol(struct dsa_switch *ds) in dsa_switch_teardown_tag_protocol()
875 static int dsa_switch_setup(struct dsa_switch *ds) in dsa_switch_setup()
950 static void dsa_switch_teardown(struct dsa_switch *ds) in dsa_switch_teardown()
1348 static struct dsa_port *dsa_port_touch(struct dsa_switch *ds, int index) in dsa_port_touch()
1397 struct dsa_switch *mds, *ds = dp->ds; in dsa_get_tag_protocol() local
1423 struct dsa_switch *ds = dp->ds; in dsa_port_parse_cpu() local
1531 static int dsa_switch_parse_ports_of(struct dsa_switch *ds, in dsa_switch_parse_ports_of()
1578 static int dsa_switch_parse_member_of(struct dsa_switch *ds, in dsa_switch_parse_member_of()
1608 static int dsa_switch_touch_ports(struct dsa_switch *ds) in dsa_switch_touch_ports()
1622 static int dsa_switch_parse_of(struct dsa_switch *ds, struct device_node *dn) in dsa_switch_parse_of()
1658 static int dsa_switch_parse_ports(struct dsa_switch *ds, in dsa_switch_parse_ports()
1689 static int dsa_switch_parse(struct dsa_switch *ds, struct dsa_chip_data *cd) in dsa_switch_parse()
1710 static void dsa_switch_release_ports(struct dsa_switch *ds) in dsa_switch_release_ports()
1723 static int dsa_switch_probe(struct dsa_switch *ds) in dsa_switch_probe()
1765 int dsa_register_switch(struct dsa_switch *ds) in dsa_register_switch()
1778 static void dsa_switch_remove(struct dsa_switch *ds) in dsa_switch_remove()
1787 void dsa_unregister_switch(struct dsa_switch *ds) in dsa_unregister_switch()
1800 void dsa_switch_shutdown(struct dsa_switch *ds) in dsa_switch_shutdown()