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()
583 sc->numphys = 4; in arswitch_attach()
590 "numphys", &sc->numphys); in arswitch_attach()
600 if (sc->numphys > AR8X16_NUM_PHYS) in arswitch_attach()
601 sc->numphys = AR8X16_NUM_PHYS; in arswitch_attach()
636 for (port = 0; port <= sc->numphys; port++) { in arswitch_attach()
684 for (i=0; i < sc->numphys; i++) { in arswitch_detach()
715 if (phy < 0 || phy >= sc->numphys) in arswitch_miiforport()
725 if (phy < 0 || phy >= sc->numphys) in arswitch_ifpforport()
784 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
229 sc->info.es_nports = sc->numphys + 1; in rtl8366rb_attach()
239 for (i = 0; i < sc->numphys; i++) { in rtl8366rb_attach()
283 for (i=0; i < sc->numphys; i++) { in rtl8366rb_detach()
339 for (i = 0; i < sc->numphys; i++) { in rtl833rb_miipollstat()
668 if (p->es_port < 0 || p->es_port >= (sc->numphys + 1)) in rtl_getport()
670 if (sc->phy4cpu && p->es_port == sc->numphys) { in rtl_getport()
679 if (p->es_port < sc->numphys) { in rtl_getport()
716 if (p->es_port < 0 || p->es_port >= (sc->numphys + 1)) in rtl_setport()
727 if (sc->phy4cpu && p->es_port == sc->numphys) { in rtl_setport()
[all …]
/freebsd/sys/dev/etherswitch/mtkswitch/
H A Dmtkswitch.c116 for (phy = 0; phy < sc->numphys; phy++) { in mtkswitch_attach_phys()
180 sc->numphys = MTKSWITCH_MAX_PHYS; in mtkswitch_attach()
365 for (i = 0; i < sc->numphys; i++) { in mtkswitch_miipollstat()
H A Dmtkswitchvar.h60 int numphys; member