Lines Matching refs:cpu_dp

1638 			netdev_err(dev, "CPU port %d: %s\n", dp->cpu_dp->index,  in dsa_slave_vlan_rx_add_vid()
1848 struct dsa_port *cpu_dp = dp->cpu_dp; in dsa_slave_change_mtu() local
1885 new_master_mtu = largest_mtu + dsa_tag_protocol_overhead(cpu_dp->tag_ops); in dsa_slave_change_mtu()
1903 err = dsa_port_mtu_change(cpu_dp, cpu_mtu); in dsa_slave_change_mtu()
1920 dsa_port_mtu_change(cpu_dp, old_master_mtu - in dsa_slave_change_mtu()
1921 dsa_tag_protocol_overhead(cpu_dp->tag_ops)); in dsa_slave_change_mtu()
2192 struct dsa_port *cpu_dp = dp->cpu_dp; in dsa_slave_fill_forward_path() local
2196 path->dsa.proto = cpu_dp->tag_ops->proto; in dsa_slave_fill_forward_path()
2318 const struct dsa_port *cpu_dp = dp->cpu_dp; in dsa_slave_setup_tagger() local
2321 slave->needed_headroom = cpu_dp->tag_ops->needed_headroom; in dsa_slave_setup_tagger()
2322 slave->needed_tailroom = cpu_dp->tag_ops->needed_tailroom; in dsa_slave_setup_tagger()
2330 p->xmit = cpu_dp->tag_ops->xmit; in dsa_slave_setup_tagger()
2987 struct dsa_port *cpu_dp = master->dsa_ptr; in dsa_master_lag_join() local
2988 struct dsa_switch_tree *dst = cpu_dp->dst; in dsa_master_lag_join()
2992 err = dsa_master_lag_setup(lag_dev, cpu_dp, uinfo, extack); in dsa_master_lag_join()
3028 struct dsa_port *dp, *cpu_dp = lag_dev->dsa_ptr; in dsa_master_lag_leave() local
3029 struct dsa_switch_tree *dst = cpu_dp->dst; in dsa_master_lag_leave()
3047 dp->cpu_dp = new_cpu_dp; in dsa_master_lag_leave()
3174 struct dsa_port *cpu_dp = dev->dsa_ptr; in dsa_slave_netdevice_event() local
3175 struct dsa_switch_tree *dst = cpu_dp->ds->dst; in dsa_slave_netdevice_event()
3198 struct dsa_port *dp, *cpu_dp; in dsa_slave_netdevice_event() local
3205 cpu_dp = dev->dsa_ptr; in dsa_slave_netdevice_event()
3206 dst = cpu_dp->ds->dst; in dsa_slave_netdevice_event()
3214 if (dp->cpu_dp != cpu_dp) in dsa_slave_netdevice_event()