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
239 sc->phymask |= (1 << sc->cpuport); in ip17x_attach()434 if (phy == sc->cpuport) { in ip17x_getport()506 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 */ member177 sc->cpuport = -1; in ukswitch_attach()187 "cpuport", &sc->cpuport); in ukswitch_attach()195 if (sc->cpuport != -1) in ukswitch_attach()197 sc->phymask |= (1 << sc->cpuport); in ukswitch_attach()368 if (sc->cpuport != -1 && phy == sc->cpuport) { in ukswitch_getport()403 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()253 if (sc->cpuport != -1) { in ksz8995ma_attach_phys()255 sc->ifpport[sc->cpuport] = port; in ksz8995ma_attach_phys()256 sc->portphy[port] = sc->cpuport; in ksz8995ma_attach_phys()296 sc->cpuport = -1; in ksz8995ma_attach()300 "cpuport", &sc->cpuport); in ksz8995ma_attach()409 if (port == sc->cpuport) in ksz8995ma_miiforport()436 if (i == sc->cpuport) in ksz8995ma_miipollstat()536 if (sc->cpuport != -1 && phy == sc->cpuport) { in ksz8995ma_getport()[all …]
94 int cpuport; /* which PHY is connected to the CPU */ member207 if (sc->cpuport != -1) { in adm6996fc_attach_phys()209 sc->ifpport[sc->cpuport] = port; in adm6996fc_attach_phys()210 sc->portphy[port] = sc->cpuport; in adm6996fc_attach_phys()249 sc->cpuport = 5; in adm6996fc_attach()351 if (port == sc->cpuport) in adm6996fc_miiforport()476 if (sc->cpuport != -1 && phy == sc->cpuport) { in adm6996fc_getport()540 if (sc->portphy[p->es_port] == sc->cpuport) in adm6996fc_setport()544 if (sc->portphy[p->es_port] != sc->cpuport) { in adm6996fc_setport()
114 int cpuport; /* which PHY is connected to the CPU */ member244 if (sc->cpuport != -1) { in e6060sw_attach_phys()246 sc->ifpport[sc->cpuport] = port; in e6060sw_attach_phys()247 sc->portphy[port] = sc->cpuport; in e6060sw_attach_phys()271 sc->cpuport = 2; in e6060sw_attach()275 sc->cpuport = 5; in e6060sw_attach()284 "cpuport", &sc->cpuport); in e6060sw_attach()377 if (port == sc->cpuport) in e6060sw_miiforport()486 if (sc->cpuport != -1 && phy == sc->cpuport) { in e6060sw_getport()536 if (sc->portphy[p->es_port] == sc->cpuport) in e6060sw_setport()
64 int cpuport; member
181 sc->cpuport = MTKSWITCH_CPU_PORT; in mtkswitch_attach()433 return (sc->cpuport == port); in mtkswitch_is_cpuport()
237 if (port == sc->cpuport) in mtkswitch_port_init()