Lines Matching full:subdevice

43  * COMEDI_SRF_BUSY_MASK:	runflags that indicate the subdevice is "busy"
55 * @read_subdev: Current "read" subdevice.
56 * @write_subdev: Current "write" subdevice.
338 "subdevice is busy, cannot resize buffer\n"); in resize_async_buffer()
343 "subdevice is mmapped, cannot resize buffer\n"); in resize_async_buffer()
669 * comedi_is_subdevice_running() - Check if async command running on subdevice
670 * @s: COMEDI subdevice.
673 * subdevice, else %false.
698 * comedi_set_spriv_auto_free() - Mark subdevice private data as freeable
699 * @s: COMEDI subdevice.
701 * Mark the subdevice as having a pointer to private data that can be
712 * comedi_alloc_spriv - Allocate memory for the subdevice private data
713 * @s: COMEDI subdevice.
716 * Allocate memory for the subdevice private data and point @s->private
733 * This function restores a subdevice to an idle state.
804 * There may be tasks still waiting on the subdevice's wait in is_device_busy()
806 * from it since the subdevice has no active async command. in is_device_busy()
900 if (bc.subdevice >= dev->n_subdevices) in do_bufconfig_ioctl()
903 s = &dev->subdevices[bc.subdevice]; in do_bufconfig_ioctl()
908 "subdevice does not have async capability\n"); in do_bufconfig_ioctl()
1060 * subdevice channel info
1139 if (bi.subdevice >= dev->n_subdevices) in do_bufinfo_ioctl()
1142 s = &dev->subdevices[bi.subdevice]; in do_bufinfo_ioctl()
1335 /* a non-subdevice instruction */ in parse_insn()
1370 "%d not usable subdevice\n", in parse_insn()
1414 /* a subdevice instruction */ in parse_insn()
1418 dev_dbg(dev->class_dev, "subdevice %d out of range\n", in parse_insn()
1426 dev_dbg(dev->class_dev, "%d not usable subdevice\n", in parse_insn()
1457 "subdevice %d read instruction timed out\n", in parse_insn()
1477 "subdevice %d write instruction timed out\n", in parse_insn()
1489 * the subdevice has <= 32 channels. in parse_insn()
1705 dev_dbg(dev->class_dev, "%d no such subdevice\n", cmd->subdev); in __comedi_get_user_cmd()
1712 dev_dbg(dev->class_dev, "%d not valid subdevice\n", in __comedi_get_user_cmd()
1719 "subdevice %d does not support commands\n", in __comedi_get_user_cmd()
1732 * Set the CMDF_WRITE flag to the correct state if the subdevice in __comedi_get_user_cmd()
1813 dev_dbg(dev->class_dev, "subdevice locked\n"); in do_cmd_ioctl()
1819 dev_dbg(dev->class_dev, "subdevice busy\n"); in do_cmd_ioctl()
1935 * lock subdevice
1938 * subdevice number
1970 * unlock subdevice
1973 * subdevice number
2008 * subdevice number
2042 * subdevice number
2074 * sets the current "read" subdevice on a per-file basis
2077 * subdevice number
2105 * old subdevice (if any). in do_setrsubd_ioctl()
2117 * sets the current "write" subdevice on a per-file basis
2120 * subdevice number
2148 * old subdevice (if any). in do_setwsubd_ioctl()
2699 * meantime!), but check the subdevice pointer as well just in in comedi_write()
2702 * Also check the subdevice is still in a suitable state to in comedi_write()
2826 * meantime!), but check the subdevice pointer as well just in in comedi_read()
2829 * Also check the subdevice is still in a suitable state to in comedi_read()
3305 * @s: COMEDI subdevice.
3308 * If an asynchronous COMEDI command is active on the subdevice, process
3426 "ran out of minor numbers for subdevice files\n"); in comedi_alloc_subdevice_minor()