Home
last modified time | relevance | path

Searched refs:portphy (Results 1 – 8 of 8) sorted by relevance

/freebsd/sys/dev/etherswitch/infineon/
H A Dadm6996fc.c98 int *portphy; member
174 sc->portphy[port] = phy; in adm6996fc_attach_phys()
200 sc->portphy[port] = sc->cpuport; in adm6996fc_attach_phys()
251 sc->portphy = malloc(sizeof(int) * sc->numports, M_ADM6996FC, in adm6996fc_attach()
272 free(sc->portphy, M_ADM6996FC); in adm6996fc_attach()
304 free(sc->portphy, M_ADM6996FC); in adm6996fc_detach()
453 phy = sc->portphy[p->es_port]; 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/ukswitch/
H A Dukswitch.c73 int *portphy; member
125 sc->portphy[port] = phy; in ukswitch_attach_phys()
202 sc->portphy = malloc(sizeof(int) * sc->numports, M_UKSWITCH, in ukswitch_attach()
245 free(sc->portphy, M_UKSWITCH); in ukswitch_detach()
359 phy = sc->portphy[p->es_port]; in ukswitch_getport()
396 if (sc->portphy[p->es_port] == sc->cpuport) in ukswitch_setport()
/freebsd/sys/dev/etherswitch/micrel/
H A Dksz8995ma.c149 int *portphy; member
220 sc->portphy[port] = phy; in ksz8995ma_attach_phys()
246 sc->portphy[port] = sc->cpuport; in ksz8995ma_attach_phys()
301 sc->portphy = malloc(sizeof(int) * sc->numports, M_KSZ8995MA, in ksz8995ma_attach()
330 free(sc->portphy, M_KSZ8995MA); in ksz8995ma_attach()
362 free(sc->portphy, M_KSZ8995MA); in ksz8995ma_detach()
513 phy = sc->portphy[p->es_port]; in ksz8995ma_getport()
590 phy = sc->portphy[p->es_port]; in ksz8995ma_setport()
/freebsd/sys/dev/etherswitch/ip17x/
H A Dip17x.c173 sc->portphy[port] = phy; in ip17x_attach_phys()
241 sc->portphy = malloc(sizeof(int) * sc->numports, M_IP17X, in ip17x_attach()
296 free(sc->portphy, M_IP17X); in ip17x_detach()
407 phy = sc->portphy[p->es_port]; in ip17x_getport()
461 phy = sc->portphy[p->es_port]; in ip17x_setport()
H A Dip17x_var.h54 int *portphy; member
H A Dip17x_vlans.c182 phy = sc->portphy[i]; in ip17x_setvgroup()
H A Dip175c.c92 phy = sc->portphy[i]; in ip175c_port_vlan_setup()
/freebsd/sys/dev/etherswitch/e6000sw/
H A De6060sw.c118 int *portphy; member
215 sc->portphy[port] = phy; in e6060sw_attach_phys()
241 sc->portphy[port] = sc->cpuport; in e6060sw_attach_phys()
299 sc->portphy = malloc(sizeof(int) * sc->numports, M_E6060SW, in e6060sw_attach()
344 free(sc->portphy, M_E6060SW); in e6060sw_detach()
477 phy = sc->portphy[p->es_port]; in e6060sw_getport()
529 if (sc->portphy[p->es_port] == sc->cpuport) in e6060sw_setport()