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>
14 * comedi_to_usb_interface() - Return USB interface attached to COMEDI device
17 * Assuming @dev->hw_dev is non-%NULL, it is assumed to be pointing to a
20 * Return: Attached USB interface if @dev->hw_dev is non-%NULL.
21 * Return %NULL if @dev->hw_dev is %NULL.
25 return dev->hw_dev ? to_usb_interface(dev->hw_dev) : NULL; in comedi_to_usb_interface()
30 * comedi_to_usb_dev() - Return USB device attached to COMEDI device
33 * Assuming @dev->hw_dev is non-%NULL, it is assumed to be pointing to a
36 * Return: USB device to which the USB interface belongs if @dev->hw_dev is
37 * non-%NULL. Return %NULL if @dev->hw_dev is %NULL.
48 * comedi_usb_auto_config() - Configure/probe a USB COMEDI driver
53 * Typically called from the usb_driver (*probe) function. Auto-configure a
60 * a negative error number on failure).
66 return comedi_auto_config(&intf->dev, driver, context); in comedi_usb_auto_config()
71 * comedi_usb_auto_unconfig() - Unconfigure/disconnect a USB COMEDI device
75 * Auto-unconfigure a COMEDI device attached to this USB interface, using a
86 comedi_auto_unconfig(&intf->dev); in comedi_usb_auto_unconfig()
91 * comedi_usb_driver_register() - Register a USB COMEDI driver
99 * Return: %0 on success, or a negative error number on failure.
121 * comedi_usb_driver_unregister() - Unregister a USB COMEDI driver