Lines Matching refs:dsa_switch_tree

64 void dsa_lag_map(struct dsa_switch_tree *dst, struct dsa_lag *lag)
92 void dsa_lag_unmap(struct dsa_switch_tree *dst, struct dsa_lag *lag)
105 struct dsa_lag *dsa_tree_lag_find(struct dsa_switch_tree *dst,
117 struct dsa_bridge *dsa_tree_bridge_find(struct dsa_switch_tree *dst,
131 struct dsa_switch_tree *dst;
182 struct dsa_switch_tree *dst;
201 static struct dsa_switch_tree *dsa_tree_find(int index)
203 struct dsa_switch_tree *dst;
212 static struct dsa_switch_tree *dsa_tree_alloc(int index)
214 struct dsa_switch_tree *dst;
234 static void dsa_tree_free(struct dsa_switch_tree *dst)
242 static struct dsa_switch_tree *dsa_tree_get(struct dsa_switch_tree *dst)
250 static struct dsa_switch_tree *dsa_tree_touch(int index)
252 struct dsa_switch_tree *dst;
263 struct dsa_switch_tree *dst;
265 dst = container_of(ref, struct dsa_switch_tree, refcount);
270 static void dsa_tree_put(struct dsa_switch_tree *dst)
276 static struct dsa_port *dsa_tree_find_port_by_node(struct dsa_switch_tree *dst,
292 struct dsa_switch_tree *dst;
317 struct dsa_switch_tree *dst = ds->dst;
341 static bool dsa_tree_setup_routing_table(struct dsa_switch_tree *dst)
357 static struct dsa_port *dsa_tree_find_first_cpu(struct dsa_switch_tree *dst)
368 struct net_device *dsa_tree_find_first_master(struct dsa_switch_tree *dst)
385 static int dsa_tree_setup_default_cpu(struct dsa_switch_tree *dst)
429 static int dsa_tree_setup_cpu_ports(struct dsa_switch_tree *dst)
455 static void dsa_tree_teardown_cpu_ports(struct dsa_switch_tree *dst)
578 struct dsa_switch_tree *dst = ds->dst;
724 static void dsa_tree_teardown_ports(struct dsa_switch_tree *dst)
739 static void dsa_tree_teardown_switches(struct dsa_switch_tree *dst)
748 static int dsa_tree_setup_ports(struct dsa_switch_tree *dst)
780 static int dsa_tree_setup_switches(struct dsa_switch_tree *dst)
796 static int dsa_tree_setup_master(struct dsa_switch_tree *dst)
823 static void dsa_tree_teardown_master(struct dsa_switch_tree *dst)
844 static int dsa_tree_setup_lags(struct dsa_switch_tree *dst)
865 static void dsa_tree_teardown_lags(struct dsa_switch_tree *dst)
870 static int dsa_tree_setup(struct dsa_switch_tree *dst)
923 static void dsa_tree_teardown(struct dsa_switch_tree *dst)
950 static int dsa_tree_bind_tag_proto(struct dsa_switch_tree *dst,
985 int dsa_tree_change_tag_proto(struct dsa_switch_tree *dst,
1031 static void dsa_tree_master_state_change(struct dsa_switch_tree *dst,
1043 void dsa_tree_master_admin_state_change(struct dsa_switch_tree *dst,
1066 void dsa_tree_master_oper_state_change(struct dsa_switch_tree *dst,
1091 struct dsa_switch_tree *dst = ds->dst;
1162 struct dsa_switch_tree *dst = ds->dst;
1499 struct dsa_switch_tree *dst;
1554 struct dsa_switch_tree *dst = ds->dst;