Lines Matching +full:non +full:- +full:negative
1 // SPDX-License-Identifier: GPL-2.0+
6 * COMEDI - Linux Control and Measurement Device Interface
7 * Copyright (C) 1997-2000 David A. Schleef <ds@schleef.org>
15 * comedi_to_usb_interface() - Return USB interface attached to COMEDI device
18 * Assuming @dev->hw_dev is non-%NULL, it is assumed to be pointing to a
21 * Return: Attached USB interface if @dev->hw_dev is non-%NULL.
22 * Return %NULL if @dev->hw_dev is %NULL.
26 return dev->hw_dev ? to_usb_interface(dev->hw_dev) : NULL; in comedi_to_usb_interface()
31 * comedi_to_usb_dev() - Return USB device attached to COMEDI device
34 * Assuming @dev->hw_dev is non-%NULL, it is assumed to be pointing to a
37 * Return: USB device to which the USB interface belongs if @dev->hw_dev is
38 * non-%NULL. Return %NULL if @dev->hw_dev is %NULL.
49 * comedi_usb_auto_config() - Configure/probe a USB COMEDI driver
54 * Typically called from the usb_driver (*probe) function. Auto-configure a
61 * a negative error number on failure).
67 return comedi_auto_config(&intf->dev, driver, context); in comedi_usb_auto_config()
72 * comedi_usb_auto_unconfig() - Unconfigure/disconnect a USB COMEDI device
76 * Auto-unconfigure a COMEDI device attached to this USB interface, using a
87 comedi_auto_unconfig(&intf->dev); in comedi_usb_auto_unconfig()
92 * comedi_usb_driver_register() - Register a USB COMEDI driver
100 * Return: %0 on success, or a negative error number on failure.
122 * comedi_usb_driver_unregister() - Unregister a USB COMEDI driver