Lines Matching refs:buffer
81 unsigned char *int_in_buffer; /* buffer for data to be read */
236 /* free up our allocated buffer */
274 static ssize_t iowarrior_read(struct file *file, char __user *buffer,
295 /* repeat until no buffer overrun in callback handler occur */
326 if (copy_to_user(buffer, dev->read_queue + offset, count)) {
345 char *buf = NULL; /* for IOW24 and IOW56 we need a buffer */
426 "Unable to allocate buffer\n");
482 __u8 *buffer;
491 buffer = kzalloc(dev->report_size, GFP_KERNEL);
492 if (!buffer)
516 io_res = copy_from_user(buffer, user_buffer,
522 buffer,
538 buffer, dev->report_size);
542 io_res = copy_to_user(user_buffer, buffer, dev->report_size);
588 kfree(buffer);
825 /* create the urb and buffer for reading */
838 /* create an internal buffer for interrupt data from the device */