Home
last modified time | relevance | path

Searched refs:f_rx (Results 1 – 2 of 2) sorted by relevance

/third_party/FreeBSD/sys/dev/usb/
Dusb_dev.c1482 struct usb_fifo *f_rx = NULL; in usb_fifo_attach() local
1516 f_rx = usb_fifo_alloc(priv_mtx); in usb_fifo_attach()
1518 if ((f_tx == NULL) || (f_rx == NULL)) { in usb_fifo_attach()
1520 usb_fifo_free(f_rx); in usb_fifo_attach()
1532 f_rx->fifo_index = n + USB_FIFO_RX; in usb_fifo_attach()
1533 f_rx->dev_ep_index = -1; in usb_fifo_attach()
1534 f_rx->priv_sc0 = priv_sc; in usb_fifo_attach()
1535 f_rx->methods = pm; in usb_fifo_attach()
1536 f_rx->iface_index = iface_index; in usb_fifo_attach()
1537 f_rx->udev = udev; in usb_fifo_attach()
[all …]
Dusb_generic.c1299 struct usb_fifo *f_rx; in ugen_fifo_in_use() local
1302 f_rx = f->udev->fifo[(f->fifo_index & ~1) + USB_FIFO_RX]; in ugen_fifo_in_use()
1305 if (((unsigned int)fflags & FREAD) && f_rx && in ugen_fifo_in_use()
1306 (f_rx->xfer[0] || f_rx->xfer[1])) { in ugen_fifo_in_use()
1899 struct usb_fifo *f_rx; in ugen_iface_ioctl() local
1904 f_rx = f->udev->fifo[(f->fifo_index & ~1) + USB_FIFO_RX]; in ugen_iface_ioctl()
1914 error = ugen_set_short_xfer(f_rx, &data); in ugen_iface_ioctl()
1938 error = ugen_set_timeout(f_rx, &data); in ugen_iface_ioctl()
1958 error = ugen_get_frame_size(f_rx, &data); in ugen_iface_ioctl()
1984 error = ugen_set_buffer_size(f_rx, &data); in ugen_iface_ioctl()
[all …]