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.
351 "subdevice is busy, cannot resize buffer\n"); in resize_async_buffer()
356 "subdevice is mmapped, cannot resize buffer\n"); in resize_async_buffer()
665 * comedi_is_subdevice_running() - Check if async command running on subdevice
666 * @s: COMEDI subdevice.
669 * subdevice, else %false.
694 * comedi_set_spriv_auto_free() - Mark subdevice private data as freeable
695 * @s: COMEDI subdevice.
697 * Mark the subdevice as having a pointer to private data that can be
708 * comedi_alloc_spriv - Allocate memory for the subdevice private data
709 * @s: COMEDI subdevice.
712 * Allocate memory for the subdevice private data and point @s->private
729 * This function restores a subdevice to an idle state.
879 if (bc.subdevice >= dev->n_subdevices) in do_bufconfig_ioctl()
882 s = &dev->subdevices[bc.subdevice]; in do_bufconfig_ioctl()
887 "subdevice does not have async capability\n"); in do_bufconfig_ioctl()
1039 * subdevice channel info
1118 if (bi.subdevice >= dev->n_subdevices) in do_bufinfo_ioctl()
1121 s = &dev->subdevices[bi.subdevice]; in do_bufinfo_ioctl()
1313 /* a non-subdevice instruction */ in parse_insn()
1348 "%d not usable subdevice\n", in parse_insn()
1392 /* a subdevice instruction */ in parse_insn()
1396 dev_dbg(dev->class_dev, "subdevice %d out of range\n", in parse_insn()
1404 dev_dbg(dev->class_dev, "%d not usable subdevice\n", in parse_insn()
1435 "subdevice %d read instruction timed out\n", in parse_insn()
1455 "subdevice %d write instruction timed out\n", in parse_insn()
1467 * the subdevice has <= 32 channels. in parse_insn()
1658 dev_dbg(dev->class_dev, "%d no such subdevice\n", cmd->subdev); in __comedi_get_user_cmd()
1665 dev_dbg(dev->class_dev, "%d not valid subdevice\n", in __comedi_get_user_cmd()
1672 "subdevice %d does not support commands\n", in __comedi_get_user_cmd()
1685 * Set the CMDF_WRITE flag to the correct state if the subdevice in __comedi_get_user_cmd()
1766 dev_dbg(dev->class_dev, "subdevice locked\n"); in do_cmd_ioctl()
1772 dev_dbg(dev->class_dev, "subdevice busy\n"); in do_cmd_ioctl()
1888 * lock subdevice
1891 * subdevice number
1923 * unlock subdevice
1926 * subdevice number
1961 * subdevice number
1995 * subdevice number
2027 * sets the current "read" subdevice on a per-file basis
2030 * subdevice number
2058 * old subdevice (if any). in do_setrsubd_ioctl()
2070 * sets the current "write" subdevice on a per-file basis
2073 * subdevice number
2101 * old subdevice (if any). in do_setwsubd_ioctl()
2576 * meantime!), but check the subdevice pointer as well just in in comedi_write()
2579 * Also check the subdevice is still in a suitable state to in comedi_write()
2712 * meantime!), but check the subdevice pointer as well just in in comedi_read()
2715 * Also check the subdevice is still in a suitable state to in comedi_read()
3188 * @s: COMEDI subdevice.
3191 * If an asynchronous COMEDI command is active on the subdevice, process
3309 "ran out of minor numbers for subdevice files\n"); in comedi_alloc_subdevice_minor()