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()
243 * Handles the %INSN_READ instruction for subdevices that use the readback
311 * comedi_dio_insn_config() - Boilerplate (*insn_config) for DIO subdevices
369 * comedi_dio_update_state() - Update the internal state of DIO subdevices
374 * or DO subdevices (up to 32 channels). @data[0] contains a bit-mask of
408 * For digital input, output or input/output subdevices, samples for
444 * For digital input, output or input/output subdevices, samples for
553 /* track the 'cur_chan' for non-SDF_PACKED subdevices */ in comedi_inc_scan_progress()
652 "async subdevices must support SDF_CMD_READ or SDF_CMD_WRITE\n"); in __comedi_device_postconfig_async()
657 "async subdevices must have a do_cmdtest() function\n"); in __comedi_device_postconfig_async()
662 "async subdevices should have a cancel() function\n"); in __comedi_device_postconfig_async()
705 s = &dev->subdevices[i]; in __comedi_device_postconfig()
1017 * allocate the COMEDI subdevices. Additional "post-configuration" setting