Home
last modified time | relevance | path

Searched refs:usb_fifo (Results 1 – 8 of 8) sorted by relevance

/third_party/FreeBSD/sys/dev/usb/
Dusbdi.h31 struct usb_fifo;
99 typedef int (usb_fifo_open_t)(struct usb_fifo *fifo, int fflags);
100 typedef void (usb_fifo_close_t)(struct usb_fifo *fifo, int fflags);
101 typedef int (usb_fifo_ioctl_t)(struct usb_fifo *fifo, u_long cmd, void *addr, int fflags);
102 typedef void (usb_fifo_cmd_t)(struct usb_fifo *fifo);
103 typedef void (usb_fifo_filter_t)(struct usb_fifo *fifo, struct usb_mbuf *m);
493 struct usb_fifo *fp[2];
625 int usb_fifo_alloc_buffer(struct usb_fifo *f, uint32_t bufsize,
627 void usb_fifo_free_buffer(struct usb_fifo *f);
628 uint32_t usb_fifo_put_bytes_max(struct usb_fifo *fifo);
[all …]
Dusb_dev.h32 struct usb_fifo;
78 struct usb_fifo *rxfifo;
79 struct usb_fifo *txfifo;
102 struct usb_fifo { struct
145 int usb_fifo_wait(struct usb_fifo *fifo); argument
146 void usb_fifo_signal(struct usb_fifo *fifo);
147 uint8_t usb_fifo_opened(struct usb_fifo *fifo);
Dusb_generic.c57 static int ugen_transfer_setup(struct usb_fifo *,
59 static int ugen_open_pipe_write(struct usb_fifo *);
60 static int ugen_open_pipe_read(struct usb_fifo *);
61 static int ugen_set_config(struct usb_fifo *, uint8_t);
62 static int ugen_set_interface(struct usb_fifo *, uint8_t, uint8_t);
63 static int ugen_get_cdesc(struct usb_fifo *, struct usb_gen_descriptor *);
64 static int ugen_get_sdesc(struct usb_fifo *, struct usb_gen_descriptor *);
65 static int ugen_get_iface_driver(struct usb_fifo *f, struct usb_gen_descriptor *ugd);
66 static int usb_gen_fill_deviceinfo(struct usb_fifo *,
68 static int ugen_re_enumerate(struct usb_fifo *);
[all …]
Dusb_dev.c49 struct usb_fifo *, int);
50 static void usb_fifo_close(struct usb_fifo *, int);
52 static struct usb_fifo *usb_fifo_alloc(struct mtx *);
119 struct usb_fifo **ppf = NULL; in usb_ref_device()
120 struct usb_fifo *f = NULL; in usb_ref_device()
310 static struct usb_fifo *
313 struct usb_fifo *f; in usb_fifo_alloc()
334 struct usb_fifo *f = NULL; in usb_fifo_create()
503 usb_fifo_free(struct usb_fifo *f) in usb_fifo_free()
611 struct usb_fifo *f, int fflags) in usb_fifo_open()
[all …]
Dusb_generic.h33 int ugen_do_request(struct usb_fifo *f, struct usb_ctl_request *ur);
Dusb_device.h220 struct usb_fifo *fifo[USB_FIFO_MAX];
Dusb_device.c2543 struct usb_fifo *f; in usb_fifo_free_wrap()
/third_party/FreeBSD/sys/dev/usb/input/
Duhid.c390 uhid_start_read(struct usb_fifo *fifo) in uhid_start_read()
402 uhid_stop_read(struct usb_fifo *fifo) in uhid_stop_read()
411 uhid_start_write(struct usb_fifo *fifo) in uhid_start_write()
424 uhid_stop_write(struct usb_fifo *fifo) in uhid_stop_write()
512 uhid_open(struct usb_fifo *fifo, int fflags) in uhid_open()
542 uhid_close(struct usb_fifo *fifo, int fflags) in uhid_close()
550 uhid_ioctl(struct usb_fifo *fifo, u_long cmd, void *addr, in uhid_ioctl()