Lines Matching refs:userbuffer

316 		char *kernbuffer, const char __user *userbuffer, int index,  in sisusb_send_bulk_msg()  argument
321 int fromuser = (userbuffer != NULL) ? 1 : 0; in sisusb_send_bulk_msg()
361 if (copy_from_user(buffer, userbuffer, passsize)) in sisusb_send_bulk_msg()
364 userbuffer += passsize; in sisusb_send_bulk_msg()
437 void *kernbuffer, char __user *userbuffer, ssize_t *bytes_read, in sisusb_recv_bulk_msg() argument
491 if (userbuffer) { in sisusb_recv_bulk_msg()
493 if (copy_to_user(userbuffer, buffer, thispass)) in sisusb_recv_bulk_msg()
496 userbuffer += thispass; in sisusb_recv_bulk_msg()
741 char *kernbuffer, int length, const char __user *userbuffer, in sisusb_write_mem_bulk() argument
755 if (!fromkern && !userbuffer) in sisusb_write_mem_bulk()
765 if (userbuffer) { in sisusb_write_mem_bulk()
766 if (get_user(swap8, (u8 __user *)userbuffer)) in sisusb_write_mem_bulk()
780 if (userbuffer) { in sisusb_write_mem_bulk()
781 if (get_user(swap16, (u16 __user *)userbuffer)) in sisusb_write_mem_bulk()
795 if (userbuffer) { in sisusb_write_mem_bulk()
796 if (copy_from_user(&buf, userbuffer, 3)) in sisusb_write_mem_bulk()
827 if (userbuffer) { in sisusb_write_mem_bulk()
828 if (get_user(swap32, (u32 __user *)userbuffer)) in sisusb_write_mem_bulk()
858 if (userbuffer) { in sisusb_write_mem_bulk()
862 NULL, userbuffer, 0, in sisusb_write_mem_bulk()
864 userbuffer += (*bytes_written); in sisusb_write_mem_bulk()
902 if (userbuffer) { in sisusb_write_mem_bulk()
906 NULL, userbuffer, 0, in sisusb_write_mem_bulk()
908 userbuffer += (*bytes_written); in sisusb_write_mem_bulk()
1093 char *kernbuffer, int length, char __user *userbuffer, in sisusb_read_mem_bulk() argument
1112 if (userbuffer) { in sisusb_read_mem_bulk()
1113 if (put_user(buf[0], (u8 __user *)userbuffer)) in sisusb_read_mem_bulk()
1125 if (userbuffer) { in sisusb_read_mem_bulk()
1126 if (put_user(swap16, (u16 __user *)userbuffer)) in sisusb_read_mem_bulk()
1148 if (userbuffer) { in sisusb_read_mem_bulk()
1149 if (copy_to_user(userbuffer, in sisusb_read_mem_bulk()
1165 if (userbuffer) { in sisusb_read_mem_bulk()
1166 if (put_user(swap32, (u32 __user *)userbuffer)) in sisusb_read_mem_bulk()
1169 userbuffer += 4; in sisusb_read_mem_bulk()