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.c301 pc->buffer = USB_ADD_BYTES(buf, y * size); in usbd_transfer_setup_sub_malloc()
744 USB_ADD_BYTES(parm->buf, parm->size[0]); in usbd_transfer_setup_sub()
951 info = USB_ADD_BYTES(buf, 0); in usbd_transfer_setup()
957 info->dma_page_cache_start = USB_ADD_BYTES(buf, parm->size[4]); in usbd_transfer_setup()
958 info->dma_page_cache_end = USB_ADD_BYTES(buf, parm->size[5]); in usbd_transfer_setup()
960 info->xfer_page_cache_start = USB_ADD_BYTES(buf, parm->size[5]); in usbd_transfer_setup()
961 info->xfer_page_cache_end = USB_ADD_BYTES(buf, parm->size[2]); in usbd_transfer_setup()
1057 xfer = USB_ADD_BYTES(buf, parm->size[0]); in usbd_transfer_setup()
1219 parm->dma_tag_p = USB_ADD_BYTES(buf, parm->size[1]); in usbd_transfer_setup()
1220 parm->dma_page_ptr = USB_ADD_BYTES(buf, parm->size[3]); in usbd_transfer_setup()
[all …]
Dusb_handle_request.c585 USB_ADD_BYTES(&src_zcopy, 0), in usb_handle_request()
746 src_mcopy = USB_ADD_BYTES(src_mcopy, off); in usb_handle_request()
752 USB_ADD_BYTES(src_zcopy, off), max_len); in usb_handle_request()
Dusb_dev.c1751 ptr = USB_ADD_BYTES(ptr, io_len); in usb_fifo_put_data_linear()
1898 ptr = USB_ADD_BYTES(ptr, io_len); in usb_fifo_get_data_linear()
2054 USB_ADD_BYTES(user_ptr, delta), 1); in usb_read_symlink()
2063 USB_ADD_BYTES(user_ptr, delta), ps->src_len); in usb_read_symlink()
2070 USB_ADD_BYTES(user_ptr, delta), 1); in usb_read_symlink()
2079 USB_ADD_BYTES(user_ptr, delta), ps->dst_len); in usb_read_symlink()
2086 USB_ADD_BYTES(user_ptr, delta), 1); in usb_read_symlink()
2102 USB_ADD_BYTES(user_ptr, delta), 1); in usb_read_symlink()
Dusb_core.h62 #define USB_ADD_BYTES(ptr,size) \ macro
Dusb_generic.c1139 kaddr = USB_ADD_BYTES(kaddr, offset); in ugen_fs_copy_in()
1309 kaddr = USB_ADD_BYTES( in ugen_fs_copy_out()
Dusb_request.c650 data = USB_ADD_BYTES(data, temp); in usbd_do_request_flags()
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/
Dlinux_usb.c716 (void)memcpy_s(USB_ADD_BYTES(urb->setup_packet, sizeof(req)), size, in usb_control_msg()
723 usb_bcopy(USB_ADD_BYTES(urb->setup_packet, in usb_control_msg()
1538 USB_ADD_BYTES(urb->transfer_buffer, in usb_linux_isoc_callback()
1615 USB_ADD_BYTES(urb->transfer_buffer, in usb_linux_isoc_callback()