Home
last modified time | relevance | path

Searched refs:cpuport (Results 1 – 6 of 6) sorted by relevance

/trueos/sys/dev/etherswitch/ip17x/
HDip175c.c86 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()
244 sc->cpuport = IP175X_CPU_PORT; in ip175c_attach()
HDip17x_var.h50 int cpuport; /* which PHY is connected to the CPU */ member
HDip17x.c201 sc->phymask |= (1 << sc->cpuport); in ip17x_attach()
397 if (phy == sc->cpuport) { in ip17x_getport()
469 if (phy == sc->cpuport) in ip17x_setport()
HDip175d.c216 sc->cpuport = IP175X_CPU_PORT; in ip175d_attach()
HDip17x_vlans.c80 v->ports = (1 << sc->cpuport); in ip17x_reset_vlans()
/trueos/sys/dev/etherswitch/ukswitch/
HDukswitch.c66 int cpuport; /* which PHY is connected to the CPU */ member
167 sc->cpuport = -1; in ukswitch_attach()
175 "cpuport", &sc->cpuport); in ukswitch_attach()
183 if (sc->cpuport != -1) in ukswitch_attach()
185 sc->phymask |= (1 << sc->cpuport); in ukswitch_attach()
356 if (sc->cpuport != -1 && phy == sc->cpuport) { in ukswitch_getport()
391 if (sc->portphy[p->es_port] == sc->cpuport) in ukswitch_setport()