Lines Matching refs:usb_dev
75 struct usb_device *usb_dev; member
159 usb_put_dev(data->usb_dev); in usbtmc_delete()
279 rv = usb_control_msg(data->usb_dev, in usbtmc_ioctl_abort_bulk_in_tag()
280 usb_rcvctrlpipe(data->usb_dev, 0), in usbtmc_ioctl_abort_bulk_in_tag()
325 rv = usb_bulk_msg(data->usb_dev, in usbtmc_ioctl_abort_bulk_in_tag()
326 usb_rcvbulkpipe(data->usb_dev, in usbtmc_ioctl_abort_bulk_in_tag()
352 rv = usb_control_msg(data->usb_dev, in usbtmc_ioctl_abort_bulk_in_tag()
353 usb_rcvctrlpipe(data->usb_dev, 0), in usbtmc_ioctl_abort_bulk_in_tag()
408 rv = usb_control_msg(data->usb_dev, in usbtmc_ioctl_abort_bulk_out_tag()
409 usb_rcvctrlpipe(data->usb_dev, 0), in usbtmc_ioctl_abort_bulk_out_tag()
434 rv = usb_control_msg(data->usb_dev, in usbtmc_ioctl_abort_bulk_out_tag()
435 usb_rcvctrlpipe(data->usb_dev, 0), in usbtmc_ioctl_abort_bulk_out_tag()
459 rv = usb_clear_halt(data->usb_dev, in usbtmc_ioctl_abort_bulk_out_tag()
460 usb_sndbulkpipe(data->usb_dev, data->bulk_out)); in usbtmc_ioctl_abort_bulk_out_tag()
495 rv = usb_control_msg(data->usb_dev, in usbtmc_get_stb()
496 usb_rcvctrlpipe(data->usb_dev, 0), in usbtmc_get_stb()
675 rv = usb_control_msg(data->usb_dev, in usbtmc488_ioctl_simple()
676 usb_rcvctrlpipe(data->usb_dev, 0), in usbtmc488_ioctl_simple()
724 retval = usb_bulk_msg(data->usb_dev, in usbtmc488_ioctl_trigger()
725 usb_sndbulkpipe(data->usb_dev, in usbtmc488_ioctl_trigger()
911 usb_fill_bulk_urb(urb, data->usb_dev, in usbtmc_generic_read()
912 usb_rcvbulkpipe(data->usb_dev, data->bulk_in), in usbtmc_generic_read()
1207 usb_fill_bulk_urb(urb, data->usb_dev, in usbtmc_generic_write()
1208 usb_sndbulkpipe(data->usb_dev, data->bulk_out), in usbtmc_generic_write()
1338 retval = usb_bulk_msg(data->usb_dev, in send_request_dev_dep_msg_in()
1339 usb_sndbulkpipe(data->usb_dev, in send_request_dev_dep_msg_in()
1407 retval = usb_bulk_msg(data->usb_dev, in usbtmc_read()
1408 usb_rcvbulkpipe(data->usb_dev, in usbtmc_read()
1600 usb_fill_bulk_urb(urb, data->usb_dev, in usbtmc_write()
1601 usb_sndbulkpipe(data->usb_dev, data->bulk_out), in usbtmc_write()
1664 rv = usb_control_msg(data->usb_dev, in usbtmc_ioctl_clear()
1665 usb_rcvctrlpipe(data->usb_dev, 0), in usbtmc_ioctl_clear()
1688 rv = usb_control_msg(data->usb_dev, in usbtmc_ioctl_clear()
1689 usb_rcvctrlpipe(data->usb_dev, 0), in usbtmc_ioctl_clear()
1714 rv = usb_bulk_msg(data->usb_dev, in usbtmc_ioctl_clear()
1715 usb_rcvbulkpipe(data->usb_dev, in usbtmc_ioctl_clear()
1749 rv = usb_clear_halt(data->usb_dev, in usbtmc_ioctl_clear()
1750 usb_sndbulkpipe(data->usb_dev, data->bulk_out)); in usbtmc_ioctl_clear()
1766 rv = usb_clear_halt(data->usb_dev, in usbtmc_ioctl_clear_out_halt()
1767 usb_sndbulkpipe(data->usb_dev, data->bulk_out)); in usbtmc_ioctl_clear_out_halt()
1770 dev_err(&data->usb_dev->dev, "%s returned %d\n", __func__, rv); in usbtmc_ioctl_clear_out_halt()
1778 rv = usb_clear_halt(data->usb_dev, in usbtmc_ioctl_clear_in_halt()
1779 usb_rcvbulkpipe(data->usb_dev, data->bulk_in)); in usbtmc_ioctl_clear_in_halt()
1782 dev_err(&data->usb_dev->dev, "%s returned %d\n", __func__, rv); in usbtmc_ioctl_clear_in_halt()
1813 struct device *dev = &data->usb_dev->dev; in get_capabilities()
1821 rv = usb_control_msg(data->usb_dev, usb_rcvctrlpipe(data->usb_dev, 0), in get_capabilities()
1890 rv = usb_control_msg(data->usb_dev, in usbtmc_ioctl_indicator_pulse()
1891 usb_rcvctrlpipe(data->usb_dev, 0), in usbtmc_ioctl_indicator_pulse()
1953 pipe = usb_rcvctrlpipe(data->usb_dev, 0); in usbtmc_ioctl_request()
1955 pipe = usb_sndctrlpipe(data->usb_dev, 0); in usbtmc_ioctl_request()
1956 rv = usb_control_msg(data->usb_dev, in usbtmc_ioctl_request()
2375 data->usb_dev = usb_get_dev(interface_to_usbdev(intf)); in usbtmc_probe()
2448 usb_fill_int_urb(data->iin_urb, data->usb_dev, in usbtmc_probe()
2449 usb_rcvintpipe(data->usb_dev, data->iin_ep), in usbtmc_probe()