Lines Matching refs:cpu_ports
1596 int cpu_ports; member
1607 .cpu_ports = 0x10, /* can be configured as cpu port */
1630 .cpu_ports = 0x10, /* can be configured as cpu port */
1639 .cpu_ports = 0x10, /* can be configured as cpu port */
1648 .cpu_ports = 0x4, /* can be configured as cpu port */
1668 dev->port_cnt = fls(chip->cpu_ports); in ksz8_switch_init()
1669 dev->cpu_port = fls(chip->cpu_ports) - 1; in ksz8_switch_init()
1671 dev->cpu_ports = chip->cpu_ports; in ksz8_switch_init()
1672 dev->host_mask = chip->cpu_ports; in ksz8_switch_init()
1674 chip->cpu_ports; in ksz8_switch_init()
1680 if (!dev->cpu_ports) in ksz8_switch_init()