Searched refs:MTKSWITCH_MAX_PHYS (Results 1 – 2 of 2) sorted by relevance
44 #define MTKSWITCH_MAX_PHYS 7 macro67 char *ifname[MTKSWITCH_MAX_PHYS];68 device_t miibus[MTKSWITCH_MAX_PHYS];69 if_t ifp[MTKSWITCH_MAX_PHYS];
180 sc->numphys = MTKSWITCH_MAX_PHYS; in mtkswitch_attach()264 for (phy = 0; phy < MTKSWITCH_MAX_PHYS; phy++) { in mtkswitch_detach()298 if (phy < 0 || phy >= MTKSWITCH_MAX_PHYS || sc->miibus[phy] == NULL) in mtkswitch_miiforport()309 if (phy < 0 || phy >= MTKSWITCH_MAX_PHYS) in mtkswitch_ifpforport()