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>
16 * comedi_to_pcmcia_dev() - Return PCMCIA device attached to COMEDI device
19 * Assuming @dev->hw_dev is non-%NULL, it is assumed to be pointing to a
22 * Return: Attached PCMCIA device if @dev->hw_dev is non-%NULL.
23 * Return %NULL if @dev->hw_dev is %NULL.
27 return dev->hw_dev ? to_pcmcia_dev(dev->hw_dev) : NULL; in comedi_to_pcmcia_dev()
34 if (link->config_index == 0) in comedi_pcmcia_conf_check()
35 return -EINVAL; in comedi_pcmcia_conf_check()
41 * comedi_pcmcia_enable() - Request the regions and enable the PCMCIA device
46 * Assuming @dev->hw_dev is non-%NULL, it is assumed to be pointing to a a
55 * a negative error value. The default function returns -%EINVAL if the
67 * -%ENODEV id @dev->hw_dev is %NULL,
68 * a negative error number from pcmcia_loop_config() if it fails,
69 * or a negative error number from pcmcia_enable_device() if it fails.
79 return -ENODEV; in comedi_pcmcia_enable()
93 * comedi_pcmcia_disable() - Disable the PCMCIA device and release the regions
96 * Assuming @dev->hw_dev is non-%NULL, it is assumed to be pointing to a
110 * comedi_pcmcia_auto_config() - Configure/probe a PCMCIA COMEDI device
114 * Typically called from the pcmcia_driver (*probe) function. Auto-configure
120 * negative error number on failure).
125 return comedi_auto_config(&link->dev, driver, 0); in comedi_pcmcia_auto_config()
130 * comedi_pcmcia_auto_unconfig() - Unconfigure/remove a PCMCIA COMEDI device
134 * Auto-unconfigure a COMEDI device attached to this PCMCIA device, using a
145 comedi_auto_unconfig(&link->dev); in comedi_pcmcia_auto_unconfig()
150 * comedi_pcmcia_driver_register() - Register a PCMCIA COMEDI driver
158 * Return: 0 on success, or a negative error number on failure.
180 * comedi_pcmcia_driver_unregister() - Unregister a PCMCIA COMEDI driver