Lines Matching defs:dst

39 int dsa_tree_notify(struct dsa_switch_tree *dst, unsigned long e, void *v)  in dsa_tree_notify()
63 struct dsa_switch_tree *dst; in dsa_broadcast() local
86 void dsa_lag_map(struct dsa_switch_tree *dst, struct dsa_lag *lag) in dsa_lag_map()
114 void dsa_lag_unmap(struct dsa_switch_tree *dst, struct dsa_lag *lag) in dsa_lag_unmap()
127 struct dsa_lag *dsa_tree_lag_find(struct dsa_switch_tree *dst, in dsa_tree_lag_find()
139 struct dsa_bridge *dsa_tree_bridge_find(struct dsa_switch_tree *dst, in dsa_tree_bridge_find()
153 struct dsa_switch_tree *dst; in dsa_bridge_num_find() local
204 struct dsa_switch_tree *dst; in dsa_switch_find() local
225 struct dsa_switch_tree *dst; in dsa_tree_find() local
236 struct dsa_switch_tree *dst; in dsa_tree_alloc() local
256 static void dsa_tree_free(struct dsa_switch_tree *dst) in dsa_tree_free()
264 static struct dsa_switch_tree *dsa_tree_get(struct dsa_switch_tree *dst) in dsa_tree_get()
274 struct dsa_switch_tree *dst; in dsa_tree_touch() local
285 struct dsa_switch_tree *dst; in dsa_tree_release() local
292 static void dsa_tree_put(struct dsa_switch_tree *dst) in dsa_tree_put()
298 static struct dsa_port *dsa_tree_find_port_by_node(struct dsa_switch_tree *dst, in dsa_tree_find_port_by_node()
314 struct dsa_switch_tree *dst; in dsa_link_touch() local
339 struct dsa_switch_tree *dst = ds->dst; in dsa_port_setup_routing_table() local
363 static bool dsa_tree_setup_routing_table(struct dsa_switch_tree *dst) in dsa_tree_setup_routing_table()
379 static struct dsa_port *dsa_tree_find_first_cpu(struct dsa_switch_tree *dst) in dsa_tree_find_first_cpu()
390 struct net_device *dsa_tree_find_first_master(struct dsa_switch_tree *dst) in dsa_tree_find_first_master()
407 static int dsa_tree_setup_default_cpu(struct dsa_switch_tree *dst) in dsa_tree_setup_default_cpu()
433 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()
467 struct dsa_switch_tree *dst = dp->ds->dst; in dsa_port_devlink_setup() local
826 struct dsa_switch_tree *dst = ds->dst; in dsa_switch_setup_tag_protocol() local
983 static void dsa_tree_teardown_ports(struct dsa_switch_tree *dst) in dsa_tree_teardown_ports()
998 static void dsa_tree_teardown_switches(struct dsa_switch_tree *dst) in dsa_tree_teardown_switches()
1007 static int dsa_tree_setup_ports(struct dsa_switch_tree *dst) in dsa_tree_setup_ports()
1039 static int dsa_tree_setup_switches(struct dsa_switch_tree *dst) in dsa_tree_setup_switches()
1055 static int dsa_tree_setup_master(struct dsa_switch_tree *dst) in dsa_tree_setup_master()
1082 static void dsa_tree_teardown_master(struct dsa_switch_tree *dst) in dsa_tree_teardown_master()
1103 static int dsa_tree_setup_lags(struct dsa_switch_tree *dst) in dsa_tree_setup_lags()
1124 static void dsa_tree_teardown_lags(struct dsa_switch_tree *dst) in dsa_tree_teardown_lags()
1129 static int dsa_tree_setup(struct dsa_switch_tree *dst) in dsa_tree_setup()
1182 static void dsa_tree_teardown(struct dsa_switch_tree *dst) in dsa_tree_teardown()
1209 static int dsa_tree_bind_tag_proto(struct dsa_switch_tree *dst, in dsa_tree_bind_tag_proto()
1244 int dsa_tree_change_tag_proto(struct dsa_switch_tree *dst, in dsa_tree_change_tag_proto()
1290 static void dsa_tree_master_state_change(struct dsa_switch_tree *dst, in dsa_tree_master_state_change()
1302 void dsa_tree_master_admin_state_change(struct dsa_switch_tree *dst, in dsa_tree_master_admin_state_change()
1325 void dsa_tree_master_oper_state_change(struct dsa_switch_tree *dst, in dsa_tree_master_oper_state_change()
1350 struct dsa_switch_tree *dst = ds->dst; in dsa_port_touch() local
1424 struct dsa_switch_tree *dst = ds->dst; in dsa_port_parse_cpu() local
1725 struct dsa_switch_tree *dst; in dsa_switch_probe() local
1780 struct dsa_switch_tree *dst = ds->dst; in dsa_switch_remove() local