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

/freebsd-10-stable/sys/dev/etherswitch/ip17x/
H A Dip175c.c86 KASSERT(sc->cpuport == 5, ("cpuport != 5 not supported for IP175C"));
97 /* Move the cpuport bit to its correct place. */
99 if (ports[i] & (1 << sc->cpuport)) {
101 ports[i] &= ~(1 << sc->cpuport);
129 KASSERT(sc->cpuport == 5, ("cpuport != 5 not supported for IP175C"));
244 sc->cpuport = IP175X_CPU_PORT;
H A Dip17x_var.h50 int cpuport; /* which PHY is connected to the CPU */ member in struct:ip17x_softc
H A Dip175d.c216 sc->cpuport = IP175X_CPU_PORT;
H A Dip17x_vlans.c80 v->ports = (1 << sc->cpuport);
H A Dip17x.c201 sc->phymask |= (1 << sc->cpuport);
397 if (phy == sc->cpuport) {
469 if (phy == sc->cpuport)
/freebsd-10-stable/sys/dev/etherswitch/ukswitch/
H A Dukswitch.c66 int cpuport; /* which PHY is connected to the CPU */ member in struct:ukswitch_softc
167 sc->cpuport = -1;
175 "cpuport", &sc->cpuport);
183 if (sc->cpuport != -1)
185 sc->phymask |= (1 << sc->cpuport);
356 if (sc->cpuport != -1 && phy == sc->cpuport) {
391 if (sc->portphy[p->es_port] == sc->cpuport)

Completed in 287 milliseconds