Searched refs:cpuport (Results 1 – 12 of 12) sorted by relevance
86 KASSERT(sc->cpuport == 5, ("cpuport != 5 not supported for IP175C")); in ip175c_port_vlan_setup()99 if (ports[i] & (1 << sc->cpuport)) { in ip175c_port_vlan_setup()101 ports[i] &= ~(1 << sc->cpuport); in ip175c_port_vlan_setup()129 KASSERT(sc->cpuport == 5, ("cpuport != 5 not supported for IP175C")); in ip175c_dot1q_vlan_setup()251 sc->cpuport = IP175X_CPU_PORT; in ip175c_attach()
50 int cpuport; /* which PHY is connected to the CPU */ member
233 sc->phymask |= (1 << sc->cpuport); in ip17x_attach()427 if (phy == sc->cpuport) { in ip17x_getport()499 if (phy == sc->cpuport) in ip17x_setport()
216 sc->cpuport = IP175X_CPU_PORT; in ip175d_attach()
80 v->ports = (1 << sc->cpuport); in ip17x_reset_vlans()
68 int cpuport; /* which PHY is connected to the CPU */ member171 sc->cpuport = -1; in ukswitch_attach()181 "cpuport", &sc->cpuport); in ukswitch_attach()189 if (sc->cpuport != -1) in ukswitch_attach()191 sc->phymask |= (1 << sc->cpuport); in ukswitch_attach()361 if (sc->cpuport != -1 && phy == sc->cpuport) { in ukswitch_getport()396 if (sc->portphy[p->es_port] == sc->cpuport) in ukswitch_setport()
145 int cpuport; /* which PHY is connected to the CPU */ member215 if (phy == sc->cpuport) in ksz8995ma_attach_phys()243 if (sc->cpuport != -1) { in ksz8995ma_attach_phys()245 sc->ifpport[sc->cpuport] = port; in ksz8995ma_attach_phys()246 sc->portphy[port] = sc->cpuport; in ksz8995ma_attach_phys()286 sc->cpuport = -1; in ksz8995ma_attach()290 "cpuport", &sc->cpuport); in ksz8995ma_attach()388 if (port == sc->cpuport) in ksz8995ma_miiforport()415 if (i == sc->cpuport) in ksz8995ma_miipollstat()515 if (sc->cpuport != -1 && phy == sc->cpuport) { in ksz8995ma_getport()[all …]
94 int cpuport; /* which PHY is connected to the CPU */ member197 if (sc->cpuport != -1) { in adm6996fc_attach_phys()199 sc->ifpport[sc->cpuport] = port; in adm6996fc_attach_phys()200 sc->portphy[port] = sc->cpuport; in adm6996fc_attach_phys()239 sc->cpuport = 5; in adm6996fc_attach()330 if (port == sc->cpuport) in adm6996fc_miiforport()455 if (sc->cpuport != -1 && phy == sc->cpuport) { in adm6996fc_getport()519 if (sc->portphy[p->es_port] == sc->cpuport) in adm6996fc_setport()523 if (sc->portphy[p->es_port] != sc->cpuport) { in adm6996fc_setport()
114 int cpuport; /* which PHY is connected to the CPU */ member238 if (sc->cpuport != -1) { in e6060sw_attach_phys()240 sc->ifpport[sc->cpuport] = port; in e6060sw_attach_phys()241 sc->portphy[port] = sc->cpuport; in e6060sw_attach_phys()265 sc->cpuport = 2; in e6060sw_attach()269 sc->cpuport = 5; in e6060sw_attach()278 "cpuport", &sc->cpuport); in e6060sw_attach()370 if (port == sc->cpuport) in e6060sw_miiforport()479 if (sc->cpuport != -1 && phy == sc->cpuport) { in e6060sw_getport()529 if (sc->portphy[p->es_port] == sc->cpuport) in e6060sw_setport()
64 int cpuport; member
175 sc->cpuport = MTKSWITCH_CPU_PORT; in mtkswitch_attach()425 return (sc->cpuport == port); in mtkswitch_is_cpuport()
237 if (port == sc->cpuport) in mtkswitch_port_init()