Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.c415 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()
Dqca8k.c703 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()
Dbcm_sf2.c42 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()
Drtl8366.c429 if (dsa_is_dsa_port(ds, port) || dsa_is_cpu_port(ds, port)) in rtl8366_vlan_add()
Dmt7530.c1130 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()
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()
/kernel/linux/linux-5.10/drivers/net/dsa/ocelot/
Dfelix.c138 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/
Dswitch.c64 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/
Dchip.c1541 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/
Db53_common.c1067 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/
Ddsa.h356 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/
Dsja1105_main.c350 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/
Dksz9477.c1273 if (dsa_is_cpu_port(ds, i) && (dev->cpu_ports & (1 << i))) { in ksz9477_config_cpu_port()