Lines Matching refs:report_size
93 int report_size; /* number of bytes in a report */ member
184 offset = aux_idx * (dev->report_size + 1); in iowarrior_callback()
187 dev->report_size)) { in iowarrior_callback()
203 offset = intr_idx * (dev->report_size + 1); in iowarrior_callback()
205 dev->report_size); in iowarrior_callback()
206 *(dev->read_queue + offset + (dev->report_size)) = dev->serial_number++; in iowarrior_callback()
291 if ((count != dev->report_size) in iowarrior_read()
292 && (count != (dev->report_size + 1))) in iowarrior_read()
325 offset = read_idx * (dev->report_size + 1); in iowarrior_read()
364 if (count != dev->report_size) { in iowarrior_write()
420 buf = usb_alloc_coherent(dev->udev, dev->report_size, in iowarrior_write()
431 buf, dev->report_size, in iowarrior_write()
460 usb_free_coherent(dev->udev, dev->report_size, buf, in iowarrior_write()
488 buffer = kzalloc(dev->report_size, GFP_KERNEL); in iowarrior_ioctl()
514 dev->report_size); in iowarrior_ioctl()
520 dev->report_size); in iowarrior_ioctl()
535 buffer, dev->report_size); in iowarrior_ioctl()
539 io_res = copy_to_user(user_buffer, buffer, dev->report_size); in iowarrior_ioctl()
560 info.report_size = dev->report_size; in iowarrior_ioctl()
798 dev->report_size = usb_endpoint_maxp(dev->int_in_endpoint); in iowarrior_probe()
808 dev->report_size = 7; in iowarrior_probe()
813 dev->report_size = 4; in iowarrior_probe()
817 dev->report_size = 13; in iowarrior_probe()
826 dev->int_in_buffer = kmalloc(dev->report_size, GFP_KERNEL); in iowarrior_probe()
832 dev->int_in_buffer, dev->report_size, in iowarrior_probe()
837 kmalloc_array(dev->report_size + 1, MAX_INTERRUPT_BUFFER, in iowarrior_probe()