Home
last modified time | relevance | path

Searched refs:userbuffer (Results 1 – 2 of 2) sorted by relevance

/drivers/usb/misc/sisusbvga/
Dsisusb.c345 char *kernbuffer, const char __user *userbuffer, int index, in sisusb_send_bulk_msg() argument
350 int fromuser = (userbuffer != NULL) ? 1 : 0; in sisusb_send_bulk_msg()
390 if (copy_from_user(buffer, userbuffer, passsize)) in sisusb_send_bulk_msg()
393 userbuffer += passsize; in sisusb_send_bulk_msg()
471 void *kernbuffer, char __user *userbuffer, ssize_t *bytes_read, in sisusb_recv_bulk_msg() argument
530 if (userbuffer) { in sisusb_recv_bulk_msg()
532 if (copy_to_user(userbuffer, buffer, thispass)) in sisusb_recv_bulk_msg()
535 userbuffer += thispass; in sisusb_recv_bulk_msg()
784 const char __user *userbuffer, int index, in sisusb_write_mem_bulk() argument
798 if (!fromkern && !userbuffer) in sisusb_write_mem_bulk()
[all …]
/drivers/usb/core/
Ddevio.c86 void __user *userbuffer; member
1352 as->userbuffer = uurb->buffer; in proc_do_submiturb()
1354 as->userbuffer = NULL; in proc_do_submiturb()
1464 if (as->userbuffer && urb->actual_length) { in processcompl()
1469 if (copy_to_user(as->userbuffer, urb->transfer_buffer, i)) in processcompl()
1636 if (as->userbuffer && urb->actual_length) { in processcompl_compat()
1641 if (copy_to_user(as->userbuffer, urb->transfer_buffer, i)) in processcompl_compat()