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.c1483 struct usb_fifo *f_rx = NULL; in usb_fifo_attach() local
1517 f_rx = usb_fifo_alloc(priv_mtx); in usb_fifo_attach()
1519 if ((f_tx == NULL) || (f_rx == NULL)) { in usb_fifo_attach()
1521 usb_fifo_free(f_rx); in usb_fifo_attach()
1533 f_rx->fifo_index = n + USB_FIFO_RX; in usb_fifo_attach()
1534 f_rx->dev_ep_index = -1; in usb_fifo_attach()
1535 f_rx->priv_sc0 = priv_sc; in usb_fifo_attach()
1536 f_rx->methods = pm; in usb_fifo_attach()
1537 f_rx->iface_index = iface_index; in usb_fifo_attach()
1538 f_rx->udev = udev; in usb_fifo_attach()
[all …]
Dusb_generic.c1300 struct usb_fifo *f_rx; in ugen_fifo_in_use() local
1303 f_rx = f->udev->fifo[(f->fifo_index & ~1) + USB_FIFO_RX]; in ugen_fifo_in_use()
1306 if (((unsigned int)fflags & FREAD) && f_rx && in ugen_fifo_in_use()
1307 (f_rx->xfer[0] || f_rx->xfer[1])) { in ugen_fifo_in_use()
1900 struct usb_fifo *f_rx; in ugen_iface_ioctl() local
1905 f_rx = f->udev->fifo[(f->fifo_index & ~1) + USB_FIFO_RX]; in ugen_iface_ioctl()
1915 error = ugen_set_short_xfer(f_rx, &data); in ugen_iface_ioctl()
1939 error = ugen_set_timeout(f_rx, &data); in ugen_iface_ioctl()
1959 error = ugen_get_frame_size(f_rx, &data); in ugen_iface_ioctl()
1985 error = ugen_set_buffer_size(f_rx, &data); in ugen_iface_ioctl()
[all …]