Lines Matching refs:numphys
81 int numphys; member
227 sc->numphys = sc->phy4cpu ? RTL8366_NUM_PHYS - 1 : RTL8366_NUM_PHYS; in rtl8366rb_attach()
229 sc->info.es_nports = sc->numphys + 1; in rtl8366rb_attach()
239 for (i = 0; i < sc->numphys; i++) { in rtl8366rb_attach()
279 for (i=0; i < sc->numphys; i++) { in rtl8366rb_detach()
332 for (i = 0; i < sc->numphys; i++) { in rtl833rb_miipollstat()
661 if (p->es_port < 0 || p->es_port >= (sc->numphys + 1)) in rtl_getport()
663 if (sc->phy4cpu && p->es_port == sc->numphys) { in rtl_getport()
672 if (p->es_port < sc->numphys) { in rtl_getport()
709 if (p->es_port < 0 || p->es_port >= (sc->numphys + 1)) in rtl_setport()
720 if (sc->phy4cpu && p->es_port == sc->numphys) { in rtl_setport()
731 if (p->es_port == sc->numphys) in rtl_setport()