Lines Matching refs:cpu_dp
1054 struct dsa_port *cpu_dp = dp->cpu_dp; in mt7530_port_enable() local
1056 priv->ports[port].pm |= PCR_MATRIX(BIT(cpu_dp->index)); in mt7530_port_enable()
1206 struct dsa_port *cpu_dp = dp->cpu_dp; in mt7530_port_bridge_join() local
1207 u32 port_bitmap = BIT(cpu_dp->index); in mt7530_port_bridge_join()
1285 struct dsa_port *cpu_dp = dp->cpu_dp; in mt7530_port_set_vlan_unaware() local
1287 mt7530_write(priv, MT7530_PCR_P(cpu_dp->index), in mt7530_port_set_vlan_unaware()
1289 mt7530_write(priv, MT7530_PVC_P(cpu_dp->index), PORT_SPEC_TAG in mt7530_port_set_vlan_unaware()
1327 struct dsa_port *cpu_dp = dp->cpu_dp; in mt7530_port_bridge_leave() local
1356 PCR_MATRIX(BIT(cpu_dp->index))); in mt7530_port_bridge_leave()
1357 priv->ports[port].pm = PCR_MATRIX(BIT(cpu_dp->index)); in mt7530_port_bridge_leave()
1525 struct dsa_port *cpu_dp = dp->cpu_dp; in mt7530_port_vlan_filtering() local
1534 mt7530_port_set_vlan_aware(ds, cpu_dp->index); in mt7530_port_vlan_filtering()
2116 struct dsa_port *cpu_dp; in mt7530_setup() local
2124 dsa_switch_for_each_cpu_port(cpu_dp, ds) { in mt7530_setup()
2125 dn = cpu_dp->master->dev.of_node->parent; in mt7530_setup()
2298 struct dsa_port *cpu_dp; in mt7531_setup() local
2377 dsa_switch_for_each_cpu_port(cpu_dp, ds) { in mt7531_setup()
2379 BIT(cpu_dp->index)); in mt7531_setup()