Home
last modified time | relevance | path

Searched refs:cpu_ports (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/net/dsa/microchip/
H A Dksz_common.c1500 .cpu_ports = 0x4, /* can be configured as cpu port */
1523 .cpu_ports = 0x07, /* can be configured as cpu port */
1555 .cpu_ports = 0x10, /* can be configured as cpu port */
1596 .cpu_ports = 0x10, /* can be configured as cpu port */
1623 .cpu_ports = 0x10, /* can be configured as cpu port */
1650 .cpu_ports = 0x4, /* can be configured as cpu port */
1684 .cpu_ports = 0x10, /* can be configured as cpu port */
1707 .cpu_ports = 0x10, /* can be configured as cpu port */
1730 .cpu_ports = 0x7F, /* can be configured as cpu port */
1768 .cpu_ports = 0x3F, /* can be configured as cpu port */
[all …]
H A Dlan937x_main.c418 if (dev->info->cpu_ports & (1 << dp->index)) { in lan937x_config_cpu_port()
H A Dksz8.c1930 alu.port_forward = dev->info->cpu_ports; in ksz8_enable_stp_addr()
2101 dev->cpu_port = fls(dev->info->cpu_ports) - 1; in ksz8_switch_init()
2103 dev->port_mask = (BIT(dev->phy_port_cnt) - 1) | dev->info->cpu_ports; in ksz8_switch_init()
H A Dksz9477.c1304 (dev->info->cpu_ports & (1 << i))) { in ksz9477_config_cpu_port()
/linux/drivers/net/dsa/lantiq/
H A Dlantiq_gswip_common.c645 unsigned int cpu_ports = dsa_cpu_ports(ds); in gswip_setup() local
670 regmap_write(priv->gswip, GSWIP_PCE_PMAP1, cpu_ports); in gswip_setup()
671 regmap_write(priv->gswip, GSWIP_PCE_PMAP2, cpu_ports); in gswip_setup()
672 regmap_write(priv->gswip, GSWIP_PCE_PMAP3, cpu_ports); in gswip_setup()
823 unsigned int cpu_ports = dsa_cpu_ports(priv->ds); in gswip_vlan_add() local
869 vlan_mapping.val[1] |= cpu_ports; in gswip_vlan_add()
872 vlan_mapping.val[2] |= cpu_ports; in gswip_vlan_add()
/linux/drivers/net/dsa/ocelot/
H A Dfelix.c175 unsigned long cpu_ports = dsa_cpu_ports(ds); in felix_tag_8021q_vlan_add_tx() local
193 untagging_rule->ingress_port_mask = cpu_ports; in felix_tag_8021q_vlan_add_tx()
217 redirect_rule->ingress_port_mask = cpu_ports; in felix_tag_8021q_vlan_add_tx()