/kernel/linux/linux-5.10/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 | 415 if (!dsa_is_cpu_port(priv->ds, port)) in gswip_mii_mask_cfg() 660 if (!dsa_is_cpu_port(ds, port)) { in gswip_port_enable() 676 if (!dsa_is_cpu_port(ds, port)) { in gswip_port_enable() 1183 if (!dsa_is_cpu_port(ds, port) && !bridge) in gswip_port_vlan_prepare() 1234 if (dsa_is_cpu_port(ds, port)) in gswip_port_vlan_add() 1255 if (dsa_is_cpu_port(ds, port)) in gswip_port_vlan_del() 1672 if (!dsa_is_cpu_port(ds, port)) in gswip_phylink_mac_link_down() 1685 if (!dsa_is_cpu_port(ds, port)) { in gswip_phylink_mac_link_up() 2071 if (!dsa_is_cpu_port(priv->ds, priv->hw_info->cpu_port)) { in gswip_probe()
|
D | qca8k.c | 703 if (!dsa_is_cpu_port(ds, 0)) { in qca8k_setup() 751 if (dsa_is_cpu_port(ds, i)) { in qca8k_setup() 873 if (dsa_is_cpu_port(ds, port)) { in qca8k_phylink_mac_config() 1029 if (rx_pause || dsa_is_cpu_port(ds, port)) in qca8k_phylink_mac_link_up() 1032 if (tx_pause || dsa_is_cpu_port(ds, port)) in qca8k_phylink_mac_link_up()
|
D | bcm_sf2.c | 42 if (dsa_is_cpu_port(ds, port)) in bcm_sf2_num_active_ports() 834 if (dsa_is_user_port(ds, port) || dsa_is_cpu_port(ds, port)) in bcm_sf2_sw_suspend() 934 else if (dsa_is_cpu_port(ds, port)) in bcm_sf2_sw_setup()
|
D | rtl8366.c | 429 if (dsa_is_dsa_port(ds, port) || dsa_is_cpu_port(ds, port)) in rtl8366_vlan_add()
|
D | mt7530.c | 1130 if (dsa_is_cpu_port(ds, port)) in mt7530_port_set_vlan_aware() 1626 if (dsa_is_cpu_port(ds, i)) { in mt7530_setup() 1782 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()
|
/kernel/linux/linux-5.10/drivers/net/dsa/ocelot/ |
D | felix.c | 138 if (dsa_is_cpu_port(ds, port)) in felix_vlan_add() 608 if (dsa_is_cpu_port(ds, port)) in felix_setup()
|
/kernel/linux/linux-5.10/net/dsa/ |
D | switch.c | 64 if (dsa_is_dsa_port(ds, port) || dsa_is_cpu_port(ds, port)) in dsa_switch_mtu_match()
|
/kernel/linux/linux-5.10/drivers/net/dsa/mv88e6xxx/ |
D | chip.c | 1541 if (dsa_is_dsa_port(ds, port) || dsa_is_cpu_port(ds, port)) in mv88e6xxx_port_check_hw_vlan() 1562 if (dsa_is_dsa_port(ds, i) || dsa_is_cpu_port(ds, i)) in mv88e6xxx_port_check_hw_vlan() 1992 if (dsa_is_dsa_port(ds, port) || dsa_is_cpu_port(ds, port)) in mv88e6xxx_port_vlan_add() 2002 warn = !dsa_is_cpu_port(ds, port) && !dsa_is_dsa_port(ds, port); in mv88e6xxx_port_vlan_add() 2426 flood = dsa_is_cpu_port(ds, port) || dsa_is_dsa_port(ds, port); in mv88e6xxx_setup_egress_floods() 2583 if (dsa_is_cpu_port(ds, port) || dsa_is_dsa_port(ds, port)) in mv88e6xxx_setup_port() 2657 if (dsa_is_cpu_port(ds, port)) in mv88e6xxx_setup_port() 2741 if (dsa_is_dsa_port(ds, port) || dsa_is_cpu_port(ds, port)) in mv88e6xxx_change_mtu()
|
/kernel/linux/linux-5.10/drivers/net/dsa/b53/ |
D | b53_common.c | 1067 if (dsa_is_cpu_port(ds, port)) in b53_setup() 1442 if (untagged && !dsa_is_cpu_port(ds, port)) in b53_vlan_add() 1451 if (pvid && !dsa_is_cpu_port(ds, port)) { in b53_vlan_add() 1480 if (untagged && !dsa_is_cpu_port(ds, port)) in b53_vlan_del()
|
/kernel/linux/linux-5.10/include/net/ |
D | dsa.h | 356 static inline bool dsa_is_cpu_port(struct dsa_switch *ds, int p) in dsa_is_cpu_port() function
|
/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/ |
D | sja1105_main.c | 350 if (dsa_is_cpu_port(ds, port)) in sja1105_init_static_vlan() 664 if (dsa_is_cpu_port(priv->ds, port)) in sja1105_init_l2_policing() 3212 if (dsa_is_cpu_port(ds, port)) in sja1105_change_mtu()
|
/kernel/linux/linux-5.10/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()
|