Lines Matching refs:f_sc
1479 struct usb_fifo_sc *f_sc, uint16_t unit, int16_t subunit, in usb_fifo_attach() argument
1487 f_sc->fp[USB_FIFO_TX] = NULL; in usb_fifo_attach()
1488 f_sc->fp[USB_FIFO_RX] = NULL; in usb_fifo_attach()
1540 f_sc->fp[USB_FIFO_TX] = f_tx; in usb_fifo_attach()
1541 f_sc->fp[USB_FIFO_RX] = f_rx; in usb_fifo_attach()
1580 f_sc->dev = usb_make_dev(udev, devname, -1, in usb_fifo_attach()
1657 usb_fifo_detach(struct usb_fifo_sc *f_sc) in usb_fifo_detach() argument
1659 if (f_sc == NULL) { in usb_fifo_detach()
1662 usb_fifo_free(f_sc->fp[USB_FIFO_TX]); in usb_fifo_detach()
1663 usb_fifo_free(f_sc->fp[USB_FIFO_RX]); in usb_fifo_detach()
1665 f_sc->fp[USB_FIFO_TX] = NULL; in usb_fifo_detach()
1666 f_sc->fp[USB_FIFO_RX] = NULL; in usb_fifo_detach()
1668 usb_destroy_dev(f_sc->dev); in usb_fifo_detach()
1670 f_sc->dev = NULL; in usb_fifo_detach()
1672 DPRINTFN(2, "detached %p\n", f_sc); in usb_fifo_detach()