Lines Matching defs:fifo
234 device_printf(dev, "could not attach fifo. %s\n",
307 struct usb_fifo *fifo = sc->sc_fifo.fp[USB_FIFO_RX];
316 usb_fifo_put_data(fifo, pc, 0, actlen, 1);
321 if (usb_fifo_put_bytes_max(fifo) > 0) {
342 ubtbcmfw_start_read(struct usb_fifo *fifo)
344 struct ubtbcmfw_softc *sc = usb_fifo_softc(fifo);
350 * Called when we about to stop reading (i.e. closing fifo)
354 ubtbcmfw_stop_read(struct usb_fifo *fifo)
356 struct ubtbcmfw_softc *sc = usb_fifo_softc(fifo);
363 * for write or flushing fifo
367 ubtbcmfw_start_write(struct usb_fifo *fifo)
369 struct ubtbcmfw_softc *sc = usb_fifo_softc(fifo);
375 * Called when we about to stop writing (i.e. closing fifo)
379 ubtbcmfw_stop_write(struct usb_fifo *fifo)
381 struct ubtbcmfw_softc *sc = usb_fifo_softc(fifo);
387 * Called when fifo is open
391 ubtbcmfw_open(struct usb_fifo *fifo, int fflags)
393 struct ubtbcmfw_softc *sc = usb_fifo_softc(fifo);
397 * f_open fifo method can only be called with either FREAD
408 if (usb_fifo_alloc_buffer(fifo, usbd_xfer_max_len(xfer),
416 * Called when fifo is closed
420 ubtbcmfw_close(struct usb_fifo *fifo, int fflags)
423 usb_fifo_free_buffer(fifo);
431 ubtbcmfw_ioctl(struct usb_fifo *fifo, u_long cmd, void *data,
434 struct ubtbcmfw_softc *sc = usb_fifo_softc(fifo);