Lines Matching refs:f_sc
1490 struct usb_fifo_sc *f_sc, uint16_t unit, int16_t subunit, in usb_fifo_attach() argument
1498 f_sc->fp[USB_FIFO_TX] = NULL; in usb_fifo_attach()
1499 f_sc->fp[USB_FIFO_RX] = NULL; in usb_fifo_attach()
1552 f_sc->fp[USB_FIFO_TX] = f_tx; in usb_fifo_attach()
1553 f_sc->fp[USB_FIFO_RX] = f_rx; in usb_fifo_attach()
1593 f_sc->dev = usb_make_dev(udev, devname, -1, in usb_fifo_attach()
1649 usb_fifo_detach(struct usb_fifo_sc *f_sc) in usb_fifo_detach() argument
1651 if (f_sc == NULL) { in usb_fifo_detach()
1654 usb_fifo_free(f_sc->fp[USB_FIFO_TX]); in usb_fifo_detach()
1655 usb_fifo_free(f_sc->fp[USB_FIFO_RX]); in usb_fifo_detach()
1657 f_sc->fp[USB_FIFO_TX] = NULL; in usb_fifo_detach()
1658 f_sc->fp[USB_FIFO_RX] = NULL; in usb_fifo_detach()
1660 usb_destroy_dev(f_sc->dev); in usb_fifo_detach()
1662 f_sc->dev = NULL; in usb_fifo_detach()
1664 DPRINTFN(2, "detached %p\n", f_sc); in usb_fifo_detach()