Home
last modified time | relevance | path

Searched refs:async (Results 1 – 200 of 221) sorted by relevance

12

/linux-4.1.27/drivers/staging/comedi/
Dcomedi_buf.c64 struct comedi_async *async = s->async; in __comedi_buf_free() local
68 if (async->prealloc_buf) { in __comedi_buf_free()
69 vunmap(async->prealloc_buf); in __comedi_buf_free()
70 async->prealloc_buf = NULL; in __comedi_buf_free()
71 async->prealloc_bufsz = 0; in __comedi_buf_free()
75 bm = async->buf_map; in __comedi_buf_free()
76 async->buf_map = NULL; in __comedi_buf_free()
85 struct comedi_async *async = s->async; in __comedi_buf_alloc() local
98 bm = kzalloc(sizeof(*async->buf_map), GFP_KERNEL); in __comedi_buf_alloc()
104 async->buf_map = bm; in __comedi_buf_alloc()
[all …]
Dcomedi_fops.c333 struct comedi_async *async = s->async; in resize_async_buffer() local
336 if (new_size > async->max_bufsize) in resize_async_buffer()
364 s->index, async->prealloc_bufsz); in resize_async_buffer()
384 if (s && (s->subdev_flags & SDF_CMD_READ) && s->async) in max_read_buffer_kb_show()
385 size = s->async->max_bufsize / 1024; in max_read_buffer_kb_show()
415 if (s && (s->subdev_flags & SDF_CMD_READ) && s->async) in max_read_buffer_kb_store()
416 s->async->max_bufsize = size; in max_read_buffer_kb_store()
440 if (s && (s->subdev_flags & SDF_CMD_READ) && s->async) in read_buffer_kb_show()
441 size = s->async->prealloc_bufsz / 1024; in read_buffer_kb_show()
471 if (s && (s->subdev_flags & SDF_CMD_READ) && s->async) in read_buffer_kb_store()
[all …]
Ddrivers.c131 if (s->async) { in comedi_device_detach_cleanup()
133 kfree(s->async); in comedi_device_detach_cleanup()
317 struct comedi_cmd *cmd = &s->async->cmd; in comedi_bytes_per_scan()
353 struct comedi_async *async = s->async; in comedi_nscans_left() local
354 struct comedi_cmd *cmd = &async->cmd; in comedi_nscans_left()
365 if (async->scans_done < cmd->stop_arg) in comedi_nscans_left()
366 scans_left = cmd->stop_arg - async->scans_done; in comedi_nscans_left()
386 struct comedi_async *async = s->async; in comedi_nsamples_left() local
387 struct comedi_cmd *cmd = &async->cmd; in comedi_nsamples_left()
394 comedi_bytes_to_samples(s, async->scan_progress); in comedi_nsamples_left()
[all …]
Dcomedidev.h47 struct comedi_async *async; member
555 return s->async->buf_write_count - s->async->buf_read_count; in comedi_buf_n_bytes_ready()
/linux-4.1.27/drivers/base/regmap/
Dregmap-spi.c27 struct regmap_async_spi *async = data; in regmap_spi_complete() local
29 regmap_async_complete_cb(&async->core, async->m.status); in regmap_spi_complete()
62 struct regmap_async_spi *async = container_of(a, in regmap_spi_async_write() local
68 async->t[0].tx_buf = reg; in regmap_spi_async_write()
69 async->t[0].len = reg_len; in regmap_spi_async_write()
70 async->t[1].tx_buf = val; in regmap_spi_async_write()
71 async->t[1].len = val_len; in regmap_spi_async_write()
73 spi_message_init(&async->m); in regmap_spi_async_write()
74 spi_message_add_tail(&async->t[0], &async->m); in regmap_spi_async_write()
76 spi_message_add_tail(&async->t[1], &async->m); in regmap_spi_async_write()
[all …]
Dregmap.c1075 struct regmap_async *async; in regmap_exit() local
1084 async = list_first_entry_or_null(&map->async_free, in regmap_exit()
1087 list_del(&async->list); in regmap_exit()
1088 kfree(async->work_buf); in regmap_exit()
1089 kfree(async); in regmap_exit()
1280 if (map->async && map->bus->async_write) { in _regmap_raw_write()
1281 struct regmap_async *async; in _regmap_raw_write() local
1286 async = list_first_entry_or_null(&map->async_free, in _regmap_raw_write()
1289 if (async) in _regmap_raw_write()
1290 list_del(&async->list); in _regmap_raw_write()
[all …]
Dinternal.h70 bool async; member
236 void regmap_async_complete_cb(struct regmap_async *async, int ret);
Dregcache.c319 map->async = true; in regcache_sync()
343 map->async = false; in regcache_sync()
389 map->async = true; in regcache_sync_region()
399 map->async = false; in regcache_sync_region()
/linux-4.1.27/drivers/staging/comedi/drivers/
Dmite.c298 struct comedi_async *async = s->async; in mite_buf_change() local
313 if (async->prealloc_bufsz == 0) in mite_buf_change()
316 n_links = async->prealloc_bufsz >> PAGE_SHIFT; in mite_buf_change()
332 cpu_to_le32(async->buf_map->page_list[i].dma_addr); in mite_buf_change()
514 struct comedi_async *async = s->async; in mite_sync_input_dma() local
518 old_alloc_count = async->buf_write_alloc_count; in mite_sync_input_dma()
520 comedi_buf_write_alloc(s, async->prealloc_bufsz); in mite_sync_input_dma()
527 async->events |= COMEDI_CB_OVERFLOW; in mite_sync_input_dma()
531 count = nbytes - async->buf_write_count; in mite_sync_input_dma()
539 async->events |= COMEDI_CB_BLOCK; in mite_sync_input_dma()
[all …]
Dni_tiocmd.c91 struct comedi_cmd *cmd = &s->async->cmd; in ni_tio_input_inttrig()
107 s->async->inttrig = NULL; in ni_tio_input_inttrig()
117 struct comedi_async *async = s->async; in ni_tio_input_cmd() local
118 struct comedi_cmd *cmd = &async->cmd; in ni_tio_input_cmd()
122 comedi_buf_write_alloc(s, async->prealloc_bufsz); in ni_tio_input_cmd()
140 async->inttrig = &ni_tio_input_inttrig; in ni_tio_input_cmd()
142 async->inttrig = NULL; in ni_tio_input_cmd()
170 struct comedi_cmd *cmd = &s->async->cmd; in ni_tio_cmd_setup()
197 struct comedi_async *async = s->async; in ni_tio_cmd() local
198 struct comedi_cmd *cmd = &async->cmd; in ni_tio_cmd()
[all …]
Damplc_pci230.c1019 cmd = &s->async->cmd; in pci230_ao_stop()
1061 struct comedi_async *async = s->async; in pci230_handle_ao_nofifo() local
1062 struct comedi_cmd *cmd = &async->cmd; in pci230_handle_ao_nofifo()
1066 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) in pci230_handle_ao_nofifo()
1073 async->events |= COMEDI_CB_OVERFLOW; in pci230_handle_ao_nofifo()
1080 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) in pci230_handle_ao_nofifo()
1081 async->events |= COMEDI_CB_EOA; in pci230_handle_ao_nofifo()
1092 struct comedi_async *async = s->async; in pci230_handle_ao_fifo() local
1093 struct comedi_cmd *cmd = &async->cmd; in pci230_handle_ao_fifo()
1151 async->scans_done >= cmd->stop_arg) { in pci230_handle_ao_fifo()
[all …]
Dusbduxsigma.c214 struct comedi_async *async = s->async; in usbduxsigma_ai_handle_urb() local
215 struct comedi_cmd *cmd = &async->cmd; in usbduxsigma_ai_handle_urb()
236 async->scans_done >= cmd->stop_arg) in usbduxsigma_ai_handle_urb()
237 async->events |= COMEDI_CB_EOA; in usbduxsigma_ai_handle_urb()
241 if (!(async->events & COMEDI_CB_CANCEL_MASK)) { in usbduxsigma_ai_handle_urb()
250 async->events |= COMEDI_CB_ERROR; in usbduxsigma_ai_handle_urb()
260 struct comedi_async *async = s->async; in usbduxsigma_ai_urb_complete() local
288 async->events |= COMEDI_CB_ERROR; in usbduxsigma_ai_urb_complete()
295 async->events |= COMEDI_CB_ERROR; in usbduxsigma_ai_urb_complete()
303 if (async->events & COMEDI_CB_CANCEL_MASK) in usbduxsigma_ai_urb_complete()
[all …]
Dusbdux.c253 struct comedi_async *async = s->async; in usbduxsub_ai_handle_urb() local
254 struct comedi_cmd *cmd = &async->cmd; in usbduxsub_ai_handle_urb()
277 async->scans_done >= cmd->stop_arg) in usbduxsub_ai_handle_urb()
278 async->events |= COMEDI_CB_EOA; in usbduxsub_ai_handle_urb()
282 if (!(async->events & COMEDI_CB_CANCEL_MASK)) { in usbduxsub_ai_handle_urb()
292 async->events |= COMEDI_CB_ERROR; in usbduxsub_ai_handle_urb()
301 struct comedi_async *async = s->async; in usbduxsub_ai_isoc_irq() local
330 async->events |= COMEDI_CB_ERROR; in usbduxsub_ai_isoc_irq()
338 async->events |= COMEDI_CB_ERROR; in usbduxsub_ai_isoc_irq()
346 if (async->events & COMEDI_CB_CANCEL_MASK) in usbduxsub_ai_isoc_irq()
[all …]
Dusbduxfast.c241 struct comedi_async *async = s->async; in usbduxfast_ai_handle_urb() local
242 struct comedi_cmd *cmd = &async->cmd; in usbduxfast_ai_handle_urb()
255 async->scans_done >= cmd->stop_arg) in usbduxfast_ai_handle_urb()
256 async->events |= COMEDI_CB_EOA; in usbduxfast_ai_handle_urb()
260 if (!(async->events & COMEDI_CB_CANCEL_MASK)) { in usbduxfast_ai_handle_urb()
266 async->events |= COMEDI_CB_ERROR; in usbduxfast_ai_handle_urb()
275 struct comedi_async *async = s->async; in usbduxfast_ai_interrupt() local
292 async->events |= COMEDI_CB_ERROR; in usbduxfast_ai_interrupt()
300 async->events |= COMEDI_CB_ERROR; in usbduxfast_ai_interrupt()
308 if (async->events & COMEDI_CB_CANCEL_MASK) in usbduxfast_ai_interrupt()
[all …]
Dni_labpc_isadma.c38 struct comedi_cmd *cmd = &s->async->cmd; in labpc_suggest_transfer_size()
65 struct comedi_cmd *cmd = &s->async->cmd; in labpc_setup_dma()
86 struct comedi_async *async = s->async; in labpc_drain_dma() local
87 struct comedi_cmd *cmd = &async->cmd; in labpc_drain_dma()
Dcb_pcidas.c884 struct comedi_async *async = s->async; in cb_pcidas_ai_cmd() local
885 struct comedi_cmd *cmd = &async->cmd; in cb_pcidas_ai_cmd()
1095 struct comedi_async *async = s->async; in cb_pcidas_ao_inttrig() local
1096 struct comedi_cmd *cmd = &async->cmd; in cb_pcidas_ao_inttrig()
1118 async->inttrig = NULL; in cb_pcidas_ao_inttrig()
1127 struct comedi_async *async = s->async; in cb_pcidas_ao_cmd() local
1128 struct comedi_cmd *cmd = &async->cmd; in cb_pcidas_ao_cmd()
1173 async->inttrig = cb_pcidas_ao_inttrig; in cb_pcidas_ao_cmd()
1203 struct comedi_async *async = s->async; in handle_ao_interrupt() local
1204 struct comedi_cmd *cmd = &async->cmd; in handle_ao_interrupt()
[all …]
Dadv_pci1710.c537 struct comedi_cmd *cmd = &s->async->cmd; in pci1710_handle_every_sample()
545 s->async->events |= COMEDI_CB_ERROR; in pci1710_handle_every_sample()
551 s->async->events |= COMEDI_CB_ERROR; in pci1710_handle_every_sample()
558 ret = pci171x_ai_read_sample(dev, s, s->async->cur_chan, &val); in pci1710_handle_every_sample()
560 s->async->events |= COMEDI_CB_ERROR; in pci1710_handle_every_sample()
567 s->async->scans_done >= cmd->stop_arg) { in pci1710_handle_every_sample()
568 s->async->events |= COMEDI_CB_EOA; in pci1710_handle_every_sample()
580 struct comedi_async *async = s->async; in pci1710_handle_fifo() local
581 struct comedi_cmd *cmd = &async->cmd; in pci1710_handle_fifo()
588 async->events |= COMEDI_CB_ERROR; in pci1710_handle_fifo()
[all …]
Daddi_apci_3120.c214 struct comedi_cmd *cmd = &s->async->cmd; in apci3120_setup_dma()
250 if (dmalen0 > s->async->prealloc_bufsz) in apci3120_setup_dma()
251 dmalen0 = s->async->prealloc_bufsz; in apci3120_setup_dma()
252 if (dmalen1 > s->async->prealloc_bufsz) in apci3120_setup_dma()
253 dmalen1 = s->async->prealloc_bufsz; in apci3120_setup_dma()
435 struct comedi_async *async = s->async; in apci3120_interrupt_dma() local
436 struct comedi_cmd *cmd = &async->cmd; in apci3120_interrupt_dma()
449 async->events |= COMEDI_CB_ERROR; in apci3120_interrupt_dma()
458 async->events |= COMEDI_CB_EOS; in apci3120_interrupt_dma()
461 if ((async->events & COMEDI_CB_CANCEL_MASK) || in apci3120_interrupt_dma()
[all …]
Dadl_pci9118.c429 struct comedi_cmd *cmd = &s->async->cmd; in valid_samples_in_act_dma_buf()
486 struct comedi_cmd *cmd = &s->async->cmd; in move_block_from_dma()
556 struct comedi_cmd *cmd = &s->async->cmd; in pci9118_calc_divisors()
610 s->async->inttrig = NULL; in pci9118_ai_cancel()
641 struct comedi_cmd *cmd = &s->async->cmd; in interrupt_pci9118_ai_onesample()
649 if (s->async->scans_done >= cmd->stop_arg) in interrupt_pci9118_ai_onesample()
650 s->async->events |= COMEDI_CB_EOA; in interrupt_pci9118_ai_onesample()
658 struct comedi_cmd *cmd = &s->async->cmd; in interrupt_pci9118_ai_dma()
682 if (s->async->scans_done >= cmd->stop_arg) in interrupt_pci9118_ai_dma()
683 s->async->events |= COMEDI_CB_EOA; in interrupt_pci9118_ai_dma()
[all …]
Ddas800.c379 struct comedi_async *async = s->async; in das800_ai_do_cmd() local
380 struct comedi_cmd *cmd = &async->cmd; in das800_ai_do_cmd()
435 struct comedi_async *async; in das800_interrupt() local
450 async = s->async; in das800_interrupt()
451 cmd = &async->cmd; in das800_interrupt()
487 async->scans_done >= cmd->stop_arg) { in das800_interrupt()
488 async->events |= COMEDI_CB_EOA; in das800_interrupt()
495 async->events |= COMEDI_CB_ERROR; in das800_interrupt()
500 if (!(async->events & COMEDI_CB_CANCEL_MASK)) { in das800_interrupt()
Dni_pcidio.c350 comedi_buf_write_alloc(s, s->async->prealloc_bufsz); in setup_mite_dma()
385 struct comedi_async *async = s->async; in nidio_interrupt() local
421 async->events |= COMEDI_CB_ERROR; in nidio_interrupt()
457 async->events |= COMEDI_CB_EOA; in nidio_interrupt()
463 async->events |= COMEDI_CB_ERROR; in nidio_interrupt()
468 async->events |= COMEDI_CB_EOA; in nidio_interrupt()
472 async->events |= COMEDI_CB_EOA; in nidio_interrupt()
621 struct comedi_cmd *cmd = &s->async->cmd; in ni_pcidio_inttrig()
627 s->async->inttrig = NULL; in ni_pcidio_inttrig()
635 struct comedi_cmd *cmd = &s->async->cmd; in ni_pcidio_cmd()
[all …]
Ddas16m1.c252 struct comedi_async *async = s->async; in das16m1_cmd_exec() local
253 struct comedi_cmd *cmd = &async->cmd; in das16m1_cmd_exec()
401 struct comedi_async *async; in das16m1_handler() local
407 async = s->async; in das16m1_handler()
408 cmd = &async->cmd; in das16m1_handler()
441 async->events |= COMEDI_CB_EOA; in das16m1_handler()
448 async->events |= COMEDI_CB_ERROR; in das16m1_handler()
Dpcmuio.c302 s->async->inttrig = NULL; in pcmuio_stop_intr()
315 struct comedi_cmd *cmd = &s->async->cmd; in pcmuio_handle_intr_subdev()
338 s->async->scans_done >= cmd->stop_arg) in pcmuio_handle_intr_subdev()
339 s->async->events |= COMEDI_CB_EOA; in pcmuio_handle_intr_subdev()
390 struct comedi_cmd *cmd = &s->async->cmd; in pcmuio_start_intr()
436 struct comedi_cmd *cmd = &s->async->cmd; in pcmuio_inttrig_start_intr()
445 s->async->inttrig = NULL; in pcmuio_inttrig_start_intr()
460 struct comedi_cmd *cmd = &s->async->cmd; in pcmuio_cmd()
470 s->async->inttrig = pcmuio_inttrig_start_intr; in pcmuio_cmd()
Damplc_pci224.c484 struct comedi_cmd *cmd = &s->async->cmd; in pci224_ao_start()
507 struct comedi_cmd *cmd = &s->async->cmd; in pci224_ao_handle_fifo()
519 s->async->scans_done >= cmd->stop_arg) { in pci224_ao_handle_fifo()
521 s->async->events |= COMEDI_CB_EOA; in pci224_ao_handle_fifo()
541 s->async->events |= COMEDI_CB_OVERFLOW; in pci224_ao_handle_fifo()
561 s->async->scans_done >= cmd->stop_arg) { in pci224_ao_handle_fifo()
608 struct comedi_cmd *cmd = &s->async->cmd; in pci224_ao_inttrig_start()
613 s->async->inttrig = NULL; in pci224_ao_inttrig_start()
831 struct comedi_cmd *cmd = &s->async->cmd; in pci224_ao_cmd()
886 s->async->inttrig = pci224_ao_inttrig_start; in pci224_ao_cmd()
[all …]
Dgsc_hpdi.c173 struct comedi_cmd *cmd = &s->async->cmd; in gsc_hpdi_drain_dma()
213 struct comedi_async *async = s->async; in gsc_hpdi_interrupt() local
262 async->events |= COMEDI_CB_ERROR; in gsc_hpdi_interrupt()
267 async->events |= COMEDI_CB_ERROR; in gsc_hpdi_interrupt()
271 async->events |= COMEDI_CB_EOA; in gsc_hpdi_interrupt()
306 struct comedi_async *async = s->async; in gsc_hpdi_cmd() local
307 struct comedi_cmd *cmd = &async->cmd; in gsc_hpdi_cmd()
Dpcmmio.c325 s->async->inttrig = NULL; in pcmmio_stop_intr()
336 struct comedi_cmd *cmd = &s->async->cmd; in pcmmio_handle_dio_intr()
359 s->async->scans_done >= cmd->stop_arg) in pcmmio_handle_dio_intr()
360 s->async->events |= COMEDI_CB_EOA; in pcmmio_handle_dio_intr()
394 struct comedi_cmd *cmd = &s->async->cmd; in pcmmio_start_intr()
438 struct comedi_cmd *cmd = &s->async->cmd; in pcmmio_inttrig_start_intr()
445 s->async->inttrig = NULL; in pcmmio_inttrig_start_intr()
459 struct comedi_cmd *cmd = &s->async->cmd; in pcmmio_cmd()
467 s->async->inttrig = pcmmio_inttrig_start_intr; in pcmmio_cmd()
Dadl_pci9111.c364 struct comedi_cmd *cmd = &s->async->cmd; in pci9111_ai_do_cmd()
436 struct comedi_cmd *cmd = &s->async->cmd; in pci9111_handle_fifo_half_full()
483 struct comedi_async *async; in pci9111_interrupt() local
495 async = s->async; in pci9111_interrupt()
496 cmd = &async->cmd; in pci9111_interrupt()
521 async->events |= COMEDI_CB_ERROR; in pci9111_interrupt()
532 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) in pci9111_interrupt()
533 async->events |= COMEDI_CB_EOA; in pci9111_interrupt()
Dni_at_a2150.c159 struct comedi_async *async = s->async; in a2150_interrupt() local
160 struct comedi_cmd *cmd = &async->cmd; in a2150_interrupt()
175 async->events |= COMEDI_CB_ERROR; in a2150_interrupt()
180 async->events |= COMEDI_CB_ERROR; in a2150_interrupt()
222 async->events |= COMEDI_CB_EOA; in a2150_interrupt()
488 struct comedi_async *async = s->async; in a2150_ai_cmd() local
489 struct comedi_cmd *cmd = &async->cmd; in a2150_ai_cmd()
Dcomedi_test.c172 struct comedi_async *async = s->async; in waveform_ai_interrupt() local
173 struct comedi_cmd *cmd = &async->cmd; in waveform_ai_interrupt()
210 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) in waveform_ai_interrupt()
211 async->events |= COMEDI_CB_EOA; in waveform_ai_interrupt()
304 struct comedi_cmd *cmd = &s->async->cmd; in waveform_ai_cmd()
Dpcl818.c438 struct comedi_cmd *cmd = &s->async->cmd; in pcl818_ai_write_sample()
448 s->async->events |= COMEDI_CB_ERROR; in pcl818_ai_write_sample()
459 s->async->scans_done >= cmd->stop_arg) { in pcl818_ai_write_sample()
460 s->async->events |= COMEDI_CB_EOA; in pcl818_ai_write_sample()
475 s->async->events |= COMEDI_CB_ERROR; in pcl818_handle_eoc()
520 s->async->events |= COMEDI_CB_ERROR; in pcl818_handle_fifo()
527 s->async->events |= COMEDI_CB_ERROR; in pcl818_handle_fifo()
548 struct comedi_cmd *cmd = &s->async->cmd; in pcl818_interrupt()
562 s->async->scans_done = cmd->stop_arg; in pcl818_interrupt()
722 struct comedi_cmd *cmd = &s->async->cmd; in pcl818_ai_cmd()
[all …]
Dni_labpc_common.c624 struct comedi_async *async = s->async; in labpc_ai_cmd() local
625 struct comedi_cmd *cmd = &async->cmd; in labpc_ai_cmd()
769 struct comedi_async *async = dev->read_subdev->async; in labpc_drain_fifo() local
770 struct comedi_cmd *cmd = &async->cmd; in labpc_drain_fifo()
791 async->events |= COMEDI_CB_ERROR; in labpc_drain_fifo()
817 struct comedi_async *async; in labpc_interrupt() local
825 async = s->async; in labpc_interrupt()
826 cmd = &async->cmd; in labpc_interrupt()
843 async->events |= COMEDI_CB_ERROR; in labpc_interrupt()
863 async->events |= COMEDI_CB_ERROR; in labpc_interrupt()
[all …]
Ddas6402.c185 struct comedi_async *async = s->async; in das6402_interrupt() local
186 struct comedi_cmd *cmd = &async->cmd; in das6402_interrupt()
194 async->events |= COMEDI_CB_OVERFLOW; in das6402_interrupt()
202 async->scans_done >= cmd->stop_arg) in das6402_interrupt()
203 async->events |= COMEDI_CB_EOA; in das6402_interrupt()
234 struct comedi_cmd *cmd = &s->async->cmd; in das6402_ai_cmd()
Ddas1800.c483 struct comedi_cmd *cmd = &s->async->cmd; in das1800_handle_fifo_not_empty()
496 s->async->scans_done >= cmd->stop_arg) in das1800_handle_fifo_not_empty()
591 struct comedi_async *async = s->async; in das1800_ai_handler() local
592 struct comedi_cmd *cmd = &async->cmd; in das1800_ai_handler()
612 async->events |= COMEDI_CB_ERROR; in das1800_ai_handler()
626 async->events |= COMEDI_CB_EOA; in das1800_ai_handler()
628 async->scans_done >= cmd->stop_arg) { in das1800_ai_handler()
629 async->events |= COMEDI_CB_EOA; in das1800_ai_handler()
907 struct comedi_cmd *cmd = &s->async->cmd; in das1800_ai_transfer_size()
995 struct comedi_async *async = s->async; in das1800_ai_do_cmd() local
[all …]
Daddi_apci_2032.c136 struct comedi_cmd *cmd = &s->async->cmd; in apci2032_int_cmd()
175 struct comedi_cmd *cmd = &s->async->cmd; in apci2032_interrupt()
214 s->async->scans_done >= cmd->stop_arg) in apci2032_interrupt()
215 s->async->events |= COMEDI_CB_EOA; in apci2032_interrupt()
Damplc_dio200_common.c222 struct comedi_cmd *cmd = &s->async->cmd; in dio200_start_intr()
244 struct comedi_cmd *cmd = &s->async->cmd; in dio200_inttrig_start_intr()
251 s->async->inttrig = NULL; in dio200_inttrig_start_intr()
264 struct comedi_cmd *cmd = &s->async->cmd; in dio200_read_scan_intr()
278 s->async->scans_done >= cmd->stop_arg) in dio200_read_scan_intr()
279 s->async->events |= COMEDI_CB_EOA; in dio200_read_scan_intr()
420 struct comedi_cmd *cmd = &s->async->cmd; in dio200_subdev_intr_cmd()
429 s->async->inttrig = dio200_inttrig_start_intr; in dio200_subdev_intr_cmd()
Dquatech_daqp_cs.c189 struct comedi_cmd *cmd = &s->async->cmd; in daqp_interrupt()
207 s->async->events |= COMEDI_CB_OVERFLOW; in daqp_interrupt()
223 s->async->scans_done >= cmd->stop_arg) { in daqp_interrupt()
224 s->async->events |= COMEDI_CB_EOA; in daqp_interrupt()
235 s->async->events |= COMEDI_CB_ERROR; in daqp_interrupt()
449 struct comedi_cmd *cmd = &s->async->cmd; in daqp_ai_cmd()
Ddt282x.c449 s->async->events |= COMEDI_CB_OVERFLOW; in dt282x_ao_dma_interrupt()
479 s->async->events |= COMEDI_CB_EOA; in dt282x_ai_dma_interrupt()
523 s->async->events |= COMEDI_CB_ERROR; in dt282x_interrupt()
529 s_ao->async->events |= COMEDI_CB_ERROR; in dt282x_interrupt()
545 s->async->events |= COMEDI_CB_EOA; in dt282x_interrupt()
721 struct comedi_cmd *cmd = &s->async->cmd; in dt282x_ai_cmd()
885 struct comedi_cmd *cmd = &s->async->cmd; in dt282x_ao_inttrig()
898 s->async->inttrig = NULL; in dt282x_ao_inttrig()
907 struct comedi_cmd *cmd = &s->async->cmd; in dt282x_ao_cmd()
936 s->async->inttrig = dt282x_ao_inttrig; in dt282x_ao_cmd()
Ddas16.c476 struct comedi_async *async = s->async; in das16_interrupt() local
477 struct comedi_cmd *cmd = &async->cmd; in das16_interrupt()
502 async->events |= COMEDI_CB_ERROR; in das16_interrupt()
519 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) in das16_interrupt()
520 async->events |= COMEDI_CB_EOA; in das16_interrupt()
704 struct comedi_async *async = s->async; in das16_cmd_exec() local
705 struct comedi_cmd *cmd = &async->cmd; in das16_cmd_exec()
Dpcl812.c705 struct comedi_cmd *cmd = &s->async->cmd; in pcl812_ai_cmd()
759 struct comedi_cmd *cmd = &s->async->cmd; in pcl812_ai_next_chan()
762 s->async->scans_done >= cmd->stop_arg) { in pcl812_ai_next_chan()
763 s->async->events |= COMEDI_CB_EOA; in pcl812_ai_next_chan()
773 struct comedi_cmd *cmd = &s->async->cmd; in pcl812_handle_eoc()
774 unsigned int chan = s->async->cur_chan; in pcl812_handle_eoc()
780 s->async->events |= COMEDI_CB_ERROR; in pcl812_handle_eoc()
788 next_chan = s->async->cur_chan; in pcl812_handle_eoc()
Dni_mio_common.c1174 s->async->events |= COMEDI_CB_OVERFLOW; in ni_ao_fifo_half_empty()
1218 struct comedi_async *async = s->async; in ni_ai_fifo_read() local
1261 async->events |= COMEDI_CB_ERROR; in ni_ai_fifo_read()
1400 s->async->events |= COMEDI_CB_EOA; in shutdown_ai_command()
1414 if ((s->async->events & COMEDI_CB_EOS)) in ni_handle_eos()
1420 s->async->events |= COMEDI_CB_EOS; in ni_handle_eos()
1464 struct comedi_cmd *cmd = &s->async->cmd; in handle_a_interrupt()
1480 s->async->events |= COMEDI_CB_ERROR; in handle_a_interrupt()
1493 s->async->events |= COMEDI_CB_ERROR; in handle_a_interrupt()
1505 s->async->events |= COMEDI_CB_ERROR; in handle_a_interrupt()
[all …]
Ds626.c1349 struct comedi_cmd *cmd = &s->async->cmd; in s626_handle_dio_interrupt()
1412 struct comedi_async *async = s->async; in s626_check_counter_interrupts() local
1413 struct comedi_cmd *cmd = &async->cmd; in s626_check_counter_interrupts()
1472 struct comedi_async *async = s->async; in s626_handle_eos_interrupt() local
1473 struct comedi_cmd *cmd = &async->cmd; in s626_handle_eos_interrupt()
1496 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) in s626_handle_eos_interrupt()
1497 async->events |= COMEDI_CB_EOA; in s626_handle_eos_interrupt()
1499 if (async->events & COMEDI_CB_CANCEL_MASK) in s626_handle_eos_interrupt()
1559 struct comedi_cmd *cmd = &s->async->cmd; in s626_reset_adc()
1925 struct comedi_cmd *cmd = &s->async->cmd; in s626_ai_inttrig()
[all …]
Dpcl711.c194 struct comedi_cmd *cmd = &s->async->cmd; in pcl711_interrupt()
209 s->async->scans_done >= cmd->stop_arg) in pcl711_interrupt()
210 s->async->events |= COMEDI_CB_EOA; in pcl711_interrupt()
349 struct comedi_cmd *cmd = &s->async->cmd; in pcl711_ai_cmd()
Drtd520.c603 struct comedi_async *async = s->async; in ai_read_n() local
604 struct comedi_cmd *cmd = &async->cmd; in ai_read_n()
608 unsigned int range = CR_RANGE(cmd->chanlist[async->cur_chan]); in ai_read_n()
700 s->async->events |= COMEDI_CB_ERROR; in rtd_interrupt()
703 s->async->events |= COMEDI_CB_EOA; in rtd_interrupt()
878 struct comedi_cmd *cmd = &s->async->cmd; in rtd_ai_cmd()
Ddmm32at.c373 struct comedi_cmd *cmd = &s->async->cmd; in dmm32at_ai_cmd()
426 struct comedi_cmd *cmd = &s->async->cmd; in dmm32at_isr()
434 s->async->scans_done >= cmd->stop_arg) in dmm32at_isr()
435 s->async->events |= COMEDI_CB_EOA; in dmm32at_isr()
Dcb_pcidas64.c2541 struct comedi_async *async = s->async; in ai_cmd() local
2542 struct comedi_cmd *cmd = &async->cmd; in ai_cmd()
2798 struct comedi_async *async = s->async; in handle_ai_interrupt() local
2799 struct comedi_cmd *cmd = &async->cmd; in handle_ai_interrupt()
2806 async->events |= COMEDI_CB_ERROR; in handle_ai_interrupt()
2835 async->scans_done >= cmd->stop_arg) || in handle_ai_interrupt()
2837 async->events |= COMEDI_CB_EOA; in handle_ai_interrupt()
2975 struct comedi_async *async; in handle_ao_interrupt() local
2983 async = s->async; in handle_ao_interrupt()
2984 cmd = &async->cmd; in handle_ao_interrupt()
[all …]
Ddt2814.c182 struct comedi_cmd *cmd = &s->async->cmd; in dt2814_ai_cmd()
228 s->async->events |= COMEDI_CB_EOA; in dt2814_interrupt()
Dpcl816.c223 struct comedi_cmd *cmd = &s->async->cmd; in pcl816_ai_next_chan()
226 s->async->scans_done >= cmd->stop_arg) { in pcl816_ai_next_chan()
227 s->async->events |= COMEDI_CB_EOA; in pcl816_ai_next_chan()
419 struct comedi_cmd *cmd = &s->async->cmd; in pcl816_ai_cmd()
Ddt3000.c355 s->async->events |= COMEDI_CB_ERROR; in dt3k_interrupt()
359 s->async->events |= COMEDI_CB_EOA; in dt3k_interrupt()
479 struct comedi_cmd *cmd = &s->async->cmd; in dt3k_ai_cmd()
Dme4000.c797 struct comedi_cmd *cmd = &s->async->cmd; in me4000_ai_do_cmd()
1060 s->async->events |= COMEDI_CB_ERROR; in me4000_ai_isr()
1081 s->async->events |= COMEDI_CB_ERROR; in me4000_ai_isr()
1113 s->async->events |= COMEDI_CB_EOA; in me4000_ai_isr()
Daddi_apci_1500.c293 struct comedi_cmd *cmd = &s->async->cmd; in apci1500_di_inttrig_start()
374 s->async->inttrig = apci1500_di_inttrig_start; in apci1500_di_cmd()
Daddi_apci_3xxx.c373 s->async->events |= COMEDI_CB_EOA; in apci3xxx_irq_handler()
580 struct comedi_cmd *cmd = &s->async->cmd; in apci3xxx_ai_cmd()
Dni_atmio16d.c293 struct comedi_cmd *cmd = &s->async->cmd; in atmio16d_ai_cmd()
/linux-4.1.27/arch/tile/mm/
Dfault.c806 struct async_tlb *async; in do_page_fault() local
813 async = &current->thread.dma_async_tlb; in do_page_fault()
817 async = NULL; in do_page_fault()
819 if (async) { in do_page_fault()
828 if (async->fault_num != 0) { in do_page_fault()
830 fault_num, async->fault_num, in do_page_fault()
834 async->fault_num = fault_num; in do_page_fault()
835 async->is_fault = is_page_fault; in do_page_fault()
836 async->is_write = write; in do_page_fault()
837 async->address = address; in do_page_fault()
[all …]
/linux-4.1.27/drivers/net/ethernet/sfc/
Dmcdi.c373 struct efx_mcdi_async_param *async; in efx_mcdi_release() local
378 async = list_first_entry_or_null( in efx_mcdi_release()
380 if (async) { in efx_mcdi_release()
382 efx_mcdi_send_request(efx, async->cmd, in efx_mcdi_release()
383 (const efx_dword_t *)(async + 1), in efx_mcdi_release()
384 async->inlen); in efx_mcdi_release()
390 if (async) in efx_mcdi_release()
406 struct efx_mcdi_async_param *async; in efx_mcdi_complete_async() local
442 async = list_first_entry(&mcdi->async_list, in efx_mcdi_complete_async()
444 list_del(&async->list); in efx_mcdi_complete_async()
[all …]
/linux-4.1.27/arch/powerpc/platforms/powernv/
Dopal-async.c157 const __be32 *async; in opal_async_comp_init() local
167 async = of_get_property(opal_node, "opal-msg-async-num", NULL); in opal_async_comp_init()
168 if (!async) { in opal_async_comp_init()
175 opal_max_async_tokens = be32_to_cpup(async); in opal_async_comp_init()
DMakefile1 obj-y += setup.o opal-wrappers.o opal.o opal-async.o
/linux-4.1.27/Documentation/
Dmailbox.txt36 send a message through before returning) or non-blocking/async mode (submit
44 bool async;
56 if (dc->async) {
93 dc_async->async = true;
103 dc_sync->async = false;
109 /* Send async message to remote */
120 /* Now wait for async chan to be done */
/linux-4.1.27/drivers/usb/host/
Dehci-mem.c122 if (ehci->async) in ehci_mem_cleanup()
123 qh_destroy(ehci, ehci->async); in ehci_mem_cleanup()
124 ehci->async = NULL; in ehci_mem_cleanup()
183 ehci->async = ehci_qh_alloc (ehci, flags); in ehci_mem_init()
184 if (!ehci->async) { in ehci_mem_init()
Doxu210hp-hcd.c726 if (oxu->async) in ehci_mem_cleanup()
727 qh_put(oxu->async); in ehci_mem_cleanup()
728 oxu->async = NULL; in ehci_mem_cleanup()
759 oxu->async = oxu_qh_alloc(oxu); in ehci_mem_init()
760 if (!oxu->async) in ehci_mem_init()
1284 qtd->hw_alt_next = oxu->async->hw_alt_next; in qh_urb_transaction()
1502 head = oxu->async; in qh_link_async()
1692 && oxu->async->qh_next.qh == NULL) in end_unlink_async()
1718 if (unlikely(qh == oxu->async)) { in start_unlink_async()
1734 prev = oxu->async; in start_unlink_async()
[all …]
Dehci-q.c667 qtd->hw_alt_next = ehci->async->hw->hw_alt_next; in qh_urb_transaction()
967 WARN_ON(ehci->async->qh_next.qh || !list_empty(&ehci->async_unlink) || in disable_async()
991 head = ehci->async; in qh_link_async()
1265 prev = ehci->async; in single_unlink_async()
1307 ehci_writel(ehci, (u32) ehci->async->qh_dma, in end_unlink_async()
1382 for (qh = ehci->async->qh_next.qh; qh; qh = qh->qh_next.qh) { in unlink_empty_async()
1409 while (ehci->async->qh_next.qh) { in unlink_empty_async_suspended()
1410 qh = ehci->async->qh_next.qh; in unlink_empty_async_suspended()
1437 ehci->qh_scan_next = ehci->async->qh_next.qh; in scan_async()
Dehci-hcd.c521 ehci->async->qh_next.qh = NULL; in ehci_init()
522 hw = ehci->async->hw; in ehci_init()
523 hw->hw_next = QH_NEXT(ehci, ehci->async->qh_dma); in ehci_init()
530 ehci->async->qh_state = QH_STATE_LINKED; in ehci_init()
531 hw->hw_alt_next = QTD_NEXT(ehci, ehci->async->dummy->qtd_dma); in ehci_init()
582 ehci_writel(ehci, (u32)ehci->async->qh_dma, &ehci->regs->async_next); in ehci_run()
Dsl811-hcd.c315 else if (!list_empty(&sl811->async)) in start()
316 ep = container_of(sl811->async.next, in start()
330 if (ep->schedule.next == &sl811->async) in start()
743 if (sl811->periodic_count == 0 && list_empty(&sl811->async)) in sl811h_irq()
895 list_add_tail(&ep->schedule, &sl811->async); in sl811h_urb_enqueue()
1434 list_for_each_entry (ep, &sl811->async, schedule) { in sl811h_show()
1457 if (!list_empty(&sl811->async)) in sl811h_show()
1692 INIT_LIST_HEAD(&sl811->async); in sl811h_probe()
Disp116x-hcd.c515 list_for_each_entry(ep, &isp116x->async, schedule) { in start_atl_transfers()
563 if ((&isp116x->async)->next != (&isp116x->async)->prev) in start_atl_transfers()
564 list_move(&isp116x->async, (&isp116x->async)->next); in start_atl_transfers()
771 list_add_tail(&ep->schedule, &isp116x->async); in isp116x_urb_enqueue()
1630 INIT_LIST_HEAD(&isp116x->async); in isp116x_probe()
Dfusbh200-hcd.c387 == fusbh200->async->hw->hw_alt_next) in qh_lines()
417 if (td->hw_alt_next == fusbh200->async->hw->hw_alt_next) in qh_lines()
474 for (qh = fusbh200->async->qh_next.qh; size > 0 && qh; qh = qh->qh_next.qh) in fill_async_buffer()
1920 if (fusbh200->async) in fusbh200_mem_cleanup()
1921 qh_destroy(fusbh200, fusbh200->async); in fusbh200_mem_cleanup()
1922 fusbh200->async = NULL; in fusbh200_mem_cleanup()
1977 fusbh200->async = fusbh200_qh_alloc (fusbh200, flags); in fusbh200_mem_init()
1978 if (!fusbh200->async) { in fusbh200_mem_init()
2692 qtd->hw_alt_next = fusbh200->async->hw->hw_alt_next; in qh_urb_transaction()
2976 WARN_ON(fusbh200->async->qh_next.qh || fusbh200->async_unlink); in disable_async()
[all …]
Dfotg210-hcd.c399 == fotg210->async->hw->hw_alt_next) in qh_lines()
429 if (td->hw_alt_next == fotg210->async->hw->hw_alt_next) in qh_lines()
494 for (qh = fotg210->async->qh_next.qh; size > 0 && qh; in fill_async_buffer()
1970 if (fotg210->async) in fotg210_mem_cleanup()
1971 qh_destroy(fotg210, fotg210->async); in fotg210_mem_cleanup()
1972 fotg210->async = NULL; in fotg210_mem_cleanup()
2026 fotg210->async = fotg210_qh_alloc(fotg210, flags); in fotg210_mem_init()
2027 if (!fotg210->async) in fotg210_mem_init()
2743 qtd->hw_alt_next = fotg210->async->hw->hw_alt_next; in qh_urb_transaction()
3029 WARN_ON(fotg210->async->qh_next.qh || fotg210->async_unlink); in disable_async()
[all …]
Dsl811.h150 struct list_head async; member
Disp1362-hcd.c752 list_for_each_entry(ep, &isp1362_hcd->async, schedule) { in start_atl_transfers()
779 if (isp1362_hcd->async.next != isp1362_hcd->async.prev) { in start_atl_transfers()
781 list_move(&isp1362_hcd->async, isp1362_hcd->async.next); in start_atl_transfers()
1035 if (!list_empty(&isp1362_hcd->async) && !(irqstat & HCuPINT_ATL)) { in isp1362_irq()
1315 list_add_tail(&ep->schedule, &isp1362_hcd->async); in isp1362_urb_enqueue()
2092 list_for_each_entry(ep, &isp1362_hcd->async, schedule) { in isp1362_show()
2122 if (!list_empty(&isp1362_hcd->async)) in isp1362_show()
2689 INIT_LIST_HEAD(&isp1362_hcd->async); in isp1362_probe()
Doxu210hp.h392 struct ehci_qh *async; member
Dehci-dbg.c430 == ehci->async->hw->hw_alt_next) in qh_lines()
461 if (td->hw_alt_next == ehci->async->hw->hw_alt_next) in qh_lines()
518 for (qh = ehci->async->qh_next.qh; size > 0 && qh; qh = qh->qh_next.qh) in fill_async_buffer()
Dfotg210.h104 struct fotg210_qh *async; member
Dfusbh200.h104 struct fusbh200_qh *async; member
Dehci.h153 struct ehci_qh *async; member
Disp116x.h275 struct list_head async; member
Disp1362.h501 struct list_head async; member
Dehci-hub.c413 ehci_writel(ehci, (u32) ehci->async->qh_dma, &ehci->regs->async_next); in ehci_bus_resume()
/linux-4.1.27/Documentation/virtual/kvm/devices/
Ds390_flic.txt14 - enable/disable for the guest transparent async page faults
44 Enables async page faults for the guest. So in case of a major page fault
45 the host is allowed to handle this async and continues the guest.
48 Disables async page faults for the guest and waits until already pending
49 async page faults are done. This is necessary to trigger a completion interrupt
/linux-4.1.27/drivers/usb/core/
Ddevio.c82 struct async { struct
274 static struct async *alloc_async(unsigned int numisoframes) in alloc_async()
276 struct async *as; in alloc_async()
278 as = kzalloc(sizeof(struct async), GFP_KERNEL); in alloc_async()
289 static void free_async(struct async *as) in free_async()
308 static void async_newpending(struct async *as) in async_newpending()
318 static void async_removepending(struct async *as) in async_removepending()
328 static struct async *async_getcompleted(struct usb_dev_state *ps) in async_getcompleted()
331 struct async *as = NULL; in async_getcompleted()
335 as = list_entry(ps->async_completed.next, struct async, in async_getcompleted()
[all …]
/linux-4.1.27/Documentation/power/powercap/
Dpowercap.txt56 ?   ?   ?   ??? async
73 ?   ?   ?   ??? async
82 ?   ?   ??? async
109 ?   ?   ?   ??? async
126 ?   ?   ?   ??? async
135 ?   ?   ??? async
140 ?   ??? async
/linux-4.1.27/fs/btrfs/
Ddisk-io.c782 struct async_submit_bio *async; in run_one_async_start() local
785 async = container_of(work, struct async_submit_bio, work); in run_one_async_start()
786 ret = async->submit_bio_start(async->inode, async->rw, async->bio, in run_one_async_start()
787 async->mirror_num, async->bio_flags, in run_one_async_start()
788 async->bio_offset); in run_one_async_start()
790 async->error = ret; in run_one_async_start()
796 struct async_submit_bio *async; in run_one_async_done() local
799 async = container_of(work, struct async_submit_bio, work); in run_one_async_done()
800 fs_info = BTRFS_I(async->inode)->root->fs_info; in run_one_async_done()
810 if (async->error) { in run_one_async_done()
[all …]
DMakefile8 extent_io.o volumes.o async-thread.o ioctl.o locking.o orphan.o \
Dextent-tree.c2721 struct async_delayed_refs *async; in delayed_ref_async_start() local
2725 async = container_of(work, struct async_delayed_refs, work); in delayed_ref_async_start()
2727 trans = btrfs_join_transaction(async->root); in delayed_ref_async_start()
2729 async->error = PTR_ERR(trans); in delayed_ref_async_start()
2738 ret = btrfs_run_delayed_refs(trans, async->root, async->count); in delayed_ref_async_start()
2740 async->error = ret; in delayed_ref_async_start()
2742 ret = btrfs_end_transaction(trans, async->root); in delayed_ref_async_start()
2743 if (ret && !async->error) in delayed_ref_async_start()
2744 async->error = ret; in delayed_ref_async_start()
2746 if (async->sync) in delayed_ref_async_start()
[all …]
Dvolumes.c5750 int rw, int async) in submit_stripe_bio() argument
5775 if (async) in submit_stripe_bio()
5783 int dev_nr, int rw, int async) in breakup_stripe_bio() argument
5802 rw, async); in breakup_stripe_bio()
5809 submit_stripe_bio(root, bbio, bio, physical, dev_nr, rw, async); in breakup_stripe_bio()
/linux-4.1.27/drivers/base/power/
Dmain.c224 static void dpm_wait(struct device *dev, bool async) in dpm_wait() argument
229 if (async || (pm_async_enabled && dev->power.async_suspend)) in dpm_wait()
239 static void dpm_wait_for_children(struct device *dev, bool async) in dpm_wait_for_children() argument
241 device_for_each_child(dev, &async, dpm_wait_fn); in dpm_wait_for_children()
473 static int device_resume_noirq(struct device *dev, pm_message_t state, bool async) in device_resume_noirq() argument
488 dpm_wait(dev->parent, async); in device_resume_noirq()
602 static int device_resume_early(struct device *dev, pm_message_t state, bool async) in device_resume_early() argument
617 dpm_wait(dev->parent, async); in device_resume_early()
730 static int device_resume(struct device *dev, pm_message_t state, bool async) in device_resume() argument
749 dpm_wait(dev->parent, async); in device_resume()
[all …]
Dsysfs.c589 static DEVICE_ATTR(async, 0644, async_show, async_store);
/linux-4.1.27/arch/arm/mach-omap2/
Dusb-tusb6010.c165 unsigned async, unsigned sync, in tusb6010_setup_interface() argument
173 status = gpmc_cs_request(async, SZ_16M, (unsigned long *) in tusb6010_setup_interface()
181 async_cs = async; in tusb6010_setup_interface()
/linux-4.1.27/net/ipv4/
Dxfrm4_input.c40 int xfrm4_transport_finish(struct sk_buff *skb, int async) in xfrm4_transport_finish() argument
47 if (!async) in xfrm4_transport_finish()
/linux-4.1.27/Documentation/bus-devices/
Dti-gpmc.txt62 3. read async muxed
68 4. read async non-muxed
86 7. write async muxed
93 8. write async non-muxed
/linux-4.1.27/drivers/gpu/drm/i915/
Dintel_atomic.c117 bool async) in intel_atomic_commit() argument
122 if (async) { in intel_atomic_commit()
Dintel_drv.h1301 bool async);
/linux-4.1.27/net/ipv6/
Dxfrm6_input.c32 int xfrm6_transport_finish(struct sk_buff *skb, int async) in xfrm6_transport_finish() argument
38 if (!async) in xfrm6_transport_finish()
/linux-4.1.27/net/xfrm/
Dxfrm_input.c194 int async = 0; in xfrm_input() local
198 async = 1; in xfrm_input()
315 if (async && x->repl->recheck(x, skb, seq)) { in xfrm_input()
372 return x->inner_mode->afinfo->transport_finish(skb, async); in xfrm_input()
/linux-4.1.27/Documentation/mmc/
D00-INDEX7 mmc-async-req.txt
Dmmc-async-req.txt32 https://wiki.linaro.org/WorkingGroups/Kernel/Specs/StoragePerfMMC-async-req
39 truly non-blocking. If there is an ongoing async request it waits
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dlustre_ha.h55 int ptlrpc_recover_import(struct obd_import *imp, char *new_uuid, int async);
Dlustre_net.h2307 int ptlrpc_unregister_bulk(struct ptlrpc_request *req, int async);
2357 int ptlrpc_unregister_reply(struct ptlrpc_request *req, int async);
Dlustre_dlm.h1344 struct lustre_handle *lockh, int async);
/linux-4.1.27/drivers/gpu/drm/msm/
Dmsm_atomic.c177 struct drm_atomic_state *state, bool async) in msm_atomic_commit() argument
251 if (async) { in msm_atomic_commit()
Dmsm_drv.h163 struct drm_atomic_state *state, bool async);
/linux-4.1.27/drivers/scsi/
Datp870u.h44 unsigned short async[2]; member
Dgdth.c3628 ha->dvr.eu.async.ionode = ha->hanum; in gdth_async_event()
3629 ha->dvr.eu.async.status = ha->status; in gdth_async_event()
3632 ha->dvr.size = sizeof(ha->dvr.eu.async); in gdth_async_event()
3633 ha->dvr.eu.async.ionode = ha->hanum; in gdth_async_event()
3634 ha->dvr.eu.async.service = ha->service; in gdth_async_event()
3635 ha->dvr.eu.async.status = ha->status; in gdth_async_event()
3636 ha->dvr.eu.async.info = ha->info; in gdth_async_event()
3637 *(u32 *)ha->dvr.eu.async.scsi_coord = ha->info2; in gdth_async_event()
3661 printk("Adapter %d: %s\n",dvr->eu.async.ionode,dvr->event_string); in gdth_log_event()
3664 dvr->eu.async.ionode,dvr->event_string); in gdth_log_event()
[all …]
Datp870u.c2294 if ((dev->async[0] & m) != 0) { in is880()
2671 atpdev->async[0] = 0; in atp870u_probe()
2679 atpdev->async[0] |= n; in atp870u_probe()
2682 atpdev->async[0] = ~(atpdev->async[0]); in atp870u_probe()
2811 p->async[c] = 0; in atp870u_probe()
2819 p->async[c] |= n; in atp870u_probe()
2823 p->async[c] = ~(p->async[c]); in atp870u_probe()
3681 if ((dev->async[c] & m) != 0) { in is885()
Dgdth_ioctl.h151 } __attribute__((packed)) async; member
Dscsi_scan.c762 int *bflags, int async) in scsi_add_lun() argument
994 if (!async && scsi_sysfs_add_sdev(sdev) != 0) in scsi_add_lun()
Dnsp32.c2279 goto async; in nsp32_analyze_sdtr()
2353 async: in nsp32_analyze_sdtr()
/linux-4.1.27/drivers/staging/lustre/lustre/obdecho/
Decho_client.c170 struct page **pages, int npages, int async);
1172 struct page **pages, int npages, int async) in cl_echo_object_brw() argument
1243 async = async && (typ == CRT_WRITE); in cl_echo_object_brw()
1244 if (async) in cl_echo_object_brw()
1249 async ? "async" : "sync", rc); in cl_echo_object_brw()
1547 u64 count, int async, in echo_client_kbrw() argument
1616 rc = cl_echo_object_brw(eco, rw, offset, pages, npages, async); in echo_client_kbrw()
1647 int async) in echo_client_prep_commit() argument
1672 if (rw == OBD_BRW_WRITE && async) in echo_client_prep_commit()
1708 if (async) in echo_client_prep_commit()
[all …]
/linux-4.1.27/virt/kvm/
Dkvm_main.c1216 static bool hva_to_pfn_fast(unsigned long addr, bool atomic, bool *async, in hva_to_pfn_fast() argument
1222 if (!(async || atomic)) in hva_to_pfn_fast()
1249 static int hva_to_pfn_slow(unsigned long addr, bool *async, bool write_fault, in hva_to_pfn_slow() argument
1260 if (async) { in hva_to_pfn_slow()
1314 static pfn_t hva_to_pfn(unsigned long addr, bool atomic, bool *async, in hva_to_pfn() argument
1322 BUG_ON(atomic && async); in hva_to_pfn()
1324 if (hva_to_pfn_fast(addr, atomic, async, write_fault, writable, &pfn)) in hva_to_pfn()
1330 npages = hva_to_pfn_slow(addr, async, write_fault, writable, &pfn); in hva_to_pfn()
1336 (!async && check_user_page_hwpoison(addr))) { in hva_to_pfn()
1350 if (async && vma_is_valid(vma, write_fault)) in hva_to_pfn()
[all …]
/linux-4.1.27/include/linux/
Dblk-mq.h222 void blk_mq_start_stopped_hw_queues(struct request_queue *q, bool async);
223 void blk_mq_run_hw_queues(struct request_queue *q, bool async);
Dregmap.h276 struct regmap_async *async);
Dkvm_host.h552 pfn_t gfn_to_pfn_async(struct kvm *kvm, gfn_t gfn, bool *async,
/linux-4.1.27/Documentation/filesystems/pohmelfs/
Ddesign_notes.txt15 * Completely async processing of all events except creation of hard and symbolic
24 with any underlying filesystem and still is much faster than async in-kernel NFS one.
45 servers and async threads will pick up replies in parallel, find appropriate transactions in the
/linux-4.1.27/Documentation/devicetree/bindings/net/ieee802154/
Dat86rf230.txt7 sync or async operation mode
Dcc2520.txt6 sync or async operation mode
/linux-4.1.27/drivers/gpu/drm/sti/
Dsti_drm_drv.c80 struct drm_atomic_state *state, bool async) in sti_drm_atomic_commit() argument
101 if (async) in sti_drm_atomic_commit()
/linux-4.1.27/Documentation/filesystems/caching/
Dfscache.txt282 Ops pend=N Number of times async ops added to pending queues
283 run=N Number of times async ops given CPU time
284 enq=N Number of times async ops queued for processing
285 can=N Number of async ops cancelled
286 rej=N Number of async ops rejected due to object lookup/create failure
287 dfr=N Number of async ops queued for deferred release
288 rel=N Number of async ops released
289 gc=N Number of deferred-release async ops garbage collected
/linux-4.1.27/Documentation/cgroups/
Dblkio-controller.txt199 or async. First two fields specify the major and minor number of the
206 or async. First two fields specify the major and minor number of the
219 the type of operation - read or write, sync or async. First two fields
235 read or write, sync or async. First two fields specify the major and
242 write, sync or async.
247 write, sync or async.
332 of operation - read or write, sync or async. First two fields specify
346 or async. First two fields specify the major and minor number of the
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
Drecover.c308 int ptlrpc_recover_import(struct obd_import *imp, char *new_uuid, int async) in ptlrpc_recover_import() argument
347 if (!async) { in ptlrpc_recover_import()
Dniobuf.c243 int ptlrpc_unregister_bulk(struct ptlrpc_request *req, int async) in ptlrpc_unregister_bulk() argument
254 async && req->rq_bulk_deadline == 0) in ptlrpc_unregister_bulk()
275 if (async) in ptlrpc_unregister_bulk()
Dclient.c2354 int ptlrpc_unregister_reply(struct ptlrpc_request *request, int async) in ptlrpc_unregister_reply() argument
2369 async && request->rq_reply_deadline == 0) in ptlrpc_unregister_reply()
2394 if (async) in ptlrpc_unregister_reply()
/linux-4.1.27/drivers/net/ethernet/intel/i40evf/
Di40e_adminq.h70 bool async; member
Di40e_adminq.c744 if (details->postpone && !details->async) { in i40evf_asq_send_command()
802 if (!details->async && !details->postpone) { in i40evf_asq_send_command()
846 (!details->async && !details->postpone)) { in i40evf_asq_send_command()
Di40e_common.c582 details.async = true; in i40e_aq_send_msg_to_pf()
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
Di40e_adminq.h70 bool async; member
Di40e_adminq.c793 if (details->postpone && !details->async) { in i40e_asq_send_command()
851 if (!details->async && !details->postpone) { in i40e_asq_send_command()
894 (!details->async && !details->postpone)) { in i40e_asq_send_command()
/linux-4.1.27/block/
Dblk-mq.h29 void blk_mq_run_hw_queue(struct blk_mq_hw_ctx *hctx, bool async);
Dblk-mq.c901 void blk_mq_run_hw_queue(struct blk_mq_hw_ctx *hctx, bool async) in blk_mq_run_hw_queue() argument
907 if (!async) { in blk_mq_run_hw_queue()
922 void blk_mq_run_hw_queues(struct request_queue *q, bool async) in blk_mq_run_hw_queues() argument
933 blk_mq_run_hw_queue(hctx, async); in blk_mq_run_hw_queues()
974 void blk_mq_start_stopped_hw_queues(struct request_queue *q, bool async) in blk_mq_start_stopped_hw_queues() argument
984 blk_mq_run_hw_queue(hctx, async); in blk_mq_start_stopped_hw_queues()
1034 bool async) in blk_mq_insert_request() argument
1051 blk_mq_run_hw_queue(hctx, async); in blk_mq_insert_request()
/linux-4.1.27/drivers/w1/
Dw1_netlink.c58 struct w1_async_cmd async; member
464 async); in w1_process_cb()
698 node->async.cb = w1_process_cb; in w1_cn_callback()
706 list_add_tail(&node->async.async_entry, &dev->async_list); in w1_cn_callback()
/linux-4.1.27/drivers/gpu/drm/omapdrm/
Domap_dmm_priv.h149 bool async; member
Domap_dmm_tiler.c150 if (dmm->engines[i].async) in omap_dmm_irq_handler()
276 engine->async = wait ? false : true; in dmm_txn_commit()
/linux-4.1.27/drivers/net/wireless/b43/
Dmain.h109 struct b43_firmware_file *fw, bool async);
/linux-4.1.27/drivers/mtd/maps/
DMakefile40 obj-$(CONFIG_MTD_BFIN_ASYNC) += bfin-async-flash.o
DKconfig325 If compiled as a module, it will be called bfin-async-flash.
/linux-4.1.27/drivers/media/v4l2-core/
DMakefile9 v4l2-async.o
/linux-4.1.27/drivers/net/irda/
Ddonauboe.c420 if (self->async) in toshoboe_setbaud()
910 self->async = 1; in toshoboe_probe()
942 self->async = 0; in toshoboe_probe()
1331 if (self->async) in toshoboe_net_open()
1543 self->async = 0; in toshoboe_open()
1684 if ((!self->irdad) && (!self->async)) in toshoboe_gotosleep()
1710 if ((!self->irdad) && (!self->async)) in toshoboe_wakeup()
Ddonauboe.h328 int async; /*Driver under control of async end */ member
/linux-4.1.27/include/drm/
Ddrm_atomic_helper.h41 bool async);
Ddrm_crtc.h994 bool async);
/linux-4.1.27/Documentation/dmaengine/
Dprovider.txt87 async TX API, to offload operations such as memory copy, XOR,
91 dmaengine was extended. Nowadays, the async TX API is written as a
97 documentation file in Documentation/crypto/async-tx-api.txt.
193 available for async transfers.
337 - Should be called at the end of an async TX transfer, and can be
351 additional transactions added to it in the async-tx API
Dclient.txt7 Documentation/crypto/async-tx-api.txt
/linux-4.1.27/Documentation/block/
Dcfq-iosched.txt238 sync-idle sync-noidle async
250 All async writes go on async service tree. There is no idling on async
257 tree idling provides isolation with buffered write queues on async tree.
/linux-4.1.27/Documentation/virtual/kvm/
Dcpuid.txt43 KVM_FEATURE_ASYNC_PF || 4 || async pf can be enabled by
/linux-4.1.27/fs/fuse/
Dfuse_i.h258 int async; member
274 .async = 0, \
Dfile.c651 if (io->async) in fuse_send_read()
963 if (io->async) in fuse_send_write()
1323 if (io->async) in fuse_direct_io()
1353 if (!io->async) in fuse_direct_io()
1370 if (io->async) in fuse_direct_io()
2829 io->async = async_dio; in fuse_direct_IO()
2839 io->async = false; in fuse_direct_IO()
2841 if (io->async && is_sync) { in fuse_direct_IO()
2857 if (io->async) { in fuse_direct_IO()
/linux-4.1.27/net/x25/
DKconfig28 to "X.25 async driver" below) or over Ethernet using an ordinary
/linux-4.1.27/include/uapi/drm/
Dexynos_drm.h117 __u64 async; member
/linux-4.1.27/drivers/staging/lustre/lustre/osc/
Dosc_internal.h110 struct ptlrpc_request_set *rqset, int async, int agl);
Dosc_cache.c2158 struct osc_object *osc, pdl_policy_t pol, int async) in osc_io_unplug0() argument
2165 if (!async) { in osc_io_unplug0()
/linux-4.1.27/drivers/scsi/libsas/
Dsas_ata.c753 ASYNC_DOMAIN_EXCLUSIVE(async); in sas_ata_strategy_handler()
782 async_schedule_domain(async_sas_ata_eh, dev, &async); in sas_ata_strategy_handler()
788 async_synchronize_full_domain(&async); in sas_ata_strategy_handler()
/linux-4.1.27/drivers/gpu/drm/exynos/
Dexynos_drm_g2d.c217 int async; member
877 if (g2d->runqueue_node->async) in g2d_runqueue_worker()
1276 runqueue_node->async = req->async; in exynos_g2d_exec_ioctl()
1295 if (runqueue_node->async) in exynos_g2d_exec_ioctl()
/linux-4.1.27/drivers/infiniband/core/
Duverbs.h122 struct ib_uverbs_async_event_desc async; member
Duverbs_main.c493 entry->desc.async.element = element; in ib_uverbs_async_handler()
494 entry->desc.async.event_type = event; in ib_uverbs_async_handler()
495 entry->desc.async.reserved = 0; in ib_uverbs_async_handler()
/linux-4.1.27/Documentation/scsi/
Darcmsr_spec.txt444 ** async/20/40/80/160 for scsi)
456 ** async/20/40/80/160 for scsi)
516 ** (0/1/2/3/4->async/20/40/80/160 for scsi)
536 ** (0/1/2/3/4->async/20/40/80/160 for scsi)
Dscsi-parameters.txt106 discovered. async scans them in kernel threads,
Daic7xxx.txt147 - When negotiation async via an 8bit WDTR message, send
149 knows we are async. This works around a firmware defect
Daic79xx.txt80 - When negotiation async via an 8bit WDTR message, send
82 knows we are async. This works around a firmware defect
/linux-4.1.27/drivers/gpu/drm/rcar-du/
Drcar_du_kms.c434 struct drm_atomic_state *state, bool async) in rcar_du_atomic_commit() argument
477 if (async) in rcar_du_atomic_commit()
/linux-4.1.27/arch/powerpc/kernel/vdso64/
Dsigtramp.S303 # I don't think so, since gcc doesn't support async signals.
/linux-4.1.27/include/linux/hsi/
Dhsi.h245 int (*async)(struct hsi_msg *msg); member
/linux-4.1.27/drivers/net/ppp/
DKconfig26 the next option, "PPP support for async serial ports". For PPP over
153 tristate "PPP support for async serial ports"
/linux-4.1.27/Documentation/security/
Dkeys-request-key.txt56 The two async in-kernel calls may return keys that are still in the process of
57 being constructed. The two non-async ones will wait for construction to
/linux-4.1.27/drivers/hsi/
Dhsi.c494 port[i]->async = hsi_dummy_msg; in hsi_alloc_controller()
592 return port->async(msg); in hsi_async()
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-devices-power54 What: /sys/devices/.../power/async
58 The /sys/devices/.../async attribute allows the user space to
65 power/async file:
/linux-4.1.27/arch/cris/arch-v10/drivers/
Dsync_serial.c294 SETS(gen_config_ii_shadow, R_GEN_CONFIG_II, sermode1, async); in etrax_sync_serial_init()
295 SETS(gen_config_ii_shadow, R_GEN_CONFIG_II, sermode3, async); in etrax_sync_serial_init()
710 SETS(gen_config_ii_shadow, R_GEN_CONFIG_II, sermode3, async); in sync_serial_ioctl_unlocked()
721 SETS(gen_config_ii_shadow, R_GEN_CONFIG_II, sermode1, async); in sync_serial_ioctl_unlocked()
/linux-4.1.27/drivers/staging/rtl8712/
Drtl871x_io.h92 u8 async);
/linux-4.1.27/Documentation/device-mapper/
Ddm-io.txt5 types of I/O services available, and each type has a sync and an async
/linux-4.1.27/drivers/scsi/ufs/
Dufshcd.h603 int ufshcd_hold(struct ufs_hba *hba, bool async);
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
Dops.c205 bool async; member
211 { .cmd_id = _cmd_id , .fn = _fn , .async = _async }
743 if (!rx_h->async) in iwl_mvm_rx_dispatch()
/linux-4.1.27/drivers/net/slip/
DKconfig78 over the async ports of a Camtec JNT Pad. If unsure, say N.
/linux-4.1.27/kernel/
DMakefile12 async.o range.o smpboot.o
/linux-4.1.27/arch/cris/arch-v10/kernel/
Dio_interface_mux.c697 SETS(gens_ii, R_GEN_CONFIG_II, sermode1, async); in cris_request_io_interface()
705 SETS(gens_ii, R_GEN_CONFIG_II, sermode3, async); in cris_request_io_interface()
/linux-4.1.27/Documentation/filesystems/nfs/
Dnfs-rdma.txt217 /vol0 192.168.0.47(fsid=0,rw,async,insecure,no_root_squash)
218 /vol0 192.168.0.0/255.255.255.0(fsid=0,rw,async,insecure,no_root_squash)
/linux-4.1.27/sound/soc/codecs/
Dwm5100.c1404 bool async = wm5100->aif_async[dai->id]; in wm5100_hw_params() local
1427 if (!async) { in wm5100_hw_params()
1453 async ? "ASYNCCLK" : "SYSCLK"); in wm5100_hw_params()
1458 bclk, aif_rate, async ? "ASYNCCLK" : "SYSCLK"); in wm5100_hw_params()
1471 bclk, aif_rate, async ? "ASYNCCLK" : "SYSCLK"); in wm5100_hw_params()
/linux-4.1.27/drivers/s390/block/
Ddasd_eckd.h235 unsigned char async:1; member
/linux-4.1.27/drivers/usb/musb/
Dmusb_core.h341 dma_addr_t async; member
Dtusb6010.c1122 musb->async = mem->start; in tusb_musb_init()
/linux-4.1.27/drivers/media/platform/omap3isp/
Disp.c2355 static int isp_subdev_notifier_bound(struct v4l2_async_notifier *async, in isp_subdev_notifier_bound() argument
2359 struct isp_device *isp = container_of(async, struct isp_device, in isp_subdev_notifier_bound()
2375 static int isp_subdev_notifier_complete(struct v4l2_async_notifier *async) in isp_subdev_notifier_complete() argument
2377 struct isp_device *isp = container_of(async, struct isp_device, in isp_subdev_notifier_complete()
/linux-4.1.27/arch/blackfin/mach-bf548/
DKconfig42 async address or GPIO port F and G. Select y to route it
/linux-4.1.27/drivers/scsi/ibmvscsi/
Dibmvfc.c1187 login_info->async.va = cpu_to_be64(vhost->async_crq.msg_token); in ibmvfc_set_login_info()
1188 login_info->async.len = cpu_to_be32(vhost->async_crq.size * sizeof(*vhost->async_crq.msgs)); in ibmvfc_set_login_info()
3180 struct ibmvfc_async_crq *async; in ibmvfc_tasklet() local
3187 while ((async = ibmvfc_next_async_crq(vhost)) != NULL) { in ibmvfc_tasklet()
3188 ibmvfc_handle_async(async, vhost); in ibmvfc_tasklet()
3189 async->valid = 0; in ibmvfc_tasklet()
3201 if ((async = ibmvfc_next_async_crq(vhost)) != NULL) { in ibmvfc_tasklet()
3203 ibmvfc_handle_async(async, vhost); in ibmvfc_tasklet()
3204 async->valid = 0; in ibmvfc_tasklet()
Dibmvfc.h174 struct srp_direct_buf async; member
/linux-4.1.27/drivers/gpu/drm/tegra/
Ddrm.c77 struct drm_atomic_state *state, bool async) in tegra_atomic_commit() argument
98 if (async) in tegra_atomic_commit()
/linux-4.1.27/drivers/usb/misc/sisusbvga/
Dsisusb.c346 ssize_t *bytes_written, unsigned int tflags, int async) in sisusb_send_bulk_msg() argument
372 async = 0; in sisusb_send_bulk_msg()
414 async ? 0 : 5 * HZ, in sisusb_send_bulk_msg()
426 if ((result == 0) && !async && transferred_len) { in sisusb_send_bulk_msg()
447 if (async) { in sisusb_send_bulk_msg()
/linux-4.1.27/Documentation/input/
Dyealink.txt125 races between async. and sync usb calls.
/linux-4.1.27/include/net/
Dxfrm.h341 int async);
1513 int xfrm4_transport_finish(struct sk_buff *skb, int async);
1537 int xfrm6_transport_finish(struct sk_buff *skb, int async);
/linux-4.1.27/Documentation/networking/
Dbaycom.txt44 hence the name. Since the serial port is not used as an async serial
Dtuntap.txt33 br_sigio.c - bridge based on async io and SIGIO signal.
Dppp_generic.txt102 async tty, this can involve setting the tty speed and modes, issuing
115 `control' byte that are optionally used in async PPP. Nor is there
Drds.txt122 to implement async I/O.
/linux-4.1.27/Documentation/spi/
Dspidev113 - At this time there is no async I/O support; everything is purely
/linux-4.1.27/drivers/gpu/drm/
Ddrm_atomic_helper.c938 bool async) in drm_atomic_helper_commit() argument
942 if (async) in drm_atomic_helper_commit()
/linux-4.1.27/drivers/scsi/csiostor/
Dcsio_wr.c415 uint32_t vec, uint8_t portid, bool async, in csio_wr_iq_create() argument
457 iqp.iqasynch = async; in csio_wr_iq_create()
/linux-4.1.27/Documentation/powerpc/
Dtransactional_memory.txt98 Delivery of signals (both sync and async) during transactions provides a second
/linux-4.1.27/drivers/scsi/arm/
Dfas216.c517 enum { sync, async, none, reject } res = none; in fas216_handlesync() enumerator
534 res = async; in fas216_handlesync()
608 case async: in fas216_handlesync()
/linux-4.1.27/drivers/usb/misc/
Dusbtest.c1381 static int unlink1(struct usbtest_dev *dev, int pipe, int size, int async) in unlink1() argument
1415 if (async) { in unlink1()
1452 if (async) in unlink1()
/linux-4.1.27/drivers/hsi/controllers/
Domap_ssi_port.c1177 port->async = ssi_async; in ssi_port_probe()
1247 port->async = hsi_dummy_msg; in ssi_port_remove()
/linux-4.1.27/drivers/staging/lustre/lustre/ldlm/
Dldlm_request.c852 struct lustre_handle *lockh, int async) in ldlm_cli_enqueue() argument
950 if (async) { in ldlm_cli_enqueue()
/linux-4.1.27/drivers/md/
Ddm-crypt.c1233 static void kcryptd_crypt_write_io_submit(struct dm_crypt_io *io, int async) in kcryptd_crypt_write_io_submit() argument
1253 if (likely(!async) && test_bit(DM_CRYPT_NO_OFFLOAD, &cc->flags)) { in kcryptd_crypt_write_io_submit()
/linux-4.1.27/Documentation/usb/
Dehci.txt115 "async" dumps the asynchronous schedule, used for control
/linux-4.1.27/Documentation/x86/
Dintel_mpx.txt155 A: mmap() is not on the list of safe async handler functions and even
/linux-4.1.27/drivers/scsi/bnx2i/
D57xx_iscsi_hsi.h1522 struct bnx2i_async_msg async; member
/linux-4.1.27/scripts/
Dspelling.txt151 aysnc||async
/linux-4.1.27/drivers/net/wan/
DKconfig377 tristate "X.25 async driver"

12