Lines Matching refs:num_phys_ports
113 for (p = 0; p < lan966x->num_phys_ports; ++p) { in lan966x_port_unique_address()
668 WARN_ON(src_port >= lan966x->num_phys_ports); in lan966x_xtr_irq_handler()
744 for (p = 0; p < lan966x->num_phys_ports; p++) { in lan966x_cleanup_ports()
795 if (p >= lan966x->num_phys_ports) in lan966x_probe_port()
966 for (p = 0; p < lan966x->num_phys_ports; p++) { in lan966x_init()
999 lan_rmw(GENMASK(lan966x->num_phys_ports - 1, 0), in lan966x_init()
1004 lan_rmw(GENMASK(lan966x->num_phys_ports - 1, 0), in lan966x_init()
1008 lan_rmw(GENMASK(lan966x->num_phys_ports - 1, 0), in lan966x_init()
1013 lan_rmw(GENMASK(lan966x->num_phys_ports - 1, 0), in lan966x_init()
1018 lan_rmw(ANA_PGID_PGID_SET(BIT(CPU_PORT) | GENMASK(lan966x->num_phys_ports - 1, 0)), in lan966x_init()
1107 lan966x->num_phys_ports = NUM_PHYS_PORTS; in lan966x_probe()
1108 lan966x->ports = devm_kcalloc(&pdev->dev, lan966x->num_phys_ports, in lan966x_probe()