Home
last modified time | relevance | path

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

/freebsd/sys/dev/etherswitch/ip17x/
H A Dip175c.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()
251 sc->cpuport = IP175X_CPU_PORT; in ip175c_attach()
H A Dip17x_var.h50 int cpuport; /* which PHY is connected to the CPU */ member
H A Dip17x.c239 sc->phymask |= (1 << sc->cpuport); in ip17x_attach()
434 if (phy == sc->cpuport) { in ip17x_getport()
506 if (phy == sc->cpuport) in ip17x_setport()
H A Dip175d.c216 sc->cpuport = IP175X_CPU_PORT; in ip175d_attach()
H A Dip17x_vlans.c80 v->ports = (1 << sc->cpuport); in ip17x_reset_vlans()
/freebsd/sys/dev/etherswitch/ukswitch/
H A Dukswitch.c68 int cpuport; /* which PHY is connected to the CPU */ member
177 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()
/freebsd/sys/dev/etherswitch/micrel/
H A Dksz8995ma.c145 int cpuport; /* which PHY is connected to the CPU */ member
215 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 …]
/freebsd/sys/dev/etherswitch/infineon/
H A Dadm6996fc.c94 int cpuport; /* which PHY is connected to the CPU */ member
207 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()
/freebsd/sys/dev/etherswitch/e6000sw/
H A De6060sw.c114 int cpuport; /* which PHY is connected to the CPU */ member
244 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()
/freebsd/sys/dev/etherswitch/mtkswitch/
H A Dmtkswitchvar.h64 int cpuport; member
H A Dmtkswitch.c181 sc->cpuport = MTKSWITCH_CPU_PORT; in mtkswitch_attach()
433 return (sc->cpuport == port); in mtkswitch_is_cpuport()
H A Dmtkswitch_mt7620.c237 if (port == sc->cpuport) in mtkswitch_port_init()