Searched refs:usbtmc_message (Results 1 – 2 of 2) sorted by relevance
69 struct usbtmc_message { struct89 #define USBTMC_IOCTL_WRITE _IOWR(USBTMC_IOC_NR, 13, struct usbtmc_message) argument90 #define USBTMC_IOCTL_READ _IOWR(USBTMC_IOC_NR, 14, struct usbtmc_message)
1051 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()