Lines Matching defs:dp
117 struct dsa_port *dp; in dsa_lag_unmap() local
135 struct dsa_port *dp; in dsa_bridge_num_find() local
180 struct dsa_port *dp; in dsa_switch_find() local
276 struct dsa_port *dp; in dsa_tree_find_port_by_node() local
285 static struct dsa_link *dsa_link_touch(struct dsa_port *dp, in dsa_link_touch()
311 static bool dsa_port_setup_routing_table(struct dsa_port *dp) in dsa_port_setup_routing_table()
341 struct dsa_port *dp; in dsa_tree_setup_routing_table() local
356 struct dsa_port *dp; in dsa_tree_find_first_cpu() local
370 struct dsa_port *cpu_dp, *dp; in dsa_tree_setup_default_cpu() local
396 struct dsa_port *cpu_dp, *dp; in dsa_tree_setup_cpu_ports() local
421 struct dsa_port *dp; in dsa_tree_teardown_cpu_ports() local
428 static int dsa_port_setup(struct dsa_port *dp) in dsa_port_setup()
501 static int dsa_port_devlink_setup(struct dsa_port *dp) in dsa_port_devlink_setup()
543 static void dsa_port_teardown(struct dsa_port *dp) in dsa_port_teardown()
589 static void dsa_port_devlink_teardown(struct dsa_port *dp) in dsa_port_devlink_teardown()
605 static int dsa_port_reinit_as_unused(struct dsa_port *dp) in dsa_port_reinit_as_unused()
830 struct dsa_port *dp; in dsa_switch_setup() local
924 struct dsa_port *dp; in dsa_switch_teardown() local
958 struct dsa_port *dp; in dsa_tree_teardown_ports() local
973 struct dsa_port *dp; in dsa_tree_teardown_switches() local
981 struct dsa_port *dp; in dsa_tree_setup_switches() local
1011 struct dsa_port *dp; in dsa_tree_setup_master() local
1027 struct dsa_port *dp; in dsa_tree_teardown_master() local
1037 struct dsa_port *dp; in dsa_tree_setup_lags() local
1145 struct dsa_port *dp; in dsa_tree_change_tag_proto() local
1189 struct dsa_port *dp; in dsa_port_touch() local
1209 static int dsa_port_parse_user(struct dsa_port *dp, const char *name) in dsa_port_parse_user()
1220 static int dsa_port_parse_dsa(struct dsa_port *dp) in dsa_port_parse_dsa()
1227 static enum dsa_tag_protocol dsa_get_tag_protocol(struct dsa_port *dp, in dsa_get_tag_protocol()
1253 static int dsa_port_parse_cpu(struct dsa_port *dp, struct net_device *master, in dsa_port_parse_cpu()
1338 static int dsa_port_parse_of(struct dsa_port *dp, struct device_node *dn) in dsa_port_parse_of()
1369 struct dsa_port *dp; in dsa_switch_parse_ports_of() local
1444 struct dsa_port *dp; in dsa_switch_touch_ports() local
1471 static int dsa_port_parse(struct dsa_port *dp, const char *name, in dsa_port_parse()
1496 struct dsa_port *dp; in dsa_switch_parse_ports() local
1547 struct dsa_port *dp, *next; in dsa_switch_release_ports() local
1638 struct dsa_port *dp; in dsa_switch_shutdown() local