Searched refs:cpu_ports (Results 1 – 3 of 3) sorted by relevance
1640 int cpu_ports; member1651 .cpu_ports = 0x10, /* can be configured as cpu port */1674 .cpu_ports = 0x10, /* can be configured as cpu port */1683 .cpu_ports = 0x10, /* can be configured as cpu port */1692 .cpu_ports = 0x4, /* can be configured as cpu port */1712 dev->port_cnt = fls(chip->cpu_ports); in ksz8_switch_init()1713 dev->cpu_port = fls(chip->cpu_ports) - 1; in ksz8_switch_init()1715 dev->cpu_ports = chip->cpu_ports; in ksz8_switch_init()1716 dev->host_mask = chip->cpu_ports; in ksz8_switch_init()1718 chip->cpu_ports; in ksz8_switch_init()[all …]
1273 if (dsa_is_cpu_port(ds, i) && (dev->cpu_ports & (1 << i))) { in ksz9477_config_cpu_port()1490 int cpu_ports; member1502 .cpu_ports = 0x7F, /* can be configured as cpu port */1512 .cpu_ports = 0x7F, /* can be configured as cpu port */1522 .cpu_ports = 0x07, /* can be configured as cpu port */1531 .cpu_ports = 0x7F, /* can be configured as cpu port */1552 dev->cpu_ports = chip->cpu_ports; in ksz9477_switch_init()
70 int cpu_ports; /* port bitmap can be cpu port */ member