Lines Matching defs:cpu_port
379 pvlan_mask = BIT(dev->sw_dev.cpu_port);
483 u8 cpu_port = dev->sw_dev.cpu_port;
529 } else if (is531x5(dev) && cpu_port == B53_CPU_PORT) {
538 if (cpu_port == 8) {
553 u8 po_reg = B53_GMII_PORT_OVERRIDE_CTRL(cpu_port);
809 if (port == sw_dev->cpu_port)
1116 u8 cpu_port;
1138 .cpu_port = B53_CPU_PORT_25,
1148 .cpu_port = B53_CPU_PORT_25,
1158 .cpu_port = B53_CPU_PORT,
1171 .cpu_port = B53_CPU_PORT,
1184 .cpu_port = B53_CPU_PORT,
1198 .cpu_port = B53_CPU_PORT,
1210 .cpu_port = B53_CPU_PORT,
1223 .cpu_port = B53_CPU_PORT,
1236 .cpu_port = B53_CPU_PORT,
1249 .cpu_port = B53_CPU_PORT_25, /* TODO: auto detect */
1262 .cpu_port = B53_CPU_PORT_25, /* TODO: auto detect */
1275 .cpu_port = B53_CPU_PORT_25, /* TODO: auto detect */
1288 .cpu_port = B53_CPU_PORT_25, /* TODO: auto detect */
1301 .cpu_port = B53_CPU_PORT_25, /* TODO: auto detect */
1331 sw_dev->cpu_port = chip->cpu_port;
1370 sw_dev->cpu_port = 5;
1374 sw_dev->ports = sw_dev->cpu_port + 1;
1375 dev->enabled_ports |= BIT(sw_dev->cpu_port);