Home
last modified time | relevance | path

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

/freebsd-12-stable/sys/dev/etherswitch/ip17x/
Dip175c.c88 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()
Dip17x_var.h52 int cpuport; /* which PHY is connected to the CPU */ member
Dip17x.c241 sc->phymask |= (1 << sc->cpuport); in ip17x_attach()
436 if (phy == sc->cpuport) { in ip17x_getport()
508 if (phy == sc->cpuport) in ip17x_setport()
Dip175d.c218 sc->cpuport = IP175X_CPU_PORT; in ip175d_attach()
Dip17x_vlans.c82 v->ports = (1 << sc->cpuport); in ip17x_reset_vlans()
/freebsd-12-stable/sys/dev/etherswitch/ukswitch/
Dukswitch.c70 int cpuport; /* which PHY is connected to the CPU */ member
179 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()
/freebsd-12-stable/sys/dev/etherswitch/micrel/
Dksz8995ma.c147 int cpuport; /* which PHY is connected to the CPU */ member
217 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 …]
/freebsd-12-stable/sys/dev/etherswitch/infineon/
Dadm6996fc.c96 int cpuport; /* which PHY is connected to the CPU */ member
209 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()
/freebsd-12-stable/sys/dev/etherswitch/e6000sw/
De6060sw.c116 int cpuport; /* which PHY is connected to the CPU */ member
248 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()
/freebsd-12-stable/sys/dev/etherswitch/mtkswitch/
Dmtkswitchvar.h66 int cpuport; member
Dmtkswitch.c182 sc->cpuport = MTKSWITCH_CPU_PORT; in mtkswitch_attach()
434 return (sc->cpuport == port); in mtkswitch_is_cpuport()
Dmtkswitch_mt7620.c239 if (port == sc->cpuport) in mtkswitch_port_init()