Lines Matching refs:async
395 struct comedi_cmd *cmd = &s->async->cmd; in pci1710_handle_every_sample()
403 s->async->events |= COMEDI_CB_ERROR; in pci1710_handle_every_sample()
409 s->async->events |= COMEDI_CB_ERROR; in pci1710_handle_every_sample()
416 ret = pci1710_ai_read_sample(dev, s, s->async->cur_chan, &val); in pci1710_handle_every_sample()
418 s->async->events |= COMEDI_CB_ERROR; in pci1710_handle_every_sample()
425 s->async->scans_done >= cmd->stop_arg) { in pci1710_handle_every_sample()
426 s->async->events |= COMEDI_CB_EOA; in pci1710_handle_every_sample()
438 struct comedi_async *async = s->async; in pci1710_handle_fifo() local
439 struct comedi_cmd *cmd = &async->cmd; in pci1710_handle_fifo()
446 async->events |= COMEDI_CB_ERROR; in pci1710_handle_fifo()
452 async->events |= COMEDI_CB_ERROR; in pci1710_handle_fifo()
460 ret = pci1710_ai_read_sample(dev, s, s->async->cur_chan, &val); in pci1710_handle_fifo()
462 s->async->events |= COMEDI_CB_ERROR; in pci1710_handle_fifo()
470 async->scans_done >= cmd->stop_arg) { in pci1710_handle_fifo()
471 async->events |= COMEDI_CB_EOA; in pci1710_handle_fifo()
490 cmd = &s->async->cmd; in pci1710_irq_handler()
524 struct comedi_cmd *cmd = &s->async->cmd; in pci1710_ai_cmd()