Home
last modified time | relevance | path

Searched refs:numphys (Results 1 – 6 of 6) sorted by relevance

/freebsd/sys/dev/etherswitch/arswitch/
H A Darswitch_vlans.c121 reg &= ((1 << (sc->numphys + 1)) - 1); in ar8xxx_get_dot1q_vlan()
188 for (i = 0; i <= sc->numphys; i++) { in ar8xxx_reset_vlans()
208 for (i = 0; i <= sc->numphys; i++) in ar8xxx_reset_vlans()
223 for (i = 0; i <= sc->numphys; i++) in ar8xxx_reset_vlans()
226 for (i = 0; i <= sc->numphys; i++) in ar8xxx_reset_vlans()
232 for (i = 0; i <= sc->numphys; i++) { in ar8xxx_reset_vlans()
235 for (j = 0; j <= sc->numphys; j++) in ar8xxx_reset_vlans()
249 for (i = 0; i <= sc->numphys; i++) in ar8xxx_reset_vlans()
H A Darswitch.c151 for (phy = 0; phy < sc->numphys; phy++) { in arswitch_attach_phys()
577 sc->numphys = 4; in arswitch_attach()
584 "numphys", &sc->numphys); in arswitch_attach()
594 if (sc->numphys > AR8X16_NUM_PHYS) in arswitch_attach()
595 sc->numphys = AR8X16_NUM_PHYS; in arswitch_attach()
630 for (port = 0; port <= sc->numphys; port++) { in arswitch_attach()
677 for (i=0; i < sc->numphys; i++) { in arswitch_detach()
705 if (phy < 0 || phy >= sc->numphys) in arswitch_miiforport()
715 if (phy < 0 || phy >= sc->numphys) in arswitch_ifpforport()
774 for (i = 0; i < sc->numphys; i++) { in arswitch_miipollstat()
[all …]
H A Darswitchvar.h62 int numphys; /* PHYs we manage */ member
/freebsd/sys/dev/etherswitch/rtl8366/
H A Drtl8366rb.c81 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()
[all …]
/freebsd/sys/dev/etherswitch/mtkswitch/
H A Dmtkswitch.c116 for (phy = 0; phy < sc->numphys; phy++) { in mtkswitch_attach_phys()
174 sc->numphys = MTKSWITCH_MAX_PHYS; in mtkswitch_attach()
357 for (i = 0; i < sc->numphys; i++) { in mtkswitch_miipollstat()
H A Dmtkswitchvar.h60 int numphys; member