/linux/drivers/comedi/ |
A D | comedi_buf.c | 56 struct comedi_async *async = s->async; in __comedi_buf_free() local 144 struct comedi_async *async = s->async; in __comedi_buf_alloc() local 231 struct comedi_async *async = s->async; in comedi_buf_map_from_subdev_get() local 260 struct comedi_async *async = s->async; in comedi_buf_alloc() local 293 struct comedi_async *async = s->async; in comedi_buf_reset() local 315 struct comedi_async *async = s->async; in comedi_buf_write_n_unalloc() local 323 struct comedi_async *async = s->async; in comedi_buf_write_n_available() local 343 struct comedi_async *async = s->async; in comedi_buf_write_alloc() local 368 struct comedi_async *async = s->async; in comedi_buf_munge() local 410 struct comedi_async *async = s->async; in comedi_buf_write_n_allocated() local [all …]
|
A D | drivers.c | 170 if (s->async) { in comedi_device_detach_cleanup() 172 kfree(s->async); in comedi_device_detach_cleanup() 463 struct comedi_async *async = s->async; in __comedi_nscans_left() local 515 struct comedi_async *async = s->async; in comedi_nsamples_left() local 549 struct comedi_async *async = s->async; in comedi_inc_scan_progress() local 564 async->scans_done += nscans; in comedi_inc_scan_progress() 566 async->scans_done = UINT_MAX; in comedi_inc_scan_progress() 645 struct comedi_async *async; in __comedi_device_postconfig_async() local 664 async = kzalloc(sizeof(*async), GFP_KERNEL); in __comedi_device_postconfig_async() 665 if (!async) in __comedi_device_postconfig_async() [all …]
|
A D | comedi_fops.c | 341 struct comedi_async *async = s->async; in resize_async_buffer() local 734 struct comedi_async *async = s->async; in do_become_nonbusy() local 738 if (async) { in do_become_nonbusy() 883 async = s->async; in do_bufconfig_ioctl() 885 if (!async) { in do_bufconfig_ioctl() 1123 async = s->async; in do_bufinfo_ioctl() 1762 async = s->async; in do_cmd_ioctl() 2354 async = s->async; in comedi_mmap() 2493 async = s->async; in comedi_write() 2629 async = s->async; in comedi_read() [all …]
|
/linux/drivers/base/regmap/ |
A D | regmap-spi.c | 23 struct regmap_async_spi *async = data; in regmap_spi_complete() local 25 regmap_async_complete_cb(&async->core, async->m.status); in regmap_spi_complete() 64 async->t[0].tx_buf = reg; in regmap_spi_async_write() 65 async->t[0].len = reg_len; in regmap_spi_async_write() 66 async->t[1].tx_buf = val; in regmap_spi_async_write() 67 async->t[1].len = val_len; in regmap_spi_async_write() 69 spi_message_init(&async->m); in regmap_spi_async_write() 70 spi_message_add_tail(&async->t[0], &async->m); in regmap_spi_async_write() 72 spi_message_add_tail(&async->t[1], &async->m); in regmap_spi_async_write() 75 async->m.context = async; in regmap_spi_async_write() [all …]
|
A D | regmap.c | 1529 kfree(async); in regmap_exit() 1759 if (async) in _regmap_raw_write_impl() 1763 if (!async) { in _regmap_raw_write_impl() 1765 if (!async) in _regmap_raw_write_impl() 1771 kfree(async); in _regmap_raw_write_impl() 1776 async->map = map; in _regmap_raw_write_impl() 2024 map->async = true; in regmap_write_async() 2028 map->async = false; in regmap_write_async() 2643 map->async = true; in regmap_raw_write_async() 3119 map->async = async; in regmap_update_bits_base() [all …]
|
/linux/drivers/gpu/drm/msm/ |
A D | msm_atomic_trace.h | 12 TP_PROTO(bool async, unsigned crtc_mask), 13 TP_ARGS(async, crtc_mask), 15 __field(bool, async) 19 __entry->async = async; 23 __entry->async, __entry->crtc_mask) 27 TP_PROTO(bool async, unsigned crtc_mask), 28 TP_ARGS(async, crtc_mask), 30 __field(bool, async) 34 __entry->async = async; 38 __entry->async, __entry->crtc_mask)
|
/linux/drivers/comedi/drivers/ |
A D | ni_tiocmd.c | 79 struct comedi_cmd *cmd = &s->async->cmd; in ni_tio_input_inttrig() 95 s->async->inttrig = NULL; in ni_tio_input_inttrig() 107 struct comedi_async *async = s->async; in ni_tio_input_cmd() local 108 struct comedi_cmd *cmd = &async->cmd; in ni_tio_input_cmd() 127 async->inttrig = &ni_tio_input_inttrig; in ni_tio_input_cmd() 129 async->inttrig = NULL; in ni_tio_input_cmd() 162 struct comedi_cmd *cmd = &s->async->cmd; in ni_tio_cmd_setup() 207 struct comedi_async *async = s->async; in ni_tio_cmd() local 208 struct comedi_cmd *cmd = &async->cmd; in ni_tio_cmd() 462 s->async->events |= COMEDI_CB_OVERFLOW; in ni_tio_handle_interrupt() [all …]
|
A D | comedi_test.c | 201 struct comedi_async *async = s->async; in waveform_ai_timer() local 202 struct comedi_cmd *cmd = &async->cmd; in waveform_ai_timer() 219 if (async->scan_progress == 0) { in waveform_ai_timer() 233 async->events |= COMEDI_CB_EOA; in waveform_ai_timer() 438 struct comedi_async *async = s->async; in waveform_ao_timer() local 439 struct comedi_cmd *cmd = &async->cmd; in waveform_ao_timer() 491 async->events |= COMEDI_CB_EOA; in waveform_ao_timer() 493 async->events |= COMEDI_CB_OVERFLOW; in waveform_ao_timer() 511 struct comedi_async *async = s->async; in waveform_ao_inttrig_start() local 517 async->inttrig = NULL; in waveform_ao_inttrig_start() [all …]
|
A D | mite.c | 274 struct comedi_async *async = s->async; in mite_sync_input_dma() local 287 async->events |= COMEDI_CB_OVERFLOW; in mite_sync_input_dma() 299 async->events |= COMEDI_CB_BLOCK; in mite_sync_input_dma() 306 struct comedi_async *async = s->async; in mite_sync_output_dma() local 307 struct comedi_cmd *cmd = &async->cmd; in mite_sync_output_dma() 326 async->events |= COMEDI_CB_OVERFLOW; in mite_sync_output_dma() 343 async->events |= COMEDI_CB_BLOCK; in mite_sync_output_dma() 404 s->async->events |= COMEDI_CB_ERROR; in mite_ack_linkc() 654 struct comedi_async *async = s->async; in mite_init_ring_descriptors() local 719 struct comedi_async *async = s->async; in mite_buf_change() local [all …]
|
A D | usbduxsigma.c | 206 struct comedi_async *async = s->async; in usbduxsigma_ai_handle_urb() local 231 async->events |= COMEDI_CB_EOA; in usbduxsigma_ai_handle_urb() 255 struct comedi_async *async = s->async; in usbduxsigma_ai_urb_complete() local 283 async->events |= COMEDI_CB_ERROR; in usbduxsigma_ai_urb_complete() 332 struct comedi_async *async = s->async; in usbduxsigma_ao_handle_urb() local 344 async->events |= COMEDI_CB_EOA; in usbduxsigma_ao_handle_urb() 394 struct comedi_async *async = s->async; in usbduxsigma_ao_urb_complete() local 613 s->async->inttrig = NULL; in usbduxsigma_ai_inttrig() 683 s->async->inttrig = NULL; in usbduxsigma_ai_cmd() 817 s->async->inttrig = NULL; in usbduxsigma_ao_inttrig() [all …]
|
A D | usbdux.c | 244 struct comedi_async *async = s->async; in usbduxsub_ai_handle_urb() local 269 async->events |= COMEDI_CB_EOA; in usbduxsub_ai_handle_urb() 292 struct comedi_async *async = s->async; in usbduxsub_ai_isoc_irq() local 321 async->events |= COMEDI_CB_ERROR; in usbduxsub_ai_isoc_irq() 372 struct comedi_async *async = s->async; in usbduxsub_ao_handle_urb() local 384 async->events |= COMEDI_CB_EOA; in usbduxsub_ao_handle_urb() 439 struct comedi_async *async = s->async; in usbduxsub_ao_isoc_irq() local 650 s->async->inttrig = NULL; in usbdux_ai_inttrig() 721 s->async->inttrig = NULL; in usbdux_ai_cmd() 857 s->async->inttrig = NULL; in usbdux_ao_inttrig() [all …]
|
A D | dt2814.c | 205 struct comedi_cmd *cmd = &s->async->cmd; in dt2814_ai_cmd() 245 struct comedi_async *async; in dt2814_interrupt() local 255 async = s->async; in dt2814_interrupt() 279 async->events |= COMEDI_CB_ERROR; in dt2814_interrupt() 282 if (async->cmd.stop_src == TRIG_COUNT && in dt2814_interrupt() 283 async->scans_done >= async->cmd.stop_arg) { in dt2814_interrupt() 284 async->events |= COMEDI_CB_EOA; in dt2814_interrupt() 287 if (async->events & COMEDI_CB_CANCEL_MASK) { in dt2814_interrupt()
|
A D | amplc_pci230.c | 1023 cmd = &s->async->cmd; in pci230_ao_stop() 1065 struct comedi_async *async = s->async; in pci230_handle_ao_nofifo() local 1096 struct comedi_async *async = s->async; in pci230_handle_ao_fifo() local 1172 async->events |= events; in pci230_handle_ao_fifo() 1213 struct comedi_async *async = s->async; in pci230_ao_start() local 1295 s->async->inttrig = NULL; in pci230_ao_inttrig_start() 1825 cmd = &s->async->cmd; in pci230_ai_stop() 1865 struct comedi_async *async = s->async; in pci230_ai_start() local 2006 s->async->inttrig = NULL; in pci230_ai_inttrig_start() 2016 struct comedi_async *async = s->async; in pci230_handle_ai() local [all …]
|
A D | usbduxfast.c | 228 struct comedi_async *async = s->async; in usbduxfast_ai_handle_urb() local 229 struct comedi_cmd *cmd = &async->cmd; in usbduxfast_ai_handle_urb() 242 async->scans_done >= cmd->stop_arg) in usbduxfast_ai_handle_urb() 243 async->events |= COMEDI_CB_EOA; in usbduxfast_ai_handle_urb() 253 async->events |= COMEDI_CB_ERROR; in usbduxfast_ai_handle_urb() 262 struct comedi_async *async = s->async; in usbduxfast_ai_interrupt() local 279 async->events |= COMEDI_CB_ERROR; in usbduxfast_ai_interrupt() 287 async->events |= COMEDI_CB_ERROR; in usbduxfast_ai_interrupt() 439 struct comedi_cmd *cmd = &s->async->cmd; in usbduxfast_ai_inttrig() 456 s->async->inttrig = NULL; in usbduxfast_ai_inttrig() [all …]
|
A D | adv_pci1710.c | 404 s->async->events |= COMEDI_CB_ERROR; in pci1710_handle_every_sample() 410 s->async->events |= COMEDI_CB_ERROR; in pci1710_handle_every_sample() 419 s->async->events |= COMEDI_CB_ERROR; in pci1710_handle_every_sample() 427 s->async->events |= COMEDI_CB_EOA; in pci1710_handle_every_sample() 439 struct comedi_async *async = s->async; in pci1710_handle_fifo() local 440 struct comedi_cmd *cmd = &async->cmd; in pci1710_handle_fifo() 447 async->events |= COMEDI_CB_ERROR; in pci1710_handle_fifo() 453 async->events |= COMEDI_CB_ERROR; in pci1710_handle_fifo() 463 s->async->events |= COMEDI_CB_ERROR; in pci1710_handle_fifo() 472 async->events |= COMEDI_CB_EOA; in pci1710_handle_fifo() [all …]
|
A D | cb_pcidas.c | 790 struct comedi_async *async = s->async; in cb_pcidas_ai_cmd() local 1002 struct comedi_async *async = s->async; in cb_pcidas_ao_inttrig() local 1025 async->inttrig = NULL; in cb_pcidas_ao_inttrig() 1034 struct comedi_async *async = s->async; in cb_pcidas_ao_cmd() local 1110 struct comedi_async *async = s->async; in cb_pcidas_ao_interrupt() local 1120 async->events |= COMEDI_CB_EOA; in cb_pcidas_ao_interrupt() 1123 async->events |= COMEDI_CB_ERROR; in cb_pcidas_ao_interrupt() 1143 struct comedi_async *async = s->async; in cb_pcidas_ai_interrupt() local 1160 async->events |= COMEDI_CB_EOA; in cb_pcidas_ai_interrupt() 1179 async->events |= COMEDI_CB_EOA; in cb_pcidas_ai_interrupt() [all …]
|
A D | ni_labpc_isadma.c | 29 struct comedi_cmd *cmd = &s->async->cmd; in labpc_suggest_transfer_size() 56 struct comedi_cmd *cmd = &s->async->cmd; in labpc_setup_dma() 77 struct comedi_async *async = s->async; in labpc_drain_dma() local 78 struct comedi_cmd *cmd = &async->cmd; in labpc_drain_dma()
|
A D | addi_apci_3120.c | 207 struct comedi_cmd *cmd = &s->async->cmd; in apci3120_setup_dma() 243 if (dmalen0 > s->async->prealloc_bufsz) in apci3120_setup_dma() 244 dmalen0 = s->async->prealloc_bufsz; in apci3120_setup_dma() 246 dmalen1 = s->async->prealloc_bufsz; in apci3120_setup_dma() 428 struct comedi_async *async = s->async; in apci3120_interrupt_dma() local 429 struct comedi_cmd *cmd = &async->cmd; in apci3120_interrupt_dma() 442 async->events |= COMEDI_CB_ERROR; in apci3120_interrupt_dma() 451 async->events |= COMEDI_CB_EOS; in apci3120_interrupt_dma() 474 struct comedi_async *async = s->async; in apci3120_interrupt() local 475 struct comedi_cmd *cmd = &async->cmd; in apci3120_interrupt() [all …]
|
A D | adl_pci9118.c | 410 struct comedi_cmd *cmd = &s->async->cmd; in pci9118_ai_samples_ready() 467 struct comedi_cmd *cmd = &s->async->cmd; in pci9118_ai_dma_xfer() 537 struct comedi_cmd *cmd = &s->async->cmd; in pci9118_calc_divisors() 591 s->async->inttrig = NULL; in pci9118_ai_cancel() 623 struct comedi_cmd *cmd = &s->async->cmd; in pci9118_ai_get_onesample() 632 s->async->events |= COMEDI_CB_EOA; in pci9118_ai_get_onesample() 663 s->async->events |= COMEDI_CB_EOA; in pci9118_ai_get_dma() 699 s->async->events |= COMEDI_CB_ERROR; in pci9118_interrupt() 705 s->async->events |= COMEDI_CB_ERROR; in pci9118_interrupt() 724 s->async->events |= COMEDI_CB_ERROR; in pci9118_interrupt() [all …]
|
A D | das800.c | 370 struct comedi_async *async = s->async; in das800_ai_do_cmd() local 371 struct comedi_cmd *cmd = &async->cmd; in das800_ai_do_cmd() 426 struct comedi_async *async; in das800_interrupt() local 441 async = s->async; in das800_interrupt() 442 cmd = &async->cmd; in das800_interrupt() 478 async->scans_done >= cmd->stop_arg) { in das800_interrupt() 479 async->events |= COMEDI_CB_EOA; in das800_interrupt() 486 async->events |= COMEDI_CB_ERROR; in das800_interrupt() 491 if (!(async->events & COMEDI_CB_CANCEL_MASK)) { in das800_interrupt()
|
A D | ni_pcidio.c | 379 struct comedi_async *async = s->async; in nidio_interrupt() local 434 async->events |= COMEDI_CB_EOA; in nidio_interrupt() 440 async->events |= COMEDI_CB_ERROR; in nidio_interrupt() 445 async->events |= COMEDI_CB_EOA; in nidio_interrupt() 449 async->events |= COMEDI_CB_EOA; in nidio_interrupt() 607 struct comedi_cmd *cmd = &s->async->cmd; in ni_pcidio_inttrig() 613 s->async->inttrig = NULL; in ni_pcidio_inttrig() 621 struct comedi_cmd *cmd = &s->async->cmd; in ni_pcidio_cmd() 723 s->async->inttrig = NULL; in ni_pcidio_cmd() 726 s->async->inttrig = ni_pcidio_inttrig; in ni_pcidio_cmd() [all …]
|
/linux/drivers/net/ethernet/sfc/ |
A D | mcdi.c | 477 if (async) { in efx_mcdi_release() 487 if (async) in efx_mcdi_release() 551 efx_mcdi_display_error(efx, async->cmd, async->inlen, errbuf, in efx_mcdi_complete_async() 556 async->complete(efx, async->cookie, rc, outbuf, in efx_mcdi_complete_async() 558 kfree(async); in efx_mcdi_complete_async() 991 async = kmalloc(sizeof(*async) + ALIGN(max(inlen, outlen), 4), in _efx_mcdi_rpc_async() 993 if (!async) in _efx_mcdi_rpc_async() 996 async->cmd = cmd; in _efx_mcdi_rpc_async() 1019 kfree(async); in _efx_mcdi_rpc_async() 1163 async->complete(efx, async->cookie, -ENETDOWN, NULL, 0); in efx_mcdi_flush_async() [all …]
|
/linux/drivers/base/power/ |
A D | main.c | 272 dpm_wait(link->supplier, async); in dpm_wait_for_suppliers() 299 dpm_wait(parent, async); in dpm_wait_for_superior() 302 dpm_wait_for_suppliers(dev, async); in dpm_wait_for_superior() 329 dpm_wait(link->consumer, async); in dpm_wait_for_consumers() 336 dpm_wait_for_children(dev, async); in dpm_wait_for_subordinate() 337 dpm_wait_for_consumers(dev, async); in dpm_wait_for_subordinate() 606 if (!dpm_wait_for_superior(dev, async)) in device_resume_noirq() 776 if (!dpm_wait_for_superior(dev, async)) in device_resume_early() 1208 dpm_wait_for_subordinate(dev, async); in __device_suspend_noirq() 1397 dpm_wait_for_subordinate(dev, async); in __device_suspend_late() [all …]
|
/linux/Documentation/driver-api/ |
A D | mailbox.rst | 44 send a message through before returning) or non-blocking/async mode (submit 53 bool async; 64 if (dc->async) { 100 dc_async->async = true; 110 dc_sync->async = false; 116 /* Send async message to remote */ 127 /* Now wait for async chan to be done */
|
/linux/drivers/usb/host/ |
A D | ehci-mem.c | 108 if (ehci->async) in ehci_mem_cleanup() 109 qh_destroy(ehci, ehci->async); in ehci_mem_cleanup() 110 ehci->async = NULL; in ehci_mem_cleanup() 161 ehci->async = ehci_qh_alloc (ehci, flags); in ehci_mem_init() 162 if (!ehci->async) { in ehci_mem_init()
|