Lines Matching refs:cpu_dp
49 struct dsa_port *cpu_dp; in felix_cpu_port_for_master() local
60 cpu_dp = master->dsa_ptr; in felix_cpu_port_for_master()
61 return cpu_dp->index; in felix_cpu_port_for_master()
230 struct dsa_port *cpu_dp; in felix_tag_8021q_vlan_add() local
240 dsa_switch_for_each_cpu_port(cpu_dp, ds) { in felix_tag_8021q_vlan_add()
241 err = felix_tag_8021q_vlan_add_rx(ds, port, cpu_dp->index, vid); in felix_tag_8021q_vlan_add()
253 dsa_switch_for_each_cpu_port(cpu_dp, ds) in felix_tag_8021q_vlan_add()
254 felix_tag_8021q_vlan_del_rx(ds, port, cpu_dp->index, vid); in felix_tag_8021q_vlan_add()
261 struct dsa_port *cpu_dp; in felix_tag_8021q_vlan_del() local
267 dsa_switch_for_each_cpu_port(cpu_dp, ds) { in felix_tag_8021q_vlan_del()
268 err = felix_tag_8021q_vlan_del_rx(ds, port, cpu_dp->index, vid); in felix_tag_8021q_vlan_del()
280 dsa_switch_for_each_cpu_port(cpu_dp, ds) in felix_tag_8021q_vlan_del()
281 felix_tag_8021q_vlan_add_rx(ds, port, cpu_dp->index, vid); in felix_tag_8021q_vlan_del()
298 return dp->cpu_dp->index; in felix_trap_get_cpu_port()
414 if (first_cpu_dp && dp->cpu_dp != first_cpu_dp) { in felix_tag_npi_setup()
419 first_cpu_dp = dp->cpu_dp; in felix_tag_npi_setup()
507 dp->cpu_dp->index); in felix_tag_8021q_setup()