Lines Matching defs:dst
64 void dsa_lag_map(struct dsa_switch_tree *dst, struct dsa_lag *lag) in dsa_lag_map()
92 void dsa_lag_unmap(struct dsa_switch_tree *dst, struct dsa_lag *lag) in dsa_lag_unmap()
105 struct dsa_lag *dsa_tree_lag_find(struct dsa_switch_tree *dst, in dsa_tree_lag_find()
117 struct dsa_bridge *dsa_tree_bridge_find(struct dsa_switch_tree *dst, in dsa_tree_bridge_find()
131 struct dsa_switch_tree *dst; in dsa_bridge_num_find() local
182 struct dsa_switch_tree *dst; in dsa_switch_find() local
203 struct dsa_switch_tree *dst; in dsa_tree_find() local
214 struct dsa_switch_tree *dst; in dsa_tree_alloc() local
234 static void dsa_tree_free(struct dsa_switch_tree *dst) in dsa_tree_free()
242 static struct dsa_switch_tree *dsa_tree_get(struct dsa_switch_tree *dst) in dsa_tree_get()
252 struct dsa_switch_tree *dst; in dsa_tree_touch() local
263 struct dsa_switch_tree *dst; in dsa_tree_release() local
270 static void dsa_tree_put(struct dsa_switch_tree *dst) in dsa_tree_put()
276 static struct dsa_port *dsa_tree_find_port_by_node(struct dsa_switch_tree *dst, in dsa_tree_find_port_by_node()
292 struct dsa_switch_tree *dst; in dsa_link_touch() local
317 struct dsa_switch_tree *dst = ds->dst; in dsa_port_setup_routing_table() local
341 static bool dsa_tree_setup_routing_table(struct dsa_switch_tree *dst) in dsa_tree_setup_routing_table()
357 static struct dsa_port *dsa_tree_find_first_cpu(struct dsa_switch_tree *dst) in dsa_tree_find_first_cpu()
368 struct net_device *dsa_tree_find_first_master(struct dsa_switch_tree *dst) in dsa_tree_find_first_master()
385 static int dsa_tree_setup_default_cpu(struct dsa_switch_tree *dst) in dsa_tree_setup_default_cpu()
429 static int dsa_tree_setup_cpu_ports(struct dsa_switch_tree *dst) in dsa_tree_setup_cpu_ports()
455 static void dsa_tree_teardown_cpu_ports(struct dsa_switch_tree *dst) in dsa_tree_teardown_cpu_ports()
578 struct dsa_switch_tree *dst = ds->dst; in dsa_switch_setup_tag_protocol() local
724 static void dsa_tree_teardown_ports(struct dsa_switch_tree *dst) in dsa_tree_teardown_ports()
739 static void dsa_tree_teardown_switches(struct dsa_switch_tree *dst) in dsa_tree_teardown_switches()
748 static int dsa_tree_setup_ports(struct dsa_switch_tree *dst) in dsa_tree_setup_ports()
780 static int dsa_tree_setup_switches(struct dsa_switch_tree *dst) in dsa_tree_setup_switches()
796 static int dsa_tree_setup_master(struct dsa_switch_tree *dst) in dsa_tree_setup_master()
823 static void dsa_tree_teardown_master(struct dsa_switch_tree *dst) in dsa_tree_teardown_master()
844 static int dsa_tree_setup_lags(struct dsa_switch_tree *dst) in dsa_tree_setup_lags()
865 static void dsa_tree_teardown_lags(struct dsa_switch_tree *dst) in dsa_tree_teardown_lags()
870 static int dsa_tree_setup(struct dsa_switch_tree *dst) in dsa_tree_setup()
923 static void dsa_tree_teardown(struct dsa_switch_tree *dst) in dsa_tree_teardown()
950 static int dsa_tree_bind_tag_proto(struct dsa_switch_tree *dst, in dsa_tree_bind_tag_proto()
985 int dsa_tree_change_tag_proto(struct dsa_switch_tree *dst, in dsa_tree_change_tag_proto()
1031 static void dsa_tree_master_state_change(struct dsa_switch_tree *dst, in dsa_tree_master_state_change()
1043 void dsa_tree_master_admin_state_change(struct dsa_switch_tree *dst, in dsa_tree_master_admin_state_change()
1066 void dsa_tree_master_oper_state_change(struct dsa_switch_tree *dst, in dsa_tree_master_oper_state_change()
1091 struct dsa_switch_tree *dst = ds->dst; in dsa_port_touch() local
1162 struct dsa_switch_tree *dst = ds->dst; in dsa_port_parse_cpu() local
1499 struct dsa_switch_tree *dst; in dsa_switch_probe() local
1554 struct dsa_switch_tree *dst = ds->dst; in dsa_switch_remove() local