Home
last modified time | relevance | path

Searched refs:dsa_is_cpu_port (Results 1 – 19 of 19) sorted by relevance

/Linux-v5.15/drivers/net/dsa/xrs700x/
Dxrs700x.c320 if (dsa_is_cpu_port(ds, i)) in xrs700x_port_add_bpdu_ipf()
364 if (dsa_is_cpu_port(ds, i)) in xrs700x_port_add_hsrsup_ipf()
385 bool cpu_port = dsa_is_cpu_port(ds, port); in xrs700x_port_setup()
394 if (!dsa_is_cpu_port(ds, i)) in xrs700x_port_setup()
513 if (dsa_is_cpu_port(ds, i)) in xrs700x_bridge_common()
/Linux-v5.15/drivers/net/dsa/
Dmv88e6060.c127 dsa_is_cpu_port(priv->ds, p) ? in mv88e6060_setup_port()
142 (dsa_is_cpu_port(priv->ds, p) ? in mv88e6060_setup_port()
Dlantiq_gswip.c417 if (!dsa_is_cpu_port(priv->ds, port)) in gswip_mii_mask_cfg()
662 if (!dsa_is_cpu_port(ds, port)) { in gswip_port_enable()
678 if (!dsa_is_cpu_port(ds, port)) { in gswip_port_enable()
1176 if (!dsa_is_cpu_port(ds, port) && !bridge) in gswip_port_vlan_prepare()
1230 if (dsa_is_cpu_port(ds, port)) in gswip_port_vlan_add()
1249 if (dsa_is_cpu_port(ds, port)) in gswip_port_vlan_del()
1709 if (!dsa_is_cpu_port(ds, port)) in gswip_phylink_mac_link_down()
1722 if (!dsa_is_cpu_port(ds, port)) { in gswip_phylink_mac_link_up()
2155 if (!dsa_is_cpu_port(priv->ds, priv->hw_info->cpu_port)) { in gswip_probe()
Dqca8k.c961 if (!dsa_is_cpu_port(ds, 0)) { in qca8k_setup()
1028 if (dsa_is_cpu_port(ds, i)) { in qca8k_setup()
1233 if (dsa_is_cpu_port(ds, port)) { in qca8k_phylink_mac_config()
1397 if (rx_pause || dsa_is_cpu_port(ds, port)) in qca8k_phylink_mac_link_up()
1400 if (tx_pause || dsa_is_cpu_port(ds, port)) in qca8k_phylink_mac_link_up()
Dbcm_sf2.c72 if (dsa_is_cpu_port(ds, port)) in bcm_sf2_num_active_ports()
925 if (dsa_is_user_port(ds, port) || dsa_is_cpu_port(ds, port)) in bcm_sf2_sw_suspend()
1027 else if (dsa_is_cpu_port(ds, port)) in bcm_sf2_sw_setup()
Drtl8366.c408 if (dsa_is_dsa_port(ds, port) || dsa_is_cpu_port(ds, port)) in rtl8366_vlan_add()
Dmt7530.c1085 if (!dsa_is_cpu_port(ds, port)) in mt7530_port_change_mtu()
2170 if (dsa_is_cpu_port(ds, i)) { in mt7530_setup()
2346 if (dsa_is_cpu_port(ds, i)) { in mt7531_setup()
Dbcm_sf2_cfp.c871 dsa_is_cpu_port(ds, port_num)) || in bcm_sf2_cfp_rule_insert()
Dlan9303-core.c904 if (!dsa_is_cpu_port(ds, 0)) { in lan9303_setup()
/Linux-v5.15/drivers/net/dsa/sja1105/
Dsja1105_main.c138 if (dsa_is_cpu_port(ds, port) || dsa_is_dsa_port(ds, port)) in sja1105_commit_pvid()
485 if (dsa_is_cpu_port(ds, port) || dsa_is_dsa_port(ds, port)) { in sja1105_init_static_vlan()
541 if (!dsa_is_cpu_port(ds, to) && in sja1105_init_l2_forwarding()
557 if (!dsa_is_cpu_port(ds, from) && !dsa_is_dsa_port(ds, from)) in sja1105_init_l2_forwarding()
1036 if (dsa_is_cpu_port(ds, port) || dsa_is_dsa_port(ds, port)) in sja1105_init_l2_policing()
2450 if (dsa_is_cpu_port(ds, port) || dsa_is_dsa_port(ds, port)) in sja1105_bridge_vlan_add()
2669 if (dsa_is_cpu_port(ds, port) || dsa_is_dsa_port(ds, port)) in sja1105_change_mtu()
/Linux-v5.15/net/dsa/
Dswitch.c64 if (dsa_is_dsa_port(ds, port) || dsa_is_cpu_port(ds, port)) in dsa_switch_mtu_match()
590 if (!dsa_is_cpu_port(ds, port)) in dsa_switch_change_tag_proto()
Dtag_8021q.c213 if (dsa_is_dsa_port(ds, port) || dsa_is_cpu_port(ds, port)) in dsa_switch_tag_8021q_vlan_match()
Ddsa2.c811 if (!dsa_is_cpu_port(ds, port)) in dsa_switch_setup_tag_protocol()
/Linux-v5.15/drivers/net/dsa/ocelot/
Dfelix.c287 if (dsa_is_cpu_port(ds, port)) { in felix_setup_mmio_filtering()
1234 if (!dsa_is_cpu_port(ds, port)) in felix_setup()
1278 if (!dsa_is_cpu_port(ds, port)) in felix_teardown()
/Linux-v5.15/drivers/net/dsa/b53/
Db53_common.c735 return dev->tag_protocol == DSA_TAG_PROTO_NONE && dsa_is_cpu_port(ds, port); in b53_vlan_port_needs_forced_tagged()
1128 if (dsa_is_cpu_port(ds, port)) in b53_setup()
1511 if (pvid && !dsa_is_cpu_port(ds, port)) { in b53_vlan_add()
/Linux-v5.15/drivers/net/dsa/mv88e6xxx/
Dchip.c1653 if (dsa_is_dsa_port(ds, port) || dsa_is_cpu_port(ds, port)) in mv88e6xxx_port_check_hw_vlan()
1664 if (dsa_is_dsa_port(ds, i) || dsa_is_cpu_port(ds, i)) in mv88e6xxx_port_check_hw_vlan()
2185 if (dsa_is_dsa_port(ds, port) || dsa_is_cpu_port(ds, port)) in mv88e6xxx_port_vlan_add()
2195 warn = !dsa_is_cpu_port(ds, port) && !dsa_is_dsa_port(ds, port); in mv88e6xxx_port_vlan_add()
2872 if (dsa_is_cpu_port(ds, port) || dsa_is_dsa_port(ds, port)) in mv88e6xxx_setup_port()
3049 if (dsa_is_dsa_port(ds, port) || dsa_is_cpu_port(ds, port)) in mv88e6xxx_change_mtu()
/Linux-v5.15/include/net/
Ddsa.h460 static inline bool dsa_is_cpu_port(struct dsa_switch *ds, int p) in dsa_is_cpu_port() function
/Linux-v5.15/drivers/net/dsa/qca/
Dar9331.c402 if (dsa_is_cpu_port(ds, port)) { in ar9331_sw_setup_port()
/Linux-v5.15/drivers/net/dsa/microchip/
Dksz9477.c1273 if (dsa_is_cpu_port(ds, i) && (dev->cpu_ports & (1 << i))) { in ksz9477_config_cpu_port()