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.c233 sc->phymask |= (1 << sc->cpuport); in ip17x_attach()
427 if (phy == sc->cpuport) { in ip17x_getport()
499 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
171 sc->cpuport = -1; in ukswitch_attach()
181 "cpuport", &sc->cpuport); in ukswitch_attach()
189 if (sc->cpuport != -1) in ukswitch_attach()
191 sc->phymask |= (1 << sc->cpuport); in ukswitch_attach()
361 if (sc->cpuport != -1 && phy == sc->cpuport) { in ukswitch_getport()
396 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()
243 if (sc->cpuport != -1) { in ksz8995ma_attach_phys()
245 sc->ifpport[sc->cpuport] = port; in ksz8995ma_attach_phys()
246 sc->portphy[port] = sc->cpuport; in ksz8995ma_attach_phys()
286 sc->cpuport = -1; in ksz8995ma_attach()
290 "cpuport", &sc->cpuport); in ksz8995ma_attach()
388 if (port == sc->cpuport) in ksz8995ma_miiforport()
415 if (i == sc->cpuport) in ksz8995ma_miipollstat()
515 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
197 if (sc->cpuport != -1) { in adm6996fc_attach_phys()
199 sc->ifpport[sc->cpuport] = port; in adm6996fc_attach_phys()
200 sc->portphy[port] = sc->cpuport; in adm6996fc_attach_phys()
239 sc->cpuport = 5; in adm6996fc_attach()
330 if (port == sc->cpuport) in adm6996fc_miiforport()
455 if (sc->cpuport != -1 && phy == sc->cpuport) { in adm6996fc_getport()
519 if (sc->portphy[p->es_port] == sc->cpuport) in adm6996fc_setport()
523 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
238 if (sc->cpuport != -1) { in e6060sw_attach_phys()
240 sc->ifpport[sc->cpuport] = port; in e6060sw_attach_phys()
241 sc->portphy[port] = sc->cpuport; in e6060sw_attach_phys()
265 sc->cpuport = 2; in e6060sw_attach()
269 sc->cpuport = 5; in e6060sw_attach()
278 "cpuport", &sc->cpuport); in e6060sw_attach()
370 if (port == sc->cpuport) in e6060sw_miiforport()
479 if (sc->cpuport != -1 && phy == sc->cpuport) { in e6060sw_getport()
529 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.c175 sc->cpuport = MTKSWITCH_CPU_PORT; in mtkswitch_attach()
425 return (sc->cpuport == port); in mtkswitch_is_cpuport()
H A Dmtkswitch_mt7620.c237 if (port == sc->cpuport) in mtkswitch_port_init()