Home
last modified time | relevance | path

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

/third_party/FreeBSD/sys/dev/usb/net/
H A Dusb_ethernet.c164 struct eth_drv_sc *drv_sc; in if_alloc() local
171 drv_sc = (struct eth_drv_sc *)zalloc(sizeof(struct eth_drv_sc)); in if_alloc()
172 if (drv_sc == NULL) { in if_alloc()
177 drv_sc->funs = (struct eth_hwr_funs*)zalloc(sizeof(struct eth_hwr_funs)); in if_alloc()
178 if (drv_sc->funs == NULL) { in if_alloc()
181 free(drv_sc); in if_alloc()
184 sc->driver_context = drv_sc; in if_alloc()
192 struct eth_drv_sc *drv_sc; in if_free() local
197 drv_sc = (struct eth_drv_sc *)sc->driver_context; in if_free()
198 if (drv_sc ! in if_free()
212 struct eth_drv_sc *drv_sc = (struct eth_drv_sc *)sc->driver_context; ue_recv() local
285 struct eth_drv_sc *drv_sc; ue_attach_post_task() local
345 struct eth_drv_sc *drv_sc; uether_ifdetach() local
407 struct eth_drv_sc *drv_sc = (struct eth_drv_sc *)sc->driver_context; ue_init() local
422 struct eth_drv_sc *drv_sc = (struct eth_drv_sc *)sc->driver_context; ue_start_task() local
456 struct eth_drv_sc *drv_sc = (struct eth_drv_sc *)sc->driver_context; ue_start() local
495 struct eth_drv_sc *drv_sc = (struct eth_drv_sc *)sc->driver_context; ue_watchdog() local
514 struct eth_drv_sc *drv_sc = (struct eth_drv_sc *)sc->driver_context; ue_tick_task() local
620 struct eth_drv_sc *drv_sc = (struct eth_drv_sc *)sc->driver_context; uether_rxflush() local
[all...]
H A Dusb_eth_drv.c64 struct eth_drv_sc *drv_sc = (struct eth_drv_sc*)sc->driver_context; in eth_drv_init() local
85 (drv_sc->funs->start)(sc, NULL, 0); in eth_drv_init()
132 struct eth_drv_sc *drv_sc = (struct eth_drv_sc*)sc->driver_context; in eth_drv_recv() local
155 (drv_sc->funs->recv)(sc, sg_list, sg_len); in eth_drv_recv()
168 struct eth_drv_sc *drv_sc = (struct eth_drv_sc*)sc->driver_context; in eth_drv_send() local
172 while (!(drv_sc->funs->can_send)(sc)); in eth_drv_send()
179 (drv_sc->funs->send) (sc, sg_list, sg_len, p ? p->tot_len : 0, (UINTPTR)p); in eth_drv_send()
H A Dif_axe.c659 struct eth_drv_sc *drv_sc = (struct eth_drv_sc *)ifp->driver_context; in axe_miibus_statchg() local
661 if (drv_sc->state & IFF_DRV_RUNNING) { in axe_miibus_statchg()
907 struct eth_drv_sc *drv_sc = (struct eth_drv_sc *)ifp->driver_context; in axe_bulk_write_callback() local
919 drv_sc->state &= ~IFF_DRV_OACTIVE; in axe_bulk_write_callback()
923 if (drv_sc->state & IFF_DRV_OACTIVE) in axe_bulk_write_callback()
966 drv_sc->state |= IFF_DRV_OACTIVE; in axe_bulk_write_callback()
973 drv_sc->state &= ~IFF_DRV_OACTIVE; in axe_bulk_write_callback()
1007 struct eth_drv_sc *drv_sc = (struct eth_drv_sc *)ifp->driver_context; in axe_init() local
1010 drv_sc->state = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; in axe_init()
1013 if ((drv_sc in axe_init()
1096 struct eth_drv_sc *drv_sc = (struct eth_drv_sc *)ifp->driver_context; axe_setpromisc() local
1133 struct eth_drv_sc *drv_sc = (struct eth_drv_sc *)ifp->driver_context; axe_stop() local
[all...]
H A Dif_axge.c573 struct eth_drv_sc *drv_sc = (struct eth_drv_sc *)ifp->driver_context; in axge_bulk_write_callback() local
585 drv_sc->state &= ~IFF_DRV_OACTIVE; in axge_bulk_write_callback()
589 if (drv_sc->state & IFF_DRV_OACTIVE) in axge_bulk_write_callback()
632 drv_sc->state |= IFF_DRV_OACTIVE; in axge_bulk_write_callback()
637 drv_sc->state &= ~IFF_DRV_OACTIVE; in axge_bulk_write_callback()
665 struct eth_drv_sc *drv_sc = (struct eth_drv_sc *)ifp->driver_context; in axge_init() local
668 drv_sc->state = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; in axge_init()
671 if ((drv_sc->state & IFF_DRV_RUNNING) != 0) in axge_init()
708 drv_sc->state |= IFF_DRV_RUNNING; in axge_init()
716 struct eth_drv_sc *drv_sc in axge_stop() local
[all...]
H A Dif_urndis.c346 struct eth_drv_sc *drv_sc = (struct eth_drv_sc *)ifp->driver_context; in urndis_init() local
350 drv_sc->state |= IFF_DRV_RUNNING; in urndis_init()
364 struct eth_drv_sc *drv_sc = (struct eth_drv_sc *)ifp->driver_context; in urndis_stop() local
368 drv_sc->state &= ~IFF_DRV_RUNNING; in urndis_stop()
H A Dif_cdce.c776 struct eth_drv_sc *drv_sc = (struct eth_drv_sc *)ifp->driver_context; in cdce_init() local
782 drv_sc->state |= IFF_DRV_RUNNING; in cdce_init()
806 struct eth_drv_sc *drv_sc = (struct eth_drv_sc *)ifp->driver_context; in cdce_stop() local
812 drv_sc->state &= ~IFF_DRV_RUNNING; in cdce_stop()

Completed in 8 milliseconds