Lines Matching refs:userbuffer

330 		char *kernbuffer, const char __user *userbuffer, int index,  in sisusb_send_bulk_msg()  argument
335 int fromuser = (userbuffer != NULL) ? 1 : 0; in sisusb_send_bulk_msg()
375 if (copy_from_user(buffer, userbuffer, passsize)) in sisusb_send_bulk_msg()
378 userbuffer += passsize; in sisusb_send_bulk_msg()
451 void *kernbuffer, char __user *userbuffer, ssize_t *bytes_read, in sisusb_recv_bulk_msg() argument
505 if (userbuffer) { in sisusb_recv_bulk_msg()
507 if (copy_to_user(userbuffer, buffer, thispass)) in sisusb_recv_bulk_msg()
510 userbuffer += thispass; in sisusb_recv_bulk_msg()
755 char *kernbuffer, int length, const char __user *userbuffer, in sisusb_write_mem_bulk() argument
769 if (!fromkern && !userbuffer) in sisusb_write_mem_bulk()
779 if (userbuffer) { in sisusb_write_mem_bulk()
780 if (get_user(swap8, (u8 __user *)userbuffer)) in sisusb_write_mem_bulk()
794 if (userbuffer) { in sisusb_write_mem_bulk()
795 if (get_user(swap16, (u16 __user *)userbuffer)) in sisusb_write_mem_bulk()
809 if (userbuffer) { in sisusb_write_mem_bulk()
810 if (copy_from_user(&buf, userbuffer, 3)) in sisusb_write_mem_bulk()
841 if (userbuffer) { in sisusb_write_mem_bulk()
842 if (get_user(swap32, (u32 __user *)userbuffer)) in sisusb_write_mem_bulk()
872 if (userbuffer) { in sisusb_write_mem_bulk()
876 NULL, userbuffer, 0, in sisusb_write_mem_bulk()
878 userbuffer += (*bytes_written); in sisusb_write_mem_bulk()
916 if (userbuffer) { in sisusb_write_mem_bulk()
920 NULL, userbuffer, 0, in sisusb_write_mem_bulk()
922 userbuffer += (*bytes_written); in sisusb_write_mem_bulk()
1107 char *kernbuffer, int length, char __user *userbuffer, in sisusb_read_mem_bulk() argument
1126 if (userbuffer) { in sisusb_read_mem_bulk()
1127 if (put_user(buf[0], (u8 __user *)userbuffer)) in sisusb_read_mem_bulk()
1139 if (userbuffer) { in sisusb_read_mem_bulk()
1140 if (put_user(swap16, (u16 __user *)userbuffer)) in sisusb_read_mem_bulk()
1162 if (userbuffer) { in sisusb_read_mem_bulk()
1163 if (copy_to_user(userbuffer, in sisusb_read_mem_bulk()
1179 if (userbuffer) { in sisusb_read_mem_bulk()
1180 if (put_user(swap32, (u32 __user *)userbuffer)) in sisusb_read_mem_bulk()
1183 userbuffer += 4; in sisusb_read_mem_bulk()