Lines Matching full:subdevices

85  * comedi_alloc_subdevices() - Allocate subdevices for COMEDI device
87 * @num_subdevices: Number of subdevices to allocate.
90 * COMEDI device. If successful, sets @dev->subdevices to point to the
107 dev->subdevices = s; in comedi_alloc_subdevices()
111 s = &dev->subdevices[i]; in comedi_alloc_subdevices()
163 if (dev->subdevices) { in comedi_device_detach_cleanup()
165 s = &dev->subdevices[i]; in comedi_device_detach_cleanup()
175 kfree(dev->subdevices); in comedi_device_detach_cleanup()
176 dev->subdevices = NULL; in comedi_device_detach_cleanup()
250 * Handles the %INSN_READ instruction for subdevices that use the readback
318 * comedi_dio_insn_config() - Boilerplate (*insn_config) for DIO subdevices
376 * comedi_dio_update_state() - Update the internal state of DIO subdevices
381 * or DO subdevices (up to 32 channels). @data[0] contains a bit-mask of
415 * For digital input, output or input/output subdevices, samples for
458 * For digital input, output or input/output subdevices, samples for
588 /* track the 'cur_chan' for non-SDF_PACKED subdevices */ in _comedi_inc_scan_progress()
724 "async subdevices must support SDF_CMD_READ or SDF_CMD_WRITE\n"); in __comedi_device_postconfig_async()
729 "async subdevices must have a do_cmdtest() function\n"); in __comedi_device_postconfig_async()
734 "async subdevices should have a cancel() function\n"); in __comedi_device_postconfig_async()
778 s = &dev->subdevices[i]; in __comedi_device_postconfig()
1098 * allocate the COMEDI subdevices. Additional "post-configuration" setting