Searched refs:cpu_dp (Results 1 – 11 of 11) sorted by relevance
/drivers/net/dsa/ocelot/ |
D | felix.c | 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() [all …]
|
/drivers/net/dsa/ |
D | mt7530.c | 1069 struct dsa_port *cpu_dp = dp->cpu_dp; in mt7530_port_enable() local 1071 priv->ports[port].pm |= PCR_MATRIX(BIT(cpu_dp->index)); in mt7530_port_enable() 1221 struct dsa_port *cpu_dp = dp->cpu_dp; in mt7530_port_bridge_join() local 1222 u32 port_bitmap = BIT(cpu_dp->index); in mt7530_port_bridge_join() 1300 struct dsa_port *cpu_dp = dp->cpu_dp; in mt7530_port_set_vlan_unaware() local 1302 mt7530_write(priv, MT7530_PCR_P(cpu_dp->index), in mt7530_port_set_vlan_unaware() 1304 mt7530_write(priv, MT7530_PVC_P(cpu_dp->index), PORT_SPEC_TAG in mt7530_port_set_vlan_unaware() 1354 struct dsa_port *cpu_dp = dp->cpu_dp; in mt7530_port_bridge_leave() local 1383 PCR_MATRIX(BIT(cpu_dp->index))); in mt7530_port_bridge_leave() 1384 priv->ports[port].pm = PCR_MATRIX(BIT(cpu_dp->index)); in mt7530_port_bridge_leave() [all …]
|
D | mv88e6060.c | 147 BIT(dsa_to_port(priv->ds, p)->cpu_dp->index))); in mv88e6060_setup_port()
|
D | bcm_sf2_cfp.c | 850 s8 cpu_port = dsa_to_port(ds, port)->cpu_dp->index; in bcm_sf2_cfp_rule_insert()
|
D | bcm_sf2.c | 1018 s8 cpu_port = dsa_to_port(ds, port)->cpu_dp->index; in bcm_sf2_sw_set_wol()
|
/drivers/net/dsa/realtek/ |
D | rtl8365mb.c | 1915 struct dsa_port *cpu_dp; in rtl8365mb_setup() local 1944 dsa_switch_for_each_cpu_port(cpu_dp, priv->ds) { in rtl8365mb_setup() 1945 cpu->mask |= BIT(cpu_dp->index); in rtl8365mb_setup() 1948 cpu->trap_port = cpu_dp->index; in rtl8365mb_setup()
|
/drivers/net/dsa/qca/ |
D | qca8k-common.c | 642 cpu_port = dsa_to_port(ds, port)->cpu_dp->index; in qca8k_port_bridge_join() 675 cpu_port = dsa_to_port(ds, port)->cpu_dp->index; in qca8k_port_bridge_leave()
|
/drivers/net/ethernet/mediatek/ |
D | mtk_ppe_offload.c | 174 if (dp->cpu_dp->tag_ops->proto != DSA_TAG_PROTO_MTK) in mtk_flow_get_dsa_port()
|
/drivers/net/dsa/b53/ |
D | b53_common.c | 572 cpu_port = dsa_to_port(ds, port)->cpu_dp->index; in b53_enable_port() 1850 s8 cpu_port = dsa_to_port(ds, port)->cpu_dp->index; in b53_br_join() 1902 s8 cpu_port = dsa_to_port(ds, port)->cpu_dp->index; in b53_br_leave()
|
/drivers/net/dsa/mv88e6xxx/ |
D | chip.c | 6405 struct dsa_port *cpu_dp; in mv88e6xxx_change_tag_protocol() local 6430 dsa_switch_for_each_cpu_port(cpu_dp, ds) { in mv88e6xxx_change_tag_protocol() 6431 err = mv88e6xxx_setup_port_mode(chip, cpu_dp->index); in mv88e6xxx_change_tag_protocol() 6445 dsa_switch_for_each_cpu_port_continue_reverse(cpu_dp, ds) in mv88e6xxx_change_tag_protocol() 6446 mv88e6xxx_setup_port_mode(chip, cpu_dp->index); in mv88e6xxx_change_tag_protocol()
|
/drivers/net/dsa/sja1105/ |
D | sja1105_main.c | 598 if (dl->dp->ds != ds || dl->link_dp->cpu_dp == dl->dp->cpu_dp) in sja1105_init_l2_forwarding()
|