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.
883 if (bc.subdevice >= dev->n_subdevices) in do_bufconfig_ioctl()
886 s = &dev->subdevices[bc.subdevice]; in do_bufconfig_ioctl()
891 "subdevice does not have async capability\n"); in do_bufconfig_ioctl()
1043 * subdevice channel info
1122 if (bi.subdevice >= dev->n_subdevices) in do_bufinfo_ioctl()
1125 s = &dev->subdevices[bi.subdevice]; in do_bufinfo_ioctl()
1318 /* a non-subdevice instruction */ in parse_insn()
1353 "%d not usable subdevice\n", in parse_insn()
1397 /* a subdevice instruction */ in parse_insn()
1401 dev_dbg(dev->class_dev, "subdevice %d out of range\n", in parse_insn()
1409 dev_dbg(dev->class_dev, "%d not usable subdevice\n", in parse_insn()
1440 "subdevice %d read instruction timed out\n", in parse_insn()
1460 "subdevice %d write instruction timed out\n", in parse_insn()
1472 * the subdevice has <= 32 channels. in parse_insn()
1663 dev_dbg(dev->class_dev, "%d no such subdevice\n", cmd->subdev); in __comedi_get_user_cmd()
1670 dev_dbg(dev->class_dev, "%d not valid subdevice\n", in __comedi_get_user_cmd()
1677 "subdevice %d does not support commands\n", in __comedi_get_user_cmd()
1690 * Set the CMDF_WRITE flag to the correct state if the subdevice in __comedi_get_user_cmd()
1771 dev_dbg(dev->class_dev, "subdevice locked\n"); in do_cmd_ioctl()
1777 dev_dbg(dev->class_dev, "subdevice busy\n"); in do_cmd_ioctl()
1893 * lock subdevice
1896 * subdevice number
1928 * unlock subdevice
1931 * subdevice number
1966 * subdevice number
2000 * subdevice number
2032 * sets the current "read" subdevice on a per-file basis
2035 * subdevice number
2063 * old subdevice (if any). in do_setrsubd_ioctl()
2075 * sets the current "write" subdevice on a per-file basis
2078 * subdevice number
2106 * old subdevice (if any). in do_setwsubd_ioctl()
2581 * meantime!), but check the subdevice pointer as well just in in comedi_write()
2584 * Also check the subdevice is still in a suitable state to in comedi_write()
2717 * meantime!), but check the subdevice pointer as well just in in comedi_read()
2720 * Also check the subdevice is still in a suitable state to in comedi_read()
3193 * @s: COMEDI subdevice.
3196 * If an asynchronous COMEDI command is active on the subdevice, process
3314 "ran out of minor numbers for subdevice files\n"); in comedi_alloc_subdevice_minor()