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 = kzalloc_objs(*s->readback, s->n_chan);
146 if (!s->readback)
173 kfree(s->readback);
244 * comedi_readback_insn_read() - A generic (*insn_read) for subdevice readback.
248 * @data: Pointer to return the readback data.
250 * Handles the %INSN_READ instruction for subdevices that use the readback
256 * same element of the readback array will be read multiple times.
258 * Returns @insn->n on success, or -EINVAL if @s->readback is NULL.
268 if (!s->readback)
272 data[i] = s->readback[chan];