Home
last modified time | relevance | path

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

/third_party/FreeBSD/stand/usb/
Dusb_busdma_loader.c78 res->buffer = USB_ADD_BYTES(pc->buffer, offset); in usbd_get_page()
102 res->buffer = USB_ADD_BYTES(page->buffer, offset); in usbd_get_page()
109 res->buffer = USB_ADD_BYTES(pc->buffer, offset); in usbd_get_page()
140 ptr = USB_ADD_BYTES(ptr, buf_res.length); in usbd_copy_in()
164 ptr = USB_ADD_BYTES(ptr, res.length); in usbd_copy_out()
/third_party/FreeBSD/sys/dev/usb/
Dusb_transfer.c297 pc->buffer = USB_ADD_BYTES(buf, y * size); in usbd_transfer_setup_sub_malloc()
727 USB_ADD_BYTES(parm->buf, parm->size[0]); in usbd_transfer_setup_sub()
932 info = USB_ADD_BYTES(buf, 0); in usbd_transfer_setup()
938 info->dma_page_cache_start = USB_ADD_BYTES(buf, parm->size[4]); in usbd_transfer_setup()
939 info->dma_page_cache_end = USB_ADD_BYTES(buf, parm->size[5]); in usbd_transfer_setup()
941 info->xfer_page_cache_start = USB_ADD_BYTES(buf, parm->size[5]); in usbd_transfer_setup()
942 info->xfer_page_cache_end = USB_ADD_BYTES(buf, parm->size[2]); in usbd_transfer_setup()
1037 xfer = USB_ADD_BYTES(buf, parm->size[0]); in usbd_transfer_setup()
1199 parm->dma_tag_p = USB_ADD_BYTES(buf, parm->size[1]); in usbd_transfer_setup()
1200 parm->dma_page_ptr = USB_ADD_BYTES(buf, parm->size[3]); in usbd_transfer_setup()
[all …]
Dusb_handle_request.c584 USB_ADD_BYTES(&src_zcopy, 0), in usb_handle_request()
745 src_mcopy = USB_ADD_BYTES(src_mcopy, off); in usb_handle_request()
751 USB_ADD_BYTES(src_zcopy, off), max_len); in usb_handle_request()
Dusb_dev.c1757 ptr = USB_ADD_BYTES(ptr, io_len); in usb_fifo_put_data_linear()
1899 ptr = USB_ADD_BYTES(ptr, io_len); in usb_fifo_get_data_linear()
2053 USB_ADD_BYTES(user_ptr, delta), 1); in usb_read_symlink()
2062 USB_ADD_BYTES(user_ptr, delta), ps->src_len); in usb_read_symlink()
2069 USB_ADD_BYTES(user_ptr, delta), 1); in usb_read_symlink()
2078 USB_ADD_BYTES(user_ptr, delta), ps->dst_len); in usb_read_symlink()
2085 USB_ADD_BYTES(user_ptr, delta), 1); in usb_read_symlink()
2100 USB_ADD_BYTES(user_ptr, delta), 1); in usb_read_symlink()
Dusb_core.h62 #define USB_ADD_BYTES(ptr,size) \ macro
Dusb_generic.c1081 kaddr = USB_ADD_BYTES(kaddr, offset); in ugen_fs_copy_in()
1249 kaddr = USB_ADD_BYTES( in ugen_fs_copy_out()
Dusb_request.c659 data = USB_ADD_BYTES(data, temp); in usbd_do_request_flags()
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/
Dlinux_usb.c713 (void)memcpy_s(USB_ADD_BYTES(urb->setup_packet, sizeof(req)), size, in usb_control_msg()
720 usb_bcopy(USB_ADD_BYTES(urb->setup_packet, in usb_control_msg()
1532 USB_ADD_BYTES(urb->transfer_buffer, in usb_linux_isoc_callback()
1608 USB_ADD_BYTES(urb->transfer_buffer, in usb_linux_isoc_callback()