Lines Matching refs:dsa_switch

202 struct dsa_switch *dsa_switch_find(int tree_index, int sw_index)  in dsa_switch_find()
313 struct dsa_switch *ds = dp->ds; in dsa_link_touch()
338 struct dsa_switch *ds = dp->ds; in dsa_port_setup_routing_table()
470 struct dsa_switch *ds = dp->ds; in dsa_port_devlink_setup()
520 struct dsa_switch *ds = dp->ds; in dsa_port_devlink_teardown()
534 struct dsa_switch *ds = dp->ds; in dsa_port_setup()
654 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_info_get()
666 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_sb_pool_get()
680 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_sb_pool_set()
693 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); in dsa_devlink_sb_port_pool_get()
708 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); in dsa_devlink_sb_port_pool_set()
724 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); in dsa_devlink_sb_tc_pool_bind_get()
742 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); in dsa_devlink_sb_tc_pool_bind_set()
757 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_sb_occ_snapshot()
768 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_sb_occ_max_clear()
781 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); in dsa_devlink_sb_occ_port_pool_get()
797 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); in dsa_devlink_sb_occ_tc_port_bind_get()
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()
1423 struct dsa_switch *ds = dp->ds; in dsa_port_parse_cpu()
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()