Home
last modified time | relevance | path

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

/Linux-v6.6/include/uapi/linux/usb/
Dtmc.h69 struct usbtmc_message { struct
89 #define USBTMC_IOCTL_WRITE _IOWR(USBTMC_IOC_NR, 13, struct usbtmc_message) argument
90 #define USBTMC_IOCTL_READ _IOWR(USBTMC_IOC_NR, 14, struct usbtmc_message)
/Linux-v6.6/drivers/usb/class/
Dusbtmc.c1051 struct usbtmc_message msg; in usbtmc_ioctl_generic_read()
1056 if (copy_from_user(&msg, arg, sizeof(struct usbtmc_message))) in usbtmc_ioctl_generic_read()
1064 &((struct usbtmc_message __user *)arg)->transferred)) in usbtmc_ioctl_generic_read()
1262 struct usbtmc_message msg; in usbtmc_ioctl_generic_write()
1267 if (copy_from_user(&msg, arg, sizeof(struct usbtmc_message))) in usbtmc_ioctl_generic_write()
1275 &((struct usbtmc_message __user *)arg)->transferred)) in usbtmc_ioctl_generic_write()