Home
last modified time | relevance | path

Searched refs:read_buffer_length (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/usb/misc/
H A Dlegousbtower.c196 size_t read_buffer_length; /* this much came in */ member
358 dev->read_buffer_length = 0; in tower_open()
446 || dev->read_buffer_length == read_buffer_size) { in tower_check_for_read_packet()
447 dev->read_packet_length = dev->read_buffer_length; in tower_check_for_read_packet()
536 && (dev->read_buffer_length || dev->interrupt_out_busy)) { in tower_read()
556 dev->read_buffer_length -= bytes_to_read; in tower_read()
558 for (i = 0; i < dev->read_buffer_length; i++) in tower_read()
683 if (dev->read_buffer_length + urb->actual_length < read_buffer_size) { in tower_interrupt_in_callback()
684 memcpy(dev->read_buffer + dev->read_buffer_length, in tower_interrupt_in_callback()
687 dev->read_buffer_length += urb->actual_length; in tower_interrupt_in_callback()
H A Dadutux.c81 int read_buffer_length; member
178 if (dev->read_buffer_length < in adu_interrupt_in_callback()
182 dev->read_buffer_length, in adu_interrupt_in_callback()
185 dev->read_buffer_length += urb->actual_length; in adu_interrupt_in_callback()
268 dev->read_buffer_length = 0; in adu_open()
395 if (dev->read_buffer_length) { in adu_read()
399 __func__, dev->read_buffer_length); in adu_read()
402 dev->secondary_tail = dev->read_buffer_length; in adu_read()
403 dev->read_buffer_length = 0; in adu_read()