Lines Matching refs:report_size
90 int report_size; /* number of bytes in a report */ member
180 offset = aux_idx * (dev->report_size + 1); in iowarrior_callback()
183 dev->report_size)) { in iowarrior_callback()
200 offset = intr_idx * (dev->report_size + 1); in iowarrior_callback()
202 dev->report_size); in iowarrior_callback()
203 *(dev->read_queue + offset + (dev->report_size)) = dev->serial_number++; in iowarrior_callback()
288 if ((count != dev->report_size) in iowarrior_read()
289 && (count != (dev->report_size + 1))) in iowarrior_read()
322 offset = read_idx * (dev->report_size + 1); in iowarrior_read()
361 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()
489 buffer = kzalloc(dev->report_size, GFP_KERNEL); in iowarrior_ioctl()
516 dev->report_size); in iowarrior_ioctl()
522 dev->report_size); in iowarrior_ioctl()
537 buffer, dev->report_size); in iowarrior_ioctl()
541 io_res = copy_to_user(user_buffer, buffer, dev->report_size); in iowarrior_ioctl()
562 info.report_size = dev->report_size; in iowarrior_ioctl()
816 dev->report_size = usb_endpoint_maxp(dev->int_in_endpoint); in iowarrior_probe()
820 dev->report_size = 7; in iowarrior_probe()
828 dev->int_in_buffer = kmalloc(dev->report_size, GFP_KERNEL); in iowarrior_probe()
836 dev->int_in_buffer, dev->report_size, in iowarrior_probe()
841 kmalloc(((dev->report_size + 1) * MAX_INTERRUPT_BUFFER), in iowarrior_probe()