Searched refs:cpu_ports (Results 1 – 6 of 6) sorted by relevance
| /linux/drivers/net/dsa/microchip/ |
| H A D | ksz_common.c | 1148 .cpu_ports = 0x4, /* can be configured as cpu port */ 1172 .cpu_ports = 0x07, /* can be configured as cpu port */ 1205 .cpu_ports = 0x10, /* can be configured as cpu port */ 1247 .cpu_ports = 0x10, /* can be configured as cpu port */ 1275 .cpu_ports = 0x10, /* can be configured as cpu port */ 1303 .cpu_ports = 0x4, /* can be configured as cpu port */ 1338 .cpu_ports = 0x10, /* can be configured as cpu port */ 1362 .cpu_ports = 0x10, /* can be configured as cpu port */ 1386 .cpu_ports = 0x7F, /* can be configured as cpu port */ 1425 .cpu_ports = 0x3F, /* can be configured as cpu port */ [all …]
|
| H A D | lan937x_main.c | 453 if (dev->info->cpu_ports & (1 << dp->index)) { in lan937x_config_cpu_port()
|
| H A D | ksz8.c | 2331 alu.port_forward = dev->info->cpu_ports; in ksz8_enable_stp_addr() 2972 dev->cpu_port = fls(dev->info->cpu_ports) - 1; in ksz8_switch_init() 2974 dev->port_mask = (BIT(dev->phy_port_cnt) - 1) | dev->info->cpu_ports; in ksz8_switch_init()
|
| H A D | ksz_common.h | 104 int cpu_ports; member
|
| H A D | ksz9477.c | 1461 (dev->info->cpu_ports & (1 << i))) { in ksz9477_config_cpu_port()
|
| /linux/drivers/net/dsa/lantiq/ |
| H A D | lantiq_gswip_common.c | 645 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()
|