Lines Matching full:async
71 * Size of the async input-buffer IN BYTES, the DIO state is transmitted
205 struct comedi_async *async = s->async; in usbduxsigma_ai_handle_urb() local
206 struct comedi_cmd *cmd = &async->cmd; in usbduxsigma_ai_handle_urb()
229 async->scans_done >= cmd->stop_arg) in usbduxsigma_ai_handle_urb()
230 async->events |= COMEDI_CB_EOA; in usbduxsigma_ai_handle_urb()
235 if (!(async->events & COMEDI_CB_CANCEL_MASK)) { in usbduxsigma_ai_handle_urb()
244 async->events |= COMEDI_CB_ERROR; in usbduxsigma_ai_handle_urb()
254 struct comedi_async *async = s->async; in usbduxsigma_ai_urb_complete() local
282 async->events |= COMEDI_CB_ERROR; in usbduxsigma_ai_urb_complete()
289 async->events |= COMEDI_CB_ERROR; in usbduxsigma_ai_urb_complete()
297 if (async->events & COMEDI_CB_CANCEL_MASK) in usbduxsigma_ai_urb_complete()
331 struct comedi_async *async = s->async; in usbduxsigma_ao_handle_urb() local
332 struct comedi_cmd *cmd = &async->cmd; in usbduxsigma_ao_handle_urb()
342 async->scans_done >= cmd->stop_arg) { in usbduxsigma_ao_handle_urb()
343 async->events |= COMEDI_CB_EOA; in usbduxsigma_ao_handle_urb()
356 async->events |= COMEDI_CB_OVERFLOW; in usbduxsigma_ao_handle_urb()
367 if (!(async->events & COMEDI_CB_CANCEL_MASK)) { in usbduxsigma_ao_handle_urb()
383 async->events |= COMEDI_CB_ERROR; in usbduxsigma_ao_handle_urb()
393 struct comedi_async *async = s->async; in usbduxsigma_ao_urb_complete() local
409 async->events |= COMEDI_CB_ERROR; in usbduxsigma_ao_urb_complete()
416 async->events |= COMEDI_CB_ERROR; in usbduxsigma_ao_urb_complete()
424 if (async->events & COMEDI_CB_CANCEL_MASK) in usbduxsigma_ao_urb_complete()
596 struct comedi_cmd *cmd = &s->async->cmd; in usbduxsigma_ai_inttrig()
612 s->async->inttrig = NULL; in usbduxsigma_ai_inttrig()
623 struct comedi_cmd *cmd = &s->async->cmd; in usbduxsigma_ai_cmd()
682 s->async->inttrig = NULL; in usbduxsigma_ai_cmd()
684 s->async->inttrig = usbduxsigma_ai_inttrig; in usbduxsigma_ai_cmd()
800 struct comedi_cmd *cmd = &s->async->cmd; in usbduxsigma_ao_inttrig()
816 s->async->inttrig = NULL; in usbduxsigma_ao_inttrig()
895 struct comedi_cmd *cmd = &s->async->cmd; in usbduxsigma_ao_cmd()
920 s->async->inttrig = NULL; in usbduxsigma_ao_cmd()
922 s->async->inttrig = usbduxsigma_ao_inttrig; in usbduxsigma_ao_cmd()