Lines Matching refs:async
203 struct comedi_async *async = s->async;
204 struct comedi_cmd *cmd = &async->cmd;
213 unsigned int chanspec = cmd->chanlist[async->cur_chan];
221 if (async->scan_progress == 0) {
234 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) {
235 async->events |= COMEDI_CB_EOA;
358 struct comedi_cmd *cmd = &s->async->cmd;
450 struct comedi_async *async = s->async;
451 struct comedi_cmd *cmd = &async->cmd;
480 async->events |= COMEDI_CB_OVERFLOW;
493 async->events |= COMEDI_CB_OVERFLOW;
502 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) {
503 async->events |= COMEDI_CB_EOA;
505 async->events |= COMEDI_CB_OVERFLOW;
527 struct comedi_async *async = s->async;
528 struct comedi_cmd *cmd = &async->cmd;
533 async->inttrig = NULL;
607 struct comedi_cmd *cmd = &s->async->cmd;
616 s->async->inttrig = waveform_ao_inttrig_start;
625 s->async->inttrig = NULL;