Lines Matching defs:ds
290 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
406 dsa_switch_preferred_default_local_cpu_port(struct dsa_switch *ds) in dsa_switch_preferred_default_local_cpu_port()
466 struct dsa_switch *ds = dp->ds; in dsa_port_setup() local
574 static int dsa_switch_setup_tag_protocol(struct dsa_switch *ds) in dsa_switch_setup_tag_protocol()
618 static void dsa_switch_teardown_tag_protocol(struct dsa_switch *ds) in dsa_switch_teardown_tag_protocol()
626 static int dsa_switch_setup(struct dsa_switch *ds) in dsa_switch_setup()
690 static void dsa_switch_teardown(struct dsa_switch *ds) in dsa_switch_teardown()
1084 static struct dsa_port *dsa_port_touch(struct dsa_switch *ds, int index) in dsa_port_touch()
1130 struct dsa_switch *mds, *ds = dp->ds; in dsa_get_tag_protocol() local
1156 struct dsa_switch *ds = dp->ds; in dsa_port_parse_cpu() local
1264 static int dsa_switch_parse_ports_of(struct dsa_switch *ds, in dsa_switch_parse_ports_of()
1311 static int dsa_switch_parse_member_of(struct dsa_switch *ds, in dsa_switch_parse_member_of()
1341 static int dsa_switch_touch_ports(struct dsa_switch *ds) in dsa_switch_touch_ports()
1355 static int dsa_switch_parse_of(struct dsa_switch *ds, struct device_node *dn) in dsa_switch_parse_of()
1427 static int dsa_switch_parse_ports(struct dsa_switch *ds, in dsa_switch_parse_ports()
1458 static int dsa_switch_parse(struct dsa_switch *ds, struct dsa_chip_data *cd) in dsa_switch_parse()
1479 static void dsa_switch_release_ports(struct dsa_switch *ds) in dsa_switch_release_ports()
1492 static int dsa_switch_probe(struct dsa_switch *ds) in dsa_switch_probe()
1542 int dsa_register_switch(struct dsa_switch *ds) in dsa_register_switch()
1555 static void dsa_switch_remove(struct dsa_switch *ds) in dsa_switch_remove()
1564 void dsa_unregister_switch(struct dsa_switch *ds) in dsa_unregister_switch()
1577 void dsa_switch_shutdown(struct dsa_switch *ds) in dsa_switch_shutdown()
1621 int dsa_switch_suspend(struct dsa_switch *ds) in dsa_switch_suspend()
1643 int dsa_switch_resume(struct dsa_switch *ds) in dsa_switch_resume()
1696 bool dsa_fdb_present_in_other_db(struct dsa_switch *ds, int port, in dsa_fdb_present_in_other_db()
1717 bool dsa_mdb_present_in_other_db(struct dsa_switch *ds, int port, in dsa_mdb_present_in_other_db()