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_pcmcia_dev() - Return PCMCIA device attached to COMEDI device
18 * Assuming @dev->hw_dev is non-%NULL, it is assumed to be pointing to a
21 * Return: Attached PCMCIA device if @dev->hw_dev is non-%NULL.
22 * Return %NULL if @dev->hw_dev is %NULL.
26 return dev->hw_dev ? to_pcmcia_dev(dev->hw_dev) : NULL; in comedi_to_pcmcia_dev()
33 if (link->config_index == 0) in comedi_pcmcia_conf_check()
34 return -EINVAL; in comedi_pcmcia_conf_check()
40 * comedi_pcmcia_enable() - Request the regions and enable the PCMCIA device
45 * Assuming @dev->hw_dev is non-%NULL, it is assumed to be pointing to a a
54 * a negative error value. The default function returns -%EINVAL if the
66 * -%ENODEV id @dev->hw_dev is %NULL,
67 * a negative error number from pcmcia_loop_config() if it fails,
68 * or a negative error number from pcmcia_enable_device() if it fails.
78 return -ENODEV; in comedi_pcmcia_enable()
92 * comedi_pcmcia_disable() - Disable the PCMCIA device and release the regions
95 * Assuming @dev->hw_dev is non-%NULL, it is assumed to be pointing to a
109 * comedi_pcmcia_auto_config() - Configure/probe a PCMCIA COMEDI device
113 * Typically called from the pcmcia_driver (*probe) function. Auto-configure
119 * negative error number on failure).
124 return comedi_auto_config(&link->dev, driver, 0); in comedi_pcmcia_auto_config()
129 * comedi_pcmcia_auto_unconfig() - Unconfigure/remove a PCMCIA COMEDI device
133 * Auto-unconfigure a COMEDI device attached to this PCMCIA device, using a
144 comedi_auto_unconfig(&link->dev); in comedi_pcmcia_auto_unconfig()
149 * comedi_pcmcia_driver_register() - Register a PCMCIA COMEDI driver
157 * Return: 0 on success, or a negative error number on failure.
179 * comedi_pcmcia_driver_unregister() - Unregister a PCMCIA COMEDI driver