Lines Matching full:async
72 * Size of the async input-buffer IN BYTES, the DIO state is transmitted
206 struct comedi_async *async = s->async; in usbduxsigma_ai_handle_urb() local
207 struct comedi_cmd *cmd = &async->cmd; in usbduxsigma_ai_handle_urb()
230 async->scans_done >= cmd->stop_arg) in usbduxsigma_ai_handle_urb()
231 async->events |= COMEDI_CB_EOA; in usbduxsigma_ai_handle_urb()
236 if (!(async->events & COMEDI_CB_CANCEL_MASK)) { in usbduxsigma_ai_handle_urb()
245 async->events |= COMEDI_CB_ERROR; in usbduxsigma_ai_handle_urb()
255 struct comedi_async *async = s->async; in usbduxsigma_ai_urb_complete() local
283 async->events |= COMEDI_CB_ERROR; in usbduxsigma_ai_urb_complete()
290 async->events |= COMEDI_CB_ERROR; in usbduxsigma_ai_urb_complete()
298 if (async->events & COMEDI_CB_CANCEL_MASK) in usbduxsigma_ai_urb_complete()
332 struct comedi_async *async = s->async; in usbduxsigma_ao_handle_urb() local
333 struct comedi_cmd *cmd = &async->cmd; in usbduxsigma_ao_handle_urb()
343 async->scans_done >= cmd->stop_arg) { in usbduxsigma_ao_handle_urb()
344 async->events |= COMEDI_CB_EOA; in usbduxsigma_ao_handle_urb()
357 async->events |= COMEDI_CB_OVERFLOW; in usbduxsigma_ao_handle_urb()
368 if (!(async->events & COMEDI_CB_CANCEL_MASK)) { in usbduxsigma_ao_handle_urb()
384 async->events |= COMEDI_CB_ERROR; in usbduxsigma_ao_handle_urb()
394 struct comedi_async *async = s->async; in usbduxsigma_ao_urb_complete() local
410 async->events |= COMEDI_CB_ERROR; in usbduxsigma_ao_urb_complete()
417 async->events |= COMEDI_CB_ERROR; in usbduxsigma_ao_urb_complete()
425 if (async->events & COMEDI_CB_CANCEL_MASK) in usbduxsigma_ao_urb_complete()
597 struct comedi_cmd *cmd = &s->async->cmd; in usbduxsigma_ai_inttrig()
613 s->async->inttrig = NULL; in usbduxsigma_ai_inttrig()
624 struct comedi_cmd *cmd = &s->async->cmd; in usbduxsigma_ai_cmd()
683 s->async->inttrig = NULL; in usbduxsigma_ai_cmd()
685 s->async->inttrig = usbduxsigma_ai_inttrig; in usbduxsigma_ai_cmd()
801 struct comedi_cmd *cmd = &s->async->cmd; in usbduxsigma_ao_inttrig()
817 s->async->inttrig = NULL; in usbduxsigma_ao_inttrig()
896 struct comedi_cmd *cmd = &s->async->cmd; in usbduxsigma_ao_cmd()
921 s->async->inttrig = NULL; in usbduxsigma_ao_cmd()
923 s->async->inttrig = usbduxsigma_ao_inttrig; in usbduxsigma_ao_cmd()