Searched refs:cpuport (Results 1 – 12 of 12) sorted by relevance
88 KASSERT(sc->cpuport == 5, ("cpuport != 5 not supported for IP175C")); in ip175c_port_vlan_setup()101 if (ports[i] & (1 << sc->cpuport)) { in ip175c_port_vlan_setup()103 ports[i] &= ~(1 << sc->cpuport); in ip175c_port_vlan_setup()131 KASSERT(sc->cpuport == 5, ("cpuport != 5 not supported for IP175C")); in ip175c_dot1q_vlan_setup()253 sc->cpuport = IP175X_CPU_PORT; in ip175c_attach()
52 int cpuport; /* which PHY is connected to the CPU */ member
241 sc->phymask |= (1 << sc->cpuport); in ip17x_attach()436 if (phy == sc->cpuport) { in ip17x_getport()508 if (phy == sc->cpuport) in ip17x_setport()
218 sc->cpuport = IP175X_CPU_PORT; in ip175d_attach()
82 v->ports = (1 << sc->cpuport); in ip17x_reset_vlans()
70 int cpuport; /* which PHY is connected to the CPU */ member179 sc->cpuport = -1; in ukswitch_attach()189 "cpuport", &sc->cpuport); in ukswitch_attach()197 if (sc->cpuport != -1) in ukswitch_attach()199 sc->phymask |= (1 << sc->cpuport); in ukswitch_attach()370 if (sc->cpuport != -1 && phy == sc->cpuport) { in ukswitch_getport()405 if (sc->portphy[p->es_port] == sc->cpuport) in ukswitch_setport()
147 int cpuport; /* which PHY is connected to the CPU */ member217 if (phy == sc->cpuport) in ksz8995ma_attach_phys()255 if (sc->cpuport != -1) { in ksz8995ma_attach_phys()257 sc->ifpport[sc->cpuport] = port; in ksz8995ma_attach_phys()258 sc->portphy[port] = sc->cpuport; in ksz8995ma_attach_phys()298 sc->cpuport = -1; in ksz8995ma_attach()302 "cpuport", &sc->cpuport); in ksz8995ma_attach()411 if (port == sc->cpuport) in ksz8995ma_miiforport()438 if (i == sc->cpuport) in ksz8995ma_miipollstat()538 if (sc->cpuport != -1 && phy == sc->cpuport) { in ksz8995ma_getport()[all …]
96 int cpuport; /* which PHY is connected to the CPU */ member209 if (sc->cpuport != -1) { in adm6996fc_attach_phys()211 sc->ifpport[sc->cpuport] = port; in adm6996fc_attach_phys()212 sc->portphy[port] = sc->cpuport; in adm6996fc_attach_phys()251 sc->cpuport = 5; in adm6996fc_attach()353 if (port == sc->cpuport) in adm6996fc_miiforport()478 if (sc->cpuport != -1 && phy == sc->cpuport) { in adm6996fc_getport()542 if (sc->portphy[p->es_port] == sc->cpuport) in adm6996fc_setport()546 if (sc->portphy[p->es_port] != sc->cpuport) { in adm6996fc_setport()
116 int cpuport; /* which PHY is connected to the CPU */ member248 if (sc->cpuport != -1) { in e6060sw_attach_phys()250 sc->ifpport[sc->cpuport] = port; in e6060sw_attach_phys()251 sc->portphy[port] = sc->cpuport; in e6060sw_attach_phys()275 sc->cpuport = 2; in e6060sw_attach()279 sc->cpuport = 5; in e6060sw_attach()288 "cpuport", &sc->cpuport); in e6060sw_attach()381 if (port == sc->cpuport) in e6060sw_miiforport()490 if (sc->cpuport != -1 && phy == sc->cpuport) { in e6060sw_getport()540 if (sc->portphy[p->es_port] == sc->cpuport) in e6060sw_setport()
66 int cpuport; member
182 sc->cpuport = MTKSWITCH_CPU_PORT; in mtkswitch_attach()434 return (sc->cpuport == port); in mtkswitch_is_cpuport()
239 if (port == sc->cpuport) in mtkswitch_port_init()