Lines Matching refs:cpu_dp

1719 			netdev_err(dev, "CPU port %d: %s\n", dp->cpu_dp->index,  in dsa_slave_vlan_rx_add_vid()
1929 struct dsa_port *cpu_dp = dp->cpu_dp; in dsa_slave_change_mtu() local
1966 new_master_mtu = largest_mtu + dsa_tag_protocol_overhead(cpu_dp->tag_ops); in dsa_slave_change_mtu()
1984 err = dsa_port_mtu_change(cpu_dp, cpu_mtu); in dsa_slave_change_mtu()
2001 dsa_port_mtu_change(cpu_dp, old_master_mtu - in dsa_slave_change_mtu()
2002 dsa_tag_protocol_overhead(cpu_dp->tag_ops)); in dsa_slave_change_mtu()
2269 struct dsa_port *cpu_dp = dp->cpu_dp; in dsa_slave_fill_forward_path() local
2273 path->dsa.proto = cpu_dp->tag_ops->proto; in dsa_slave_fill_forward_path()
2394 const struct dsa_port *cpu_dp = dp->cpu_dp; in dsa_slave_setup_tagger() local
2397 slave->needed_headroom = cpu_dp->tag_ops->needed_headroom; in dsa_slave_setup_tagger()
2398 slave->needed_tailroom = cpu_dp->tag_ops->needed_tailroom; in dsa_slave_setup_tagger()
2406 p->xmit = cpu_dp->tag_ops->xmit; in dsa_slave_setup_tagger()
3072 struct dsa_port *cpu_dp = master->dsa_ptr; in dsa_master_lag_join() local
3073 struct dsa_switch_tree *dst = cpu_dp->dst; in dsa_master_lag_join()
3077 err = dsa_master_lag_setup(lag_dev, cpu_dp, uinfo, extack); in dsa_master_lag_join()
3113 struct dsa_port *dp, *cpu_dp = lag_dev->dsa_ptr; in dsa_master_lag_leave() local
3114 struct dsa_switch_tree *dst = cpu_dp->dst; in dsa_master_lag_leave()
3132 dp->cpu_dp = new_cpu_dp; in dsa_master_lag_leave()
3259 struct dsa_port *cpu_dp = dev->dsa_ptr; in dsa_slave_netdevice_event() local
3260 struct dsa_switch_tree *dst = cpu_dp->ds->dst; in dsa_slave_netdevice_event()
3283 struct dsa_port *dp, *cpu_dp; in dsa_slave_netdevice_event() local
3290 cpu_dp = dev->dsa_ptr; in dsa_slave_netdevice_event()
3291 dst = cpu_dp->ds->dst; in dsa_slave_netdevice_event()
3299 if (dp->cpu_dp != cpu_dp) in dsa_slave_netdevice_event()