Lines Matching refs:dsa_switch

177 struct dsa_switch *dsa_switch_find(int tree_index, int sw_index)  in dsa_switch_find()
288 struct dsa_switch *ds = dp->ds; in dsa_link_touch()
313 struct dsa_switch *ds = dp->ds; in dsa_port_setup_routing_table()
429 struct dsa_switch *ds = dp->ds; in dsa_port_setup()
544 struct dsa_switch *ds = dp->ds; in dsa_port_teardown()
605 struct dsa_switch *ds = dp->ds; in dsa_port_reinit_as_unused()
630 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_info_get()
642 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_sb_pool_get()
656 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_sb_pool_set()
669 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); in dsa_devlink_sb_port_pool_get()
684 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); in dsa_devlink_sb_port_pool_set()
700 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); in dsa_devlink_sb_tc_pool_bind_get()
718 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); in dsa_devlink_sb_tc_pool_bind_set()
733 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_sb_occ_snapshot()
744 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in dsa_devlink_sb_occ_max_clear()
757 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); in dsa_devlink_sb_occ_port_pool_get()
773 struct dsa_switch *ds = dsa_devlink_port_to_ds(dlp); in dsa_devlink_sb_occ_tc_port_bind_get()
799 static int dsa_switch_setup_tag_protocol(struct dsa_switch *ds) in dsa_switch_setup_tag_protocol()
824 static int dsa_switch_setup(struct dsa_switch *ds) in dsa_switch_setup()
907 static void dsa_switch_teardown(struct dsa_switch *ds) in dsa_switch_teardown()
1172 static struct dsa_port *dsa_port_touch(struct dsa_switch *ds, int index) in dsa_port_touch()
1217 struct dsa_switch *mds, *ds = dp->ds; in dsa_get_tag_protocol()
1242 struct dsa_switch *ds = dp->ds; in dsa_port_parse_cpu()
1343 static int dsa_switch_parse_ports_of(struct dsa_switch *ds, in dsa_switch_parse_ports_of()
1390 static int dsa_switch_parse_member_of(struct dsa_switch *ds, in dsa_switch_parse_member_of()
1420 static int dsa_switch_touch_ports(struct dsa_switch *ds) in dsa_switch_touch_ports()
1434 static int dsa_switch_parse_of(struct dsa_switch *ds, struct device_node *dn) in dsa_switch_parse_of()
1470 static int dsa_switch_parse_ports(struct dsa_switch *ds, in dsa_switch_parse_ports()
1501 static int dsa_switch_parse(struct dsa_switch *ds, struct dsa_chip_data *cd) in dsa_switch_parse()
1522 static void dsa_switch_release_ports(struct dsa_switch *ds) in dsa_switch_release_ports()
1532 static int dsa_switch_probe(struct dsa_switch *ds) in dsa_switch_probe()
1574 int dsa_register_switch(struct dsa_switch *ds) in dsa_register_switch()
1587 static void dsa_switch_remove(struct dsa_switch *ds) in dsa_switch_remove()
1596 void dsa_unregister_switch(struct dsa_switch *ds) in dsa_unregister_switch()
1609 void dsa_switch_shutdown(struct dsa_switch *ds) in dsa_switch_shutdown()