Home
last modified time | relevance | path

Searched refs:usb_size_t (Results 1 – 23 of 23) sorted by relevance

/third_party/FreeBSD/sys/dev/usb/
Dusb_busdma.h75 usb_size_t length;
91 usb_size_t page_offset_buf;
92 usb_size_t page_offset_end;
126 usb_size_t align;
127 usb_size_t size;
139 usb_size_t size, usb_size_t align);
141 usb_size_t size, usb_size_t align);
142 uint8_t usb_pc_dmamap_create(struct usb_page_cache *pc, usb_size_t size);
143 uint8_t usb_pc_load_mem(struct usb_page_cache *pc, usb_size_t size,
Dusb_transfer.h83 usb_size_t memory_size;
84 usb_size_t setup_refcount;
113 usb_size_t size[7];
128 struct usb_page_cache **ppc, usb_size_t size, usb_size_t align,
129 usb_size_t count);
Dusbhid.h246 struct hid_data *hid_start_parse(const void *d, usb_size_t len, int kindset);
249 int hid_report_size(const void *buf, usb_size_t len, enum hid_kind k,
251 int hid_locate(const void *desc, usb_size_t size, int32_t usage,
254 int32_t hid_get_data(const uint8_t *buf, usb_size_t len,
256 uint32_t hid_get_data_unsigned(const uint8_t *buf, usb_size_t len,
258 void hid_put_data_unsigned(uint8_t *buf, usb_size_t len,
260 int hid_is_collection(const void *desc, usb_size_t size, int32_t usage);
Dusb_mbuf.h42 usb_size_t cur_data_len;
43 usb_size_t max_data_len;
90 usb_size_t block_size, uint16_t nblocks);
Dusbdi.h461 usb_size_t pm_num;
526 const struct usb_device_id *id, usb_size_t sizeof_id,
529 usb_size_t sizeof_id, struct usb_attach_arg *uaa);
612 struct mbuf *m, usb_size_t src_offset, usb_frlength_t src_len);
631 usb_size_t len, uint8_t what);
632 uint8_t usb_fifo_put_data_buffer(struct usb_fifo *f, void *ptr, usb_size_t len);
638 usb_size_t len, usb_size_t *actlen, uint8_t what);
640 usb_size_t *plen);
Dusb_mbuf.c40 usb_size_t block_size, uint16_t nblocks) in usb_alloc_mbufs()
45 usb_size_t alloc_size; in usb_alloc_mbufs()
Dusb_device.h110 usb_size_t type_refs[4]; /* transfer reference count */
111 usb_size_t read_refs; /* data read references */
112 usb_size_t write_refs; /* data write references */
149 usb_size_t size;
Dusb_hid.c156 hid_start_parse(const void *d, usb_size_t len, int kindset) in hid_start_parse()
543 hid_report_size(const void *buf, usb_size_t len, enum hid_kind k, uint8_t *id) in hid_report_size()
596 hid_locate(const void *desc, usb_size_t size, int32_t u, enum hid_kind k, in hid_locate()
630 hid_get_data_sub(const uint8_t *buf, usb_size_t len, struct hid_location *loc, in hid_get_data_sub()
674 hid_get_data(const uint8_t *buf, usb_size_t len, struct hid_location *loc) in hid_get_data()
680 hid_get_data_unsigned(const uint8_t *buf, usb_size_t len, struct hid_location *loc) in hid_get_data_unsigned()
689 hid_put_data_unsigned(uint8_t *buf, usb_size_t len, in hid_put_data_unsigned()
726 hid_is_collection(const void *desc, usb_size_t size, int32_t usage) in hid_is_collection()
Dusb_dev.h70 usb_size_t ifq_len;
71 usb_size_t ifq_maxlen;
Dusb_controller.h49 …t usb_bus *bus, struct usb_page_cache *pc, struct usb_page *pg, usb_size_t size, usb_size_t align);
Dusb_lookup.c46 usbd_lookup_id_by_info(const struct usb_device_id *id, usb_size_t sizeof_id, in usbd_lookup_id_by_info()
117 usbd_lookup_id_by_uaa(const struct usb_device_id *id, usb_size_t sizeof_id, in usbd_lookup_id_by_uaa()
Dusb_dev.c1597 usb_fifo_alloc_buffer(struct usb_fifo *f, usb_size_t bufsize, in usb_fifo_alloc_buffer()
1675 usb_size_t
1679 usb_size_t len; in usb_fifo_put_bytes_max()
1737 usb_size_t len, uint8_t what) in usb_fifo_put_data_linear()
1740 usb_size_t io_len; in usb_fifo_put_data_linear()
1777 usb_fifo_put_data_buffer(struct usb_fifo *f, void *ptr, usb_size_t len) in usb_fifo_put_data_buffer()
1876 usb_size_t len, usb_size_t *actlen, uint8_t what) in usb_fifo_get_data_linear()
1879 usb_size_t io_len; in usb_fifo_get_data_linear()
1941 usb_fifo_get_data_buffer(struct usb_fifo *f, void **pptr, usb_size_t *plen) in usb_fifo_get_data_buffer()
Dusb_freebsd_loader.h96 typedef uint32_t usb_size_t; /* bytes */ typedef
Dusb_hub.h55 usb_size_t uframe_usage[USB_HS_MICRO_FRAMES_MAX];
Dusb_process.h62 usb_size_t up_msg_num;
Dusb_bus.h107 usb_size_t uframe_usage[USB_HS_MICRO_FRAMES_MAX];
Dusb_transfer.c191 struct usb_page_cache **ppc, usb_size_t size, usb_size_t align, in usbd_transfer_setup_sub_malloc()
192 usb_size_t count) in usbd_transfer_setup_sub_malloc()
197 usb_size_t n_dma_pc; in usbd_transfer_setup_sub_malloc()
198 usb_size_t n_dma_pg; in usbd_transfer_setup_sub_malloc()
199 usb_size_t n_obj; in usbd_transfer_setup_sub_malloc()
200 usb_size_t x; in usbd_transfer_setup_sub_malloc()
201 usb_size_t y; in usbd_transfer_setup_sub_malloc()
202 usb_size_t r; in usbd_transfer_setup_sub_malloc()
203 usb_size_t z; in usbd_transfer_setup_sub_malloc()
Dusb_hub.c1877 usb_intr_find_best_slot(usb_size_t *ptr, uint8_t start, in usb_intr_find_best_slot()
1880 usb_size_t min = (usb_size_t)-1; in usb_intr_find_best_slot()
1881 usb_size_t sum; in usb_intr_find_best_slot()
2564 usb_size_t type_refs[5]; in usb_bus_powerd()
Dusb_process.c276 usb_size_t d; in usb_proc_msignal()
/third_party/FreeBSD/sys/compat/linuxkpi/common/include/linux/
Dusb.h248 usb_size_t transfer_buffer_length;/* (in) data buffer length */
249 usb_size_t bsd_length_rem;
250 usb_size_t actual_length; /* (return) actual transfer length */
306 void *usb_buffer_alloc(struct usb_device *dev, usb_size_t size,
310 void usb_buffer_free(struct usb_device *dev, usb_size_t size, void *addr, uint8_t dma_addr);
/third_party/FreeBSD/stand/usb/
Dusb_busdma_loader.c95 res->length = (usb_size_t)-1; in usbd_get_page()
110 res->length = (usb_size_t)-1; in usbd_get_page()
243 usb_size_t rem; in usb_pc_common_mem_cb()
269 usb_size_t size, usb_size_t align) in usb_pc_alloc_mem()
332 usb_pc_load_mem(struct usb_page_cache *pc, usb_size_t size, uint8_t data_sync) in usb_pc_load_mem()
394 usb_pc_dmamap_create(struct usb_page_cache *pc, usb_size_t size) in usb_pc_dmamap_create()
/third_party/FreeBSD/sys/dev/usb/controller/
Dusb_controller.c800 struct usb_page *pg, usb_size_t nsize, usb_size_t align) in usb_bus_mem_flush_all_cb()
825 struct usb_page *pg, usb_size_t nsize, usb_size_t align) in usb_bus_mem_alloc_all_cb()
888 struct usb_page *pg, usb_size_t nsize, usb_size_t align) in usb_bus_mem_free_all_cb()
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/
Dlinux_usb.c772 struct usb_host_endpoint *uhe, usb_size_t bufsize, uint32_t packets) in usb_setup_endpoint_agg()
862 struct usb_host_endpoint *uhe, usb_size_t bufsize) in usb_setup_endpoint()
884 usb_size_t size; in usb_linux_create_usb_device()
1006 usb_size_t size; in usb_create_usb_device()
1131 usb_size_t size; in usb_alloc_urb()
1264 usb_buffer_alloc(struct usb_device *dev, usb_size_t size, uint16_t mem_flags, uint8_t *dma_addr) in usb_buffer_alloc()
1361 usb_buffer_free(struct usb_device *dev, usb_size_t size, in usb_buffer_free()