Lines Matching refs:cpu_dp

1776 			netdev_err(dev, "CPU port %d: %s\n", dp->cpu_dp->index,  in dsa_user_vlan_rx_add_vid()
2065 struct dsa_port *cpu_dp = dp->cpu_dp; in dsa_user_change_mtu() local
2101 overhead = dsa_tag_protocol_overhead(cpu_dp->tag_ops); in dsa_user_change_mtu()
2122 err = dsa_port_mtu_change(cpu_dp, cpu_mtu); in dsa_user_change_mtu()
2139 dsa_port_mtu_change(cpu_dp, old_conduit_mtu - overhead); in dsa_user_change_mtu()
2509 struct dsa_port *cpu_dp = dp->cpu_dp; in dsa_user_fill_forward_path() local
2513 path->dsa.proto = cpu_dp->tag_ops->proto; in dsa_user_fill_forward_path()
2634 const struct dsa_port *cpu_dp = dp->cpu_dp; in dsa_user_setup_tagger() local
2637 user->needed_headroom = cpu_dp->tag_ops->needed_headroom; in dsa_user_setup_tagger()
2638 user->needed_tailroom = cpu_dp->tag_ops->needed_tailroom; in dsa_user_setup_tagger()
2646 p->xmit = cpu_dp->tag_ops->xmit; in dsa_user_setup_tagger()
3304 struct dsa_port *cpu_dp = conduit->dsa_ptr; in dsa_conduit_lag_join() local
3305 struct dsa_switch_tree *dst = cpu_dp->dst; in dsa_conduit_lag_join()
3309 err = dsa_conduit_lag_setup(lag_dev, cpu_dp, uinfo, extack); in dsa_conduit_lag_join()
3345 struct dsa_port *dp, *cpu_dp = lag_dev->dsa_ptr; in dsa_conduit_lag_leave() local
3346 struct dsa_switch_tree *dst = cpu_dp->dst; in dsa_conduit_lag_leave()
3364 dp->cpu_dp = new_cpu_dp; in dsa_conduit_lag_leave()
3491 struct dsa_port *cpu_dp = dev->dsa_ptr; in dsa_user_netdevice_event() local
3492 struct dsa_switch_tree *dst = cpu_dp->ds->dst; in dsa_user_netdevice_event()
3515 struct dsa_port *dp, *cpu_dp; in dsa_user_netdevice_event() local
3522 cpu_dp = dev->dsa_ptr; in dsa_user_netdevice_event()
3523 dst = cpu_dp->ds->dst; in dsa_user_netdevice_event()
3531 if (dp->cpu_dp != cpu_dp) in dsa_user_netdevice_event()