Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/dsa/microchip/
H A Dksz_common.c1113 .cpu_ports = 0x07, /* can be configured as cpu port */
1143 .cpu_ports = 0x10, /* can be configured as cpu port */
1182 .cpu_ports = 0x10, /* can be configured as cpu port */
1207 .cpu_ports = 0x10, /* can be configured as cpu port */
1232 .cpu_ports = 0x4, /* can be configured as cpu port */
1255 .cpu_ports = 0x7F, /* can be configured as cpu port */
1289 .cpu_ports = 0x3F, /* can be configured as cpu port */
1321 .cpu_ports = 0x7F, /* can be configured as cpu port */
1351 .cpu_ports = 0x07, /* can be configured as cpu port */
1377 .cpu_ports = 0x07, /* can be configured as cpu port */
[all …]
H A Dlan937x_main.c214 if (dev->info->cpu_ports & (1 << dp->index)) { in lan937x_config_cpu_port()
H A Dksz8795.c1388 alu.port_forward = dev->info->cpu_ports; in ksz8_enable_stp_addr()
1465 dev->cpu_port = fls(dev->info->cpu_ports) - 1; in ksz8_switch_init()
1467 dev->port_mask = (BIT(dev->phy_port_cnt) - 1) | dev->info->cpu_ports; in ksz8_switch_init()
H A Dksz_common.h56 int cpu_ports; member
H A Dksz9477.c1015 (dev->info->cpu_ports & (1 << i))) { in ksz9477_config_cpu_port()
/openbmc/linux/drivers/net/dsa/ocelot/
H A Dfelix.c133 unsigned long cpu_ports = dsa_cpu_ports(ds); in felix_tag_8021q_vlan_add_tx() local
151 untagging_rule->ingress_port_mask = cpu_ports; in felix_tag_8021q_vlan_add_tx()
175 redirect_rule->ingress_port_mask = cpu_ports; in felix_tag_8021q_vlan_add_tx()