Searched refs:actual_buffer (Results 1 – 1 of 1) sorted by relevance
221 size_t *actual_buffer; in ld_usb_interrupt_in_callback() local245 …actual_buffer = (size_t *)(dev->ring_buffer + dev->ring_head * (sizeof(size_t)+dev->interrupt_in_e… in ld_usb_interrupt_in_callback()247 *actual_buffer = urb->actual_length; in ld_usb_interrupt_in_callback()248 memcpy(actual_buffer+1, dev->interrupt_in_buffer, urb->actual_length); in ld_usb_interrupt_in_callback()440 size_t *actual_buffer; in ld_usb_read() local482 …actual_buffer = (size_t *)(dev->ring_buffer + dev->ring_tail * (sizeof(size_t)+dev->interrupt_in_e… in ld_usb_read()483 if (*actual_buffer > dev->interrupt_in_endpoint_size) { in ld_usb_read()487 bytes_to_read = min(count, *actual_buffer); in ld_usb_read()488 if (bytes_to_read < *actual_buffer) in ld_usb_read()490 *actual_buffer-bytes_to_read); in ld_usb_read()[all …]