Lines Matching refs:readback
123 * comedi_alloc_subdev_readback() - Allocate memory for the subdevice readback
132 * On success, @s->readback points to the first element of the array, which
145 s->readback = kcalloc(s->n_chan, sizeof(*s->readback), GFP_KERNEL);
146 if (!s->readback)
173 kfree(s->readback);
236 * comedi_readback_insn_read() - A generic (*insn_read) for subdevice readback.
240 * @data: Pointer to return the readback data.
242 * Handles the %INSN_READ instruction for subdevices that use the readback
248 * same element of the readback array will be read multiple times.
250 * Returns @insn->n on success, or -EINVAL if @s->readback is NULL.
260 if (!s->readback)
264 data[i] = s->readback[chan];