Lines Matching refs:dsa_switch_tree

26 	struct dsa_switch_tree *dst;
45 static struct dsa_switch_tree *dsa_tree_find(int index)
47 struct dsa_switch_tree *dst;
56 static struct dsa_switch_tree *dsa_tree_alloc(int index)
58 struct dsa_switch_tree *dst;
78 static void dsa_tree_free(struct dsa_switch_tree *dst)
84 static struct dsa_switch_tree *dsa_tree_get(struct dsa_switch_tree *dst)
92 static struct dsa_switch_tree *dsa_tree_touch(int index)
94 struct dsa_switch_tree *dst;
105 struct dsa_switch_tree *dst;
107 dst = container_of(ref, struct dsa_switch_tree, refcount);
112 static void dsa_tree_put(struct dsa_switch_tree *dst)
133 static struct dsa_port *dsa_tree_find_port_by_node(struct dsa_switch_tree *dst,
149 struct dsa_switch_tree *dst;
174 struct dsa_switch_tree *dst = ds->dst;
198 static bool dsa_tree_setup_routing_table(struct dsa_switch_tree *dst)
214 static struct dsa_port *dsa_tree_find_first_cpu(struct dsa_switch_tree *dst)
225 static int dsa_tree_setup_default_cpu(struct dsa_switch_tree *dst)
243 static void dsa_tree_teardown_default_cpu(struct dsa_switch_tree *dst)
315 struct dsa_switch_tree *dst = dp->ds->dst;
529 static int dsa_tree_setup_switches(struct dsa_switch_tree *dst)
564 static void dsa_tree_teardown_switches(struct dsa_switch_tree *dst)
575 static int dsa_tree_setup_master(struct dsa_switch_tree *dst)
591 static void dsa_tree_teardown_master(struct dsa_switch_tree *dst)
600 static int dsa_tree_setup(struct dsa_switch_tree *dst)
641 static void dsa_tree_teardown(struct dsa_switch_tree *dst)
666 struct dsa_switch_tree *dst = ds->dst;
733 struct dsa_switch_tree *dst = ds->dst;
946 struct dsa_switch_tree *dst = ds->dst;
959 struct dsa_switch_tree *dst;
1014 struct dsa_switch_tree *dst = ds->dst;