Home
last modified time | relevance | path

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

12

/linux-4.4.14/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.c347 struct comedi_async *async = s->async; in resize_async_buffer() local
350 if (new_size > async->max_bufsize) in resize_async_buffer()
378 s->index, async->prealloc_bufsz); in resize_async_buffer()
398 if (s && (s->subdev_flags & SDF_CMD_READ) && s->async) in max_read_buffer_kb_show()
399 size = s->async->max_bufsize / 1024; in max_read_buffer_kb_show()
429 if (s && (s->subdev_flags & SDF_CMD_READ) && s->async) in max_read_buffer_kb_store()
430 s->async->max_bufsize = size; in max_read_buffer_kb_store()
454 if (s && (s->subdev_flags & SDF_CMD_READ) && s->async) in read_buffer_kb_show()
455 size = s->async->prealloc_bufsz / 1024; in read_buffer_kb_show()
485 if (s && (s->subdev_flags & SDF_CMD_READ) && s->async) in read_buffer_kb_store()
[all …]
Ddrivers.c177 if (s->async) { in comedi_device_detach_cleanup()
179 kfree(s->async); in comedi_device_detach_cleanup()
409 struct comedi_cmd *cmd = &s->async->cmd; in comedi_bytes_per_scan()
431 struct comedi_async *async = s->async; in __comedi_nscans_left() local
432 struct comedi_cmd *cmd = &async->cmd; in __comedi_nscans_left()
437 if (async->scans_done < cmd->stop_arg) in __comedi_nscans_left()
438 scans_left = cmd->stop_arg - async->scans_done; in __comedi_nscans_left()
483 struct comedi_async *async = s->async; in comedi_nsamples_left() local
484 struct comedi_cmd *cmd = &async->cmd; in comedi_nsamples_left()
490 comedi_bytes_to_samples(s, async->scan_progress); in comedi_nsamples_left()
[all …]
Dcomedidev.h172 struct comedi_async *async; member
954 return s->async->buf_write_count - s->async->buf_read_count; in comedi_buf_n_bytes_ready()
/linux-4.4.14/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.c1079 struct regmap_async *async; in regmap_exit() local
1088 async = list_first_entry_or_null(&map->async_free, in regmap_exit()
1091 list_del(&async->list); in regmap_exit()
1092 kfree(async->work_buf); in regmap_exit()
1093 kfree(async); in regmap_exit()
1284 if (map->async && map->bus->async_write) { in _regmap_raw_write()
1285 struct regmap_async *async; in _regmap_raw_write() local
1290 async = list_first_entry_or_null(&map->async_free, in _regmap_raw_write()
1293 if (async) in _regmap_raw_write()
1294 list_del(&async->list); in _regmap_raw_write()
[all …]
Dinternal.h71 bool async; member
248 void regmap_async_complete_cb(struct regmap_async *async, int ret);
Dregcache.c333 map->async = true; in regcache_sync()
357 map->async = false; in regcache_sync()
404 map->async = true; in regcache_sync_region()
414 map->async = false; in regcache_sync_region()
/linux-4.4.14/drivers/staging/comedi/drivers/
Dcomedi_test.c188 struct comedi_async *async = s->async; in waveform_ai_timer() local
189 struct comedi_cmd *cmd = &async->cmd; in waveform_ai_timer()
202 unsigned int chanspec = cmd->chanlist[async->cur_chan]; in waveform_ai_timer()
210 if (async->scan_progress == 0) { in waveform_ai_timer()
223 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) { in waveform_ai_timer()
224 async->events |= COMEDI_CB_EOA; in waveform_ai_timer()
343 struct comedi_cmd *cmd = &s->async->cmd; in waveform_ai_cmd()
433 struct comedi_async *async = s->async; in waveform_ao_timer() local
434 struct comedi_cmd *cmd = &async->cmd; in waveform_ao_timer()
467 async->events |= COMEDI_CB_OVERFLOW; in waveform_ao_timer()
[all …]
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()
541 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()
164 struct comedi_cmd *cmd = &s->async->cmd; in ni_tio_cmd_setup()
191 struct comedi_async *async = s->async; in ni_tio_cmd() local
192 struct comedi_cmd *cmd = &async->cmd; in ni_tio_cmd()
[all …]
Dusbduxsigma.c215 struct comedi_async *async = s->async; in usbduxsigma_ai_handle_urb() local
216 struct comedi_cmd *cmd = &async->cmd; in usbduxsigma_ai_handle_urb()
239 async->scans_done >= cmd->stop_arg) in usbduxsigma_ai_handle_urb()
240 async->events |= COMEDI_CB_EOA; in usbduxsigma_ai_handle_urb()
245 if (!(async->events & COMEDI_CB_CANCEL_MASK)) { in usbduxsigma_ai_handle_urb()
254 async->events |= COMEDI_CB_ERROR; in usbduxsigma_ai_handle_urb()
264 struct comedi_async *async = s->async; in usbduxsigma_ai_urb_complete() local
292 async->events |= COMEDI_CB_ERROR; in usbduxsigma_ai_urb_complete()
299 async->events |= COMEDI_CB_ERROR; in usbduxsigma_ai_urb_complete()
307 if (async->events & COMEDI_CB_CANCEL_MASK) in usbduxsigma_ai_urb_complete()
[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 …]
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.c236 struct comedi_async *async = s->async; in usbduxfast_ai_handle_urb() local
237 struct comedi_cmd *cmd = &async->cmd; in usbduxfast_ai_handle_urb()
250 async->scans_done >= cmd->stop_arg) in usbduxfast_ai_handle_urb()
251 async->events |= COMEDI_CB_EOA; in usbduxfast_ai_handle_urb()
255 if (!(async->events & COMEDI_CB_CANCEL_MASK)) { in usbduxfast_ai_handle_urb()
261 async->events |= COMEDI_CB_ERROR; in usbduxfast_ai_handle_urb()
270 struct comedi_async *async = s->async; in usbduxfast_ai_interrupt() local
287 async->events |= COMEDI_CB_ERROR; in usbduxfast_ai_interrupt()
295 async->events |= COMEDI_CB_ERROR; in usbduxfast_ai_interrupt()
303 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.c799 struct comedi_async *async = s->async; in cb_pcidas_ai_cmd() local
800 struct comedi_cmd *cmd = &async->cmd; in cb_pcidas_ai_cmd()
1011 struct comedi_async *async = s->async; in cb_pcidas_ao_inttrig() local
1012 struct comedi_cmd *cmd = &async->cmd; in cb_pcidas_ao_inttrig()
1034 async->inttrig = NULL; in cb_pcidas_ao_inttrig()
1043 struct comedi_async *async = s->async; in cb_pcidas_ao_cmd() local
1044 struct comedi_cmd *cmd = &async->cmd; in cb_pcidas_ao_cmd()
1089 async->inttrig = cb_pcidas_ao_inttrig; in cb_pcidas_ao_cmd()
1119 struct comedi_async *async = s->async; in cb_pcidas_ao_interrupt() local
1120 struct comedi_cmd *cmd = &async->cmd; in cb_pcidas_ao_interrupt()
[all …]
Daddi_apci_3120.c216 struct comedi_cmd *cmd = &s->async->cmd; in apci3120_setup_dma()
252 if (dmalen0 > s->async->prealloc_bufsz) in apci3120_setup_dma()
253 dmalen0 = s->async->prealloc_bufsz; in apci3120_setup_dma()
254 if (dmalen1 > s->async->prealloc_bufsz) in apci3120_setup_dma()
255 dmalen1 = s->async->prealloc_bufsz; in apci3120_setup_dma()
437 struct comedi_async *async = s->async; in apci3120_interrupt_dma() local
438 struct comedi_cmd *cmd = &async->cmd; in apci3120_interrupt_dma()
451 async->events |= COMEDI_CB_ERROR; in apci3120_interrupt_dma()
460 async->events |= COMEDI_CB_EOS; in apci3120_interrupt_dma()
463 if ((async->events & COMEDI_CB_CANCEL_MASK) || in apci3120_interrupt_dma()
[all …]
Dadv_pci1710.c517 struct comedi_cmd *cmd = &s->async->cmd; in pci1710_handle_every_sample()
525 s->async->events |= COMEDI_CB_ERROR; in pci1710_handle_every_sample()
531 s->async->events |= COMEDI_CB_ERROR; in pci1710_handle_every_sample()
538 ret = pci171x_ai_read_sample(dev, s, s->async->cur_chan, &val); in pci1710_handle_every_sample()
540 s->async->events |= COMEDI_CB_ERROR; in pci1710_handle_every_sample()
547 s->async->scans_done >= cmd->stop_arg) { in pci1710_handle_every_sample()
548 s->async->events |= COMEDI_CB_EOA; in pci1710_handle_every_sample()
560 struct comedi_async *async = s->async; in pci1710_handle_fifo() local
561 struct comedi_cmd *cmd = &async->cmd; in pci1710_handle_fifo()
568 async->events |= COMEDI_CB_ERROR; in pci1710_handle_fifo()
[all …]
Dadl_pci9118.c409 struct comedi_cmd *cmd = &s->async->cmd; in pci9118_ai_samples_ready()
466 struct comedi_cmd *cmd = &s->async->cmd; in pci9118_ai_dma_xfer()
536 struct comedi_cmd *cmd = &s->async->cmd; in pci9118_calc_divisors()
590 s->async->inttrig = NULL; in pci9118_ai_cancel()
621 struct comedi_cmd *cmd = &s->async->cmd; in pci9118_ai_get_onesample()
629 if (s->async->scans_done >= cmd->stop_arg) in pci9118_ai_get_onesample()
630 s->async->events |= COMEDI_CB_EOA; in pci9118_ai_get_onesample()
638 struct comedi_cmd *cmd = &s->async->cmd; in pci9118_ai_get_dma()
660 if (s->async->scans_done >= cmd->stop_arg) in pci9118_ai_get_dma()
661 s->async->events |= COMEDI_CB_EOA; in pci9118_ai_get_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 …]
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()
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()
444 async->events |= COMEDI_CB_EOA; in das16m1_handler()
451 async->events |= COMEDI_CB_ERROR; in das16m1_handler()
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 …]
Dadl_pci9111.c349 struct comedi_cmd *cmd = &s->async->cmd; in pci9111_ai_do_cmd()
419 struct comedi_cmd *cmd = &s->async->cmd; in pci9111_handle_fifo_half_full()
464 struct comedi_async *async; in pci9111_interrupt() local
476 async = s->async; in pci9111_interrupt()
477 cmd = &async->cmd; in pci9111_interrupt()
502 async->events |= COMEDI_CB_ERROR; in pci9111_interrupt()
513 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) in pci9111_interrupt()
514 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()
Dgsc_hpdi.c154 struct comedi_cmd *cmd = &s->async->cmd; in gsc_hpdi_drain_dma()
194 struct comedi_async *async = s->async; in gsc_hpdi_interrupt() local
246 async->events |= COMEDI_CB_ERROR; in gsc_hpdi_interrupt()
251 async->events |= COMEDI_CB_ERROR; in gsc_hpdi_interrupt()
255 async->events |= COMEDI_CB_EOA; in gsc_hpdi_interrupt()
290 struct comedi_async *async = s->async; in gsc_hpdi_cmd() local
291 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()
Dpcl818.c428 struct comedi_cmd *cmd = &s->async->cmd; in pcl818_ai_write_sample()
438 s->async->events |= COMEDI_CB_ERROR; in pcl818_ai_write_sample()
449 s->async->scans_done >= cmd->stop_arg) { in pcl818_ai_write_sample()
450 s->async->events |= COMEDI_CB_EOA; in pcl818_ai_write_sample()
465 s->async->events |= COMEDI_CB_ERROR; in pcl818_handle_eoc()
510 s->async->events |= COMEDI_CB_ERROR; in pcl818_handle_fifo()
517 s->async->events |= COMEDI_CB_ERROR; in pcl818_handle_fifo()
538 struct comedi_cmd *cmd = &s->async->cmd; in pcl818_interrupt()
552 s->async->scans_done = cmd->stop_arg; in pcl818_interrupt()
712 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 …]
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()
421 struct comedi_cmd *cmd = &s->async->cmd; in dio200_subdev_intr_cmd()
430 s->async->inttrig = dio200_inttrig_start_intr; in dio200_subdev_intr_cmd()
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()
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()
Dquatech_daqp_cs.c214 struct comedi_cmd *cmd = &s->async->cmd; in daqp_interrupt()
229 s->async->events |= COMEDI_CB_OVERFLOW; in daqp_interrupt()
238 s->async->scans_done >= cmd->stop_arg) { in daqp_interrupt()
239 s->async->events |= COMEDI_CB_EOA; in daqp_interrupt()
252 s->async->events |= COMEDI_CB_ERROR; in daqp_interrupt()
464 struct comedi_cmd *cmd = &s->async->cmd; in daqp_ai_cmd()
Dpcl812.c707 struct comedi_cmd *cmd = &s->async->cmd; in pcl812_ai_cmd()
761 struct comedi_cmd *cmd = &s->async->cmd; in pcl812_ai_next_chan()
764 s->async->scans_done >= cmd->stop_arg) { in pcl812_ai_next_chan()
765 s->async->events |= COMEDI_CB_EOA; in pcl812_ai_next_chan()
775 struct comedi_cmd *cmd = &s->async->cmd; in pcl812_handle_eoc()
776 unsigned int chan = s->async->cur_chan; in pcl812_handle_eoc()
782 s->async->events |= COMEDI_CB_ERROR; in pcl812_handle_eoc()
790 next_chan = s->async->cur_chan; in pcl812_handle_eoc()
Dni_mio_common.c1070 s->async->events |= COMEDI_CB_OVERFLOW; in ni_ao_fifo_half_empty()
1114 struct comedi_async *async = s->async; in ni_ai_fifo_read() local
1157 async->events |= COMEDI_CB_ERROR; in ni_ai_fifo_read()
1296 s->async->events |= COMEDI_CB_EOA; in shutdown_ai_command()
1310 if ((s->async->events & COMEDI_CB_EOS)) in ni_handle_eos()
1316 s->async->events |= COMEDI_CB_EOS; in ni_handle_eos()
1359 struct comedi_cmd *cmd = &s->async->cmd; in handle_a_interrupt()
1375 s->async->events |= COMEDI_CB_ERROR; in handle_a_interrupt()
1388 s->async->events |= COMEDI_CB_ERROR; in handle_a_interrupt()
1399 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.c195 struct comedi_cmd *cmd = &s->async->cmd; in pcl711_interrupt()
210 s->async->scans_done >= cmd->stop_arg) in pcl711_interrupt()
211 s->async->events |= COMEDI_CB_EOA; in pcl711_interrupt()
350 struct comedi_cmd *cmd = &s->async->cmd; in pcl711_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()
Drtd520.c588 struct comedi_async *async = s->async; in ai_read_n() local
589 struct comedi_cmd *cmd = &async->cmd; in ai_read_n()
593 unsigned int range = CR_RANGE(cmd->chanlist[async->cur_chan]); in ai_read_n()
679 s->async->events |= COMEDI_CB_ERROR; in rtd_interrupt()
682 s->async->events |= COMEDI_CB_EOA; in rtd_interrupt()
842 struct comedi_cmd *cmd = &s->async->cmd; in rtd_ai_cmd()
Dcb_pcidas64.c2573 struct comedi_async *async = s->async; in ai_cmd() local
2574 struct comedi_cmd *cmd = &async->cmd; in ai_cmd()
2837 struct comedi_async *async = s->async; in handle_ai_interrupt() local
2838 struct comedi_cmd *cmd = &async->cmd; in handle_ai_interrupt()
2845 async->events |= COMEDI_CB_ERROR; in handle_ai_interrupt()
2874 async->scans_done >= cmd->stop_arg) || in handle_ai_interrupt()
2876 async->events |= COMEDI_CB_EOA; in handle_ai_interrupt()
3016 struct comedi_async *async; in handle_ao_interrupt() local
3024 async = s->async; in handle_ao_interrupt()
3025 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.c212 struct comedi_cmd *cmd = &s->async->cmd; in pcl816_ai_next_chan()
215 s->async->scans_done >= cmd->stop_arg) { in pcl816_ai_next_chan()
216 s->async->events |= COMEDI_CB_EOA; in pcl816_ai_next_chan()
408 struct comedi_cmd *cmd = &s->async->cmd; in pcl816_ai_cmd()
Ddt3000.c341 s->async->events |= COMEDI_CB_ERROR; in dt3k_interrupt()
345 s->async->events |= COMEDI_CB_EOA; in dt3k_interrupt()
465 struct comedi_cmd *cmd = &s->async->cmd; in dt3k_ai_cmd()
Dme4000.c664 struct comedi_cmd *cmd = &s->async->cmd; in me4000_ai_do_cmd()
950 s->async->events |= COMEDI_CB_ERROR; in me4000_ai_isr()
958 s->async->events |= COMEDI_CB_ERROR; in me4000_ai_isr()
978 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.4.14/arch/tile/mm/
Dfault.c805 struct async_tlb *async; in __do_page_fault() local
812 async = &current->thread.dma_async_tlb; in __do_page_fault()
816 async = NULL; in __do_page_fault()
818 if (async) { in __do_page_fault()
827 if (async->fault_num != 0) { in __do_page_fault()
829 fault_num, async->fault_num, in __do_page_fault()
833 async->fault_num = fault_num; in __do_page_fault()
834 async->is_fault = is_page_fault; in __do_page_fault()
835 async->is_write = write; in __do_page_fault()
836 async->address = address; in __do_page_fault()
[all …]
/linux-4.4.14/drivers/net/ethernet/sfc/
Dmcdi.c465 struct efx_mcdi_async_param *async; in efx_mcdi_release() local
470 async = list_first_entry_or_null( in efx_mcdi_release()
472 if (async) { in efx_mcdi_release()
474 efx_mcdi_send_request(efx, async->cmd, in efx_mcdi_release()
475 (const efx_dword_t *)(async + 1), in efx_mcdi_release()
476 async->inlen); in efx_mcdi_release()
482 if (async) in efx_mcdi_release()
498 struct efx_mcdi_async_param *async; in efx_mcdi_complete_async() local
534 async = list_first_entry(&mcdi->async_list, in efx_mcdi_complete_async()
536 list_del(&async->list); in efx_mcdi_complete_async()
[all …]
/linux-4.4.14/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 idle.o
/linux-4.4.14/Documentation/
Dmailbox.txt36 send a message through before returning) or non-blocking/async mode (submit
44 bool async;
55 if (dc->async) {
91 dc_async->async = true;
101 dc_sync->async = false;
107 /* Send async message to remote */
118 /* Now wait for async chan to be done */
/linux-4.4.14/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.c522 ehci->async->qh_next.qh = NULL; in ehci_init()
523 hw = ehci->async->hw; in ehci_init()
524 hw->hw_next = QH_NEXT(ehci, ehci->async->qh_dma); in ehci_init()
531 ehci->async->qh_state = QH_STATE_LINKED; in ehci_init()
532 hw->hw_alt_next = QTD_NEXT(ehci, ehci->async->dummy->qtd_dma); in ehci_init()
583 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.c516 list_for_each_entry(ep, &isp116x->async, schedule) { in start_atl_transfers()
564 if ((&isp116x->async)->next != (&isp116x->async)->prev) in start_atl_transfers()
565 list_move(&isp116x->async, (&isp116x->async)->next); in start_atl_transfers()
772 list_add_tail(&ep->schedule, &isp116x->async); in isp116x_urb_enqueue()
1631 INIT_LIST_HEAD(&isp116x->async); in isp116x_probe()
Dfotg210-hcd.c383 fotg210->async->hw->hw_alt_next) in qh_lines()
413 if (td->hw_alt_next == fotg210->async->hw->hw_alt_next) in qh_lines()
479 for (qh = fotg210->async->qh_next.qh; size > 0 && qh; in fill_async_buffer()
1912 if (fotg210->async) in fotg210_mem_cleanup()
1913 qh_destroy(fotg210, fotg210->async); in fotg210_mem_cleanup()
1914 fotg210->async = NULL; in fotg210_mem_cleanup()
1964 fotg210->async = fotg210_qh_alloc(fotg210, flags); in fotg210_mem_init()
1965 if (!fotg210->async) in fotg210_mem_init()
2653 qtd->hw_alt_next = fotg210->async->hw->hw_alt_next; in qh_urb_transaction()
2931 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
Dehci.h153 struct ehci_qh *async; member
Disp116x.h275 struct list_head async; member
Disp1362.h501 struct list_head async; member
/linux-4.4.14/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.4.14/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.4.14/Documentation/power/powercap/
Dpowercap.txt56 ?   ?   ?   ??? async
73 ?   ?   ?   ??? async
82 ?   ?   ??? async
109 ?   ?   ?   ??? async
126 ?   ?   ?   ??? async
135 ?   ?   ??? async
140 ?   ??? async
/linux-4.4.14/fs/btrfs/
Ddisk-io.c781 struct async_submit_bio *async; in run_one_async_start() local
784 async = container_of(work, struct async_submit_bio, work); in run_one_async_start()
785 ret = async->submit_bio_start(async->inode, async->rw, async->bio, in run_one_async_start()
786 async->mirror_num, async->bio_flags, in run_one_async_start()
787 async->bio_offset); in run_one_async_start()
789 async->error = ret; in run_one_async_start()
795 struct async_submit_bio *async; in run_one_async_done() local
798 async = container_of(work, struct async_submit_bio, work); in run_one_async_done()
799 fs_info = BTRFS_I(async->inode)->root->fs_info; in run_one_async_done()
812 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.c2825 struct async_delayed_refs *async; in delayed_ref_async_start() local
2829 async = container_of(work, struct async_delayed_refs, work); in delayed_ref_async_start()
2831 trans = btrfs_join_transaction(async->root); in delayed_ref_async_start()
2833 async->error = PTR_ERR(trans); in delayed_ref_async_start()
2842 ret = btrfs_run_delayed_refs(trans, async->root, async->count); in delayed_ref_async_start()
2844 async->error = ret; in delayed_ref_async_start()
2846 ret = btrfs_end_transaction(trans, async->root); in delayed_ref_async_start()
2847 if (ret && !async->error) in delayed_ref_async_start()
2848 async->error = ret; in delayed_ref_async_start()
2850 if (async->sync) in delayed_ref_async_start()
[all …]
/linux-4.4.14/drivers/base/power/
Dmain.c225 static void dpm_wait(struct device *dev, bool async) in dpm_wait() argument
230 if (async || (pm_async_enabled && dev->power.async_suspend)) in dpm_wait()
240 static void dpm_wait_for_children(struct device *dev, bool async) in dpm_wait_for_children() argument
242 device_for_each_child(dev, &async, dpm_wait_fn); in dpm_wait_for_children()
474 static int device_resume_noirq(struct device *dev, pm_message_t state, bool async) in device_resume_noirq() argument
489 dpm_wait(dev->parent, async); in device_resume_noirq()
604 static int device_resume_early(struct device *dev, pm_message_t state, bool async) in device_resume_early() argument
619 dpm_wait(dev->parent, async); in device_resume_early()
732 static int device_resume(struct device *dev, pm_message_t state, bool async) in device_resume() argument
751 dpm_wait(dev->parent, async); in device_resume()
[all …]
Dsysfs.c589 static DEVICE_ATTR(async, 0644, async_show, async_store);
/linux-4.4.14/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.4.14/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.4.14/net/ipv4/
Dxfrm4_input.c41 int xfrm4_transport_finish(struct sk_buff *skb, int async) in xfrm4_transport_finish() argument
48 if (!async) in xfrm4_transport_finish()
/linux-4.4.14/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.4.14/net/xfrm/
Dxfrm_input.c194 int async = 0; in xfrm_input() local
198 async = 1; in xfrm_input()
318 if (async && x->repl->recheck(x, skb, seq)) { in xfrm_input()
377 return x->inner_mode->afinfo->transport_finish(skb, async); in xfrm_input()
/linux-4.4.14/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.4.14/drivers/staging/lustre/lustre/include/
Dlustre_ha.h54 int ptlrpc_recover_import(struct obd_import *imp, char *new_uuid, int async);
Dlustre_net.h2299 int ptlrpc_unregister_bulk(struct ptlrpc_request *req, int async);
2348 int ptlrpc_unregister_reply(struct ptlrpc_request *req, int async);
Dlustre_dlm.h1238 struct lustre_handle *lockh, int async);
/linux-4.4.14/drivers/staging/lustre/lustre/obdecho/
Decho_client.c169 struct page **pages, int npages, int async);
1175 struct page **pages, int npages, int async) in cl_echo_object_brw() argument
1245 async = async && (typ == CRT_WRITE); in cl_echo_object_brw()
1246 if (async) in cl_echo_object_brw()
1251 async ? "async" : "sync", rc); in cl_echo_object_brw()
1548 u64 count, int async, in echo_client_kbrw() argument
1617 rc = cl_echo_object_brw(eco, rw, offset, pages, npages, async); in echo_client_kbrw()
1648 int async) in echo_client_prep_commit() argument
1673 if (rw == OBD_BRW_WRITE && async) in echo_client_prep_commit()
1709 if (async) in echo_client_prep_commit()
[all …]
/linux-4.4.14/drivers/scsi/
Datp870u.h43 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()
3680 if ((dev->async[c] & m) != 0) { in is885()
Dgdth_ioctl.h151 } __attribute__((packed)) async; member
Dscsi_scan.c767 int *bflags, int async) in scsi_add_lun() argument
999 if (!async && scsi_sysfs_add_sdev(sdev) != 0) in scsi_add_lun()
/linux-4.4.14/drivers/gpu/drm/msm/
Dmsm_atomic.c203 struct drm_atomic_state *state, bool async) in msm_atomic_commit() argument
279 if (async) { in msm_atomic_commit()
Dmsm_drv.h182 struct drm_atomic_state *state, bool async);
/linux-4.4.14/include/linux/
Dblk-mq.h232 void blk_mq_start_stopped_hw_queues(struct request_queue *q, bool async);
233 void blk_mq_run_hw_queues(struct request_queue *q, bool async);
Dregmap.h291 struct regmap_async *async);
/linux-4.4.14/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 ini=N Number of async ops initialised
288 dfr=N Number of async ops queued for deferred release
289 rel=N Number of async ops released (should equal ini=N when idle)
290 gc=N Number of deferred-release async ops garbage collected
/linux-4.4.14/drivers/gpu/drm/sti/
Dsti_drv.c80 struct drm_atomic_state *state, bool async) in sti_atomic_commit() argument
101 if (async) in sti_atomic_commit()
/linux-4.4.14/Documentation/DocBook/
Dscsi.xml.db66 API-scsi-complete-async-scans
79 API-scsi-prep-async-scan
80 API-scsi-finish-async-scan
Dw1.xml.db6 API-struct-w1-async-cmd
Dusb.xml.db80 API-usb-autopm-put-interface-async
83 API-usb-autopm-get-interface-async
Ddevice-drivers.xml.db793 API-struct-v4l2-async-subdev
794 API-struct-v4l2-async-notifier
1074 API-spi-async
1075 API-spi-async-locked
1129 API-hsi-async-read
1130 API-hsi-async-write
1141 API-hsi-async
D.device-drivers.xml.cmd2 …h include/media/tuner-types.h include/media/tveeprom.h include/media/v4l2-async.h include/media/v4…
Dlibata.xml.db118 API-ata-sas-async-probe
Dalsa-driver-api.xml.db275 API-snd-soc-component-update-bits-async
276 API-snd-soc-component-async-complete
Dkernel-api.xml.db183 API-page-cache-async-readahead
595 API-blk-start-queue-async
601 API-blk-run-queue-async
Dnetworking.xml.db245 API-rpcb-getport-async
253 API-rpc-call-async
/linux-4.4.14/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.4.14/Documentation/devicetree/bindings/net/ieee802154/
Dat86rf230.txt7 sync or async operation mode
Dcc2520.txt6 sync or async operation mode
/linux-4.4.14/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.c241 int ptlrpc_unregister_bulk(struct ptlrpc_request *req, int async) in ptlrpc_unregister_bulk() argument
252 async && req->rq_bulk_deadline == 0) in ptlrpc_unregister_bulk()
273 if (async) in ptlrpc_unregister_bulk()
Dclient.c2318 int ptlrpc_unregister_reply(struct ptlrpc_request *request, int async) in ptlrpc_unregister_reply() argument
2329 async && request->rq_reply_deadline == 0) in ptlrpc_unregister_reply()
2346 if (async) in ptlrpc_unregister_reply()
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/
Di40e_adminq.h70 bool async; member
Di40e_adminq.c733 if (details->postpone && !details->async) { in i40evf_asq_send_command()
791 if (!details->async && !details->postpone) { in i40evf_asq_send_command()
839 (!details->async && !details->postpone)) { in i40evf_asq_send_command()
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_adminq.h70 bool async; member
Di40e_adminq.c800 if (details->postpone && !details->async) { in i40e_asq_send_command()
858 if (!details->async && !details->postpone) { in i40e_asq_send_command()
905 (!details->async && !details->postpone)) { in i40e_asq_send_command()
/linux-4.4.14/block/
Dblk-mq.h28 void blk_mq_run_hw_queue(struct blk_mq_hw_ctx *hctx, bool async);
Dblk-mq.c858 void blk_mq_run_hw_queue(struct blk_mq_hw_ctx *hctx, bool async) in blk_mq_run_hw_queue() argument
864 if (!async) { in blk_mq_run_hw_queue()
879 void blk_mq_run_hw_queues(struct request_queue *q, bool async) in blk_mq_run_hw_queues() argument
890 blk_mq_run_hw_queue(hctx, async); in blk_mq_run_hw_queues()
931 void blk_mq_start_stopped_hw_queues(struct request_queue *q, bool async) in blk_mq_start_stopped_hw_queues() argument
941 blk_mq_run_hw_queue(hctx, async); in blk_mq_start_stopped_hw_queues()
998 bool async) in blk_mq_insert_request() argument
1015 blk_mq_run_hw_queue(hctx, async); in blk_mq_insert_request()
/linux-4.4.14/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.4.14/drivers/net/wireless/b43/
Dmain.h109 struct b43_firmware_file *fw, bool async);
/linux-4.4.14/drivers/mtd/maps/
DMakefile40 obj-$(CONFIG_MTD_BFIN_ASYNC) += bfin-async-flash.o
/linux-4.4.14/drivers/gpu/drm/omapdrm/
Domap_dmm_priv.h149 bool async; member
Domap_drv.c141 struct drm_atomic_state *state, bool async) in omap_atomic_commit() argument
192 if (async) in omap_atomic_commit()
Domap_dmm_tiler.c151 if (dmm->engines[i].async) in omap_dmm_irq_handler()
277 engine->async = wait ? false : true; in dmm_txn_commit()
/linux-4.4.14/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.4.14/drivers/media/v4l2-core/
DMakefile9 v4l2-async.o
/linux-4.4.14/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 or async. First two fields specify the major and minor number of the
339 or async. First two fields specify the major and minor number of the
/linux-4.4.14/virt/kvm/
Dkvm_main.c1302 static bool hva_to_pfn_fast(unsigned long addr, bool atomic, bool *async, in hva_to_pfn_fast() argument
1308 if (!(async || atomic)) in hva_to_pfn_fast()
1335 static int hva_to_pfn_slow(unsigned long addr, bool *async, bool write_fault, in hva_to_pfn_slow() argument
1346 if (async) { in hva_to_pfn_slow()
1400 static pfn_t hva_to_pfn(unsigned long addr, bool atomic, bool *async, in hva_to_pfn() argument
1408 BUG_ON(atomic && async); in hva_to_pfn()
1410 if (hva_to_pfn_fast(addr, atomic, async, write_fault, writable, &pfn)) in hva_to_pfn()
1416 npages = hva_to_pfn_slow(addr, async, write_fault, writable, &pfn); in hva_to_pfn()
1422 (!async && check_user_page_hwpoison(addr))) { in hva_to_pfn()
1436 if (async && vma_is_valid(vma, write_fault)) in hva_to_pfn()
[all …]
/linux-4.4.14/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.4.14/Documentation/virtual/kvm/
Dcpuid.txt43 KVM_FEATURE_ASYNC_PF || 4 || async pf can be enabled by
/linux-4.4.14/fs/fuse/
Dfuse_i.h248 int async; member
264 .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.4.14/include/drm/
Ddrm_atomic_helper.h43 bool async);
/linux-4.4.14/drivers/gpu/drm/exynos/
Dexynos_drm_drv.h259 bool async);
Dexynos_drm_g2d.c219 int async; member
867 if (g2d->runqueue_node->async) in g2d_runqueue_worker()
1266 runqueue_node->async = req->async; in exynos_g2d_exec_ioctl()
1285 if (runqueue_node->async) in exynos_g2d_exec_ioctl()
Dexynos_drm_drv.c261 bool async) in exynos_atomic_commit() argument
299 if (async) in exynos_atomic_commit()
/linux-4.4.14/net/x25/
DKconfig28 to "X.25 async driver" below) or over Ethernet using an ordinary
/linux-4.4.14/include/uapi/drm/
Dexynos_drm.h117 __u64 async; member
/linux-4.4.14/drivers/staging/lustre/lustre/osc/
Dosc_internal.h114 struct ptlrpc_request_set *rqset, int async, int agl);
/linux-4.4.14/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.4.14/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
Dclient.txt7 Documentation/crypto/async-tx-api.txt
/linux-4.4.14/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.4.14/drivers/infiniband/core/
Duverbs.h129 struct ib_uverbs_async_event_desc async; member
Duverbs_main.c520 entry->desc.async.element = element; in ib_uverbs_async_handler()
521 entry->desc.async.event_type = event; in ib_uverbs_async_handler()
522 entry->desc.async.reserved = 0; in ib_uverbs_async_handler()
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Dops.c206 bool async; member
211 { .cmd_id = _cmd_id , .fn = _fn , .async = _async }
213 { .cmd_id = WIDE_ID(_grp, _cmd), .fn = _fn, .async = _async }
755 if (!rx_h->async) { in iwl_mvm_rx_common()
/linux-4.4.14/include/linux/hsi/
Dhsi.h245 int (*async)(struct hsi_msg *msg); member
/linux-4.4.14/arch/powerpc/kernel/vdso64/
Dsigtramp.S303 # I don't think so, since gcc doesn't support async signals.
/linux-4.4.14/kernel/
DMakefile12 async.o range.o smpboot.o
/linux-4.4.14/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.4.14/Documentation/devicetree/bindings/media/
Dstih407-c8sectpfe.txt44 - async-not-sync : Bool property to control if data is received in asynchronous mode
/linux-4.4.14/drivers/gpu/drm/rcar-du/
Drcar_du_kms.c485 struct drm_atomic_state *state, bool async) in rcar_du_atomic_commit() argument
530 if (async) in rcar_du_atomic_commit()
/linux-4.4.14/drivers/hsi/
Dhsi.c503 port[i]->async = hsi_dummy_msg; in hsi_alloc_controller()
601 return port->async(msg); in hsi_async()
/linux-4.4.14/Documentation/vm/
Duserfaultfd.txt94 Guest async page faults, FOLL_NOWAIT and all other GUP features work
95 just fine in combination with userfaults. Userfaults trigger async
/linux-4.4.14/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.4.14/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.4.14/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.4.14/Documentation/device-mapper/
Ddm-io.txt5 types of I/O services available, and each type has a sync and an async
/linux-4.4.14/drivers/staging/rtl8712/
Drtl871x_io.h92 u8 async);
/linux-4.4.14/Documentation/devicetree/bindings/memory-controllers/
Darm,pl172.txt52 - mpmc,async-page-mode: Enable asynchronous page mode.
/linux-4.4.14/drivers/net/slip/
DKconfig78 over the async ports of a Camtec JNT Pad. If unsure, say N.
/linux-4.4.14/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.4.14/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.4.14/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.4.14/drivers/media/platform/omap3isp/
Disp.c2277 static int isp_subdev_notifier_bound(struct v4l2_async_notifier *async, in isp_subdev_notifier_bound() argument
2281 struct isp_device *isp = container_of(async, struct isp_device, in isp_subdev_notifier_bound()
2297 static int isp_subdev_notifier_complete(struct v4l2_async_notifier *async) in isp_subdev_notifier_complete() argument
2299 struct isp_device *isp = container_of(async, struct isp_device, in isp_subdev_notifier_complete()
/linux-4.4.14/drivers/usb/musb/
Dmusb_core.h348 dma_addr_t async; member
/linux-4.4.14/drivers/staging/most/Documentation/ABI/
Dsysfs-class-most.txt152 'async',
/linux-4.4.14/drivers/s390/block/
Ddasd_eckd.h235 unsigned char async:1; member
/linux-4.4.14/drivers/scsi/ufs/
Dufshcd.h684 int ufshcd_hold(struct ufs_hba *hba, bool async);
/linux-4.4.14/arch/blackfin/mach-bf548/
DKconfig42 async address or GPIO port F and G. Select y to route it
/linux-4.4.14/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()
3179 struct ibmvfc_async_crq *async; in ibmvfc_tasklet() local
3186 while ((async = ibmvfc_next_async_crq(vhost)) != NULL) { in ibmvfc_tasklet()
3187 ibmvfc_handle_async(async, vhost); in ibmvfc_tasklet()
3188 async->valid = 0; in ibmvfc_tasklet()
3200 if ((async = ibmvfc_next_async_crq(vhost)) != NULL) { in ibmvfc_tasklet()
3202 ibmvfc_handle_async(async, vhost); in ibmvfc_tasklet()
3203 async->valid = 0; in ibmvfc_tasklet()
Dibmvfc.h174 struct srp_direct_buf async; member
/linux-4.4.14/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.4.14/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.4.14/Documentation/input/
Dyealink.txt125 races between async. and sync usb calls.
/linux-4.4.14/include/net/
Dxfrm.h343 int async);
1524 int xfrm4_transport_finish(struct sk_buff *skb, int async);
1548 int xfrm6_transport_finish(struct sk_buff *skb, int async);
/linux-4.4.14/Documentation/spi/
Dspidev113 - At this time there is no async I/O support; everything is purely
/linux-4.4.14/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
/linux-4.4.14/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.4.14/Documentation/powerpc/
Dtransactional_memory.txt99 Delivery of signals (both sync and async) during transactions provides a second
/linux-4.4.14/drivers/staging/lustre/lustre/ldlm/
Dldlm_request.c658 struct lustre_handle *lockh, int async) in ldlm_cli_enqueue() argument
756 if (async) { in ldlm_cli_enqueue()
/linux-4.4.14/drivers/usb/misc/
Dusbtest.c1394 static int unlink1(struct usbtest_dev *dev, int pipe, int size, int async) in unlink1() argument
1428 if (async) { in unlink1()
1465 if (async) in unlink1()
/linux-4.4.14/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.4.14/drivers/gpu/drm/
Ddrm_atomic_helper.c1025 bool async) in drm_atomic_helper_commit() argument
1029 if (async) in drm_atomic_helper_commit()
/linux-4.4.14/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.4.14/drivers/md/
Ddm-crypt.c1245 static void kcryptd_crypt_write_io_submit(struct dm_crypt_io *io, int async) in kcryptd_crypt_write_io_submit() argument
1265 if (likely(!async) && test_bit(DM_CRYPT_NO_OFFLOAD, &cc->flags)) { in kcryptd_crypt_write_io_submit()
/linux-4.4.14/Documentation/usb/
Dehci.txt115 "async" dumps the asynchronous schedule, used for control
/linux-4.4.14/arch/s390/kernel/
Dentry.S98 0: lg %r14,__LC_ASYNC_STACK # are we already on the async stack?
107 2: lg %r15,__LC_ASYNC_STACK # load async stack
/linux-4.4.14/Documentation/x86/
Dintel_mpx.txt155 A: mmap() is not on the list of safe async handler functions and even

12