/Linux-v5.15/drivers/net/dsa/xrs700x/ |
D | xrs700x.c | 320 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/ |
D | mv88e6060.c | 127 dsa_is_cpu_port(priv->ds, p) ? in mv88e6060_setup_port() 142 (dsa_is_cpu_port(priv->ds, p) ? in mv88e6060_setup_port()
|
D | lantiq_gswip.c | 417 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()
|
D | qca8k.c | 961 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()
|
D | bcm_sf2.c | 72 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()
|
D | rtl8366.c | 408 if (dsa_is_dsa_port(ds, port) || dsa_is_cpu_port(ds, port)) in rtl8366_vlan_add()
|
D | mt7530.c | 1085 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()
|
D | bcm_sf2_cfp.c | 871 dsa_is_cpu_port(ds, port_num)) || in bcm_sf2_cfp_rule_insert()
|
D | lan9303-core.c | 904 if (!dsa_is_cpu_port(ds, 0)) { in lan9303_setup()
|
/Linux-v5.15/drivers/net/dsa/sja1105/ |
D | sja1105_main.c | 138 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/ |
D | switch.c | 64 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()
|
D | tag_8021q.c | 213 if (dsa_is_dsa_port(ds, port) || dsa_is_cpu_port(ds, port)) in dsa_switch_tag_8021q_vlan_match()
|
D | dsa2.c | 811 if (!dsa_is_cpu_port(ds, port)) in dsa_switch_setup_tag_protocol()
|
/Linux-v5.15/drivers/net/dsa/ocelot/ |
D | felix.c | 287 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/ |
D | b53_common.c | 735 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/ |
D | chip.c | 1653 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/ |
D | dsa.h | 460 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/ |
D | ar9331.c | 402 if (dsa_is_cpu_port(ds, port)) { in ar9331_sw_setup_port()
|
/Linux-v5.15/drivers/net/dsa/microchip/ |
D | ksz9477.c | 1273 if (dsa_is_cpu_port(ds, i) && (dev->cpu_ports & (1 << i))) { in ksz9477_config_cpu_port()
|