| /drivers/comedi/ |
| A D | comedi_buf.c | 53 struct comedi_async *async = s->async; in __comedi_buf_free() local 122 struct comedi_async *async = s->async; in __comedi_buf_alloc() local 183 struct comedi_async *async = s->async; in comedi_buf_map_from_subdev_get() local 212 struct comedi_async *async = s->async; in comedi_buf_alloc() local 240 struct comedi_async *async = s->async; in comedi_buf_reset() local 262 struct comedi_async *async = s->async; in comedi_buf_write_n_unalloc() local 270 struct comedi_async *async = s->async; in comedi_buf_write_n_available() local 290 struct comedi_async *async = s->async; in comedi_buf_write_alloc() local 315 struct comedi_async *async = s->async; in comedi_buf_munge() local 360 struct comedi_async *async = s->async; in comedi_buf_write_n_allocated() local [all …]
|
| A D | comedi_fops.c | 328 struct comedi_async *async = s->async; in resize_async_buffer() local 738 struct comedi_async *async = s->async; in do_become_nonbusy() local 742 if (async) { in do_become_nonbusy() 904 async = s->async; in do_bufconfig_ioctl() 906 if (!async) { in do_bufconfig_ioctl() 1144 async = s->async; in do_bufinfo_ioctl() 1804 async = s->async; in do_cmd_ioctl() 2399 async = s->async; in comedi_mmap() 2619 async = s->async; in comedi_write() 2747 async = s->async; in comedi_read() [all …]
|
| A D | drivers.c | 169 if (s->async) { in comedi_device_detach_cleanup() 171 kfree(s->async); in comedi_device_detach_cleanup() 470 struct comedi_async *async = s->async; in __comedi_nscans_left() local 522 struct comedi_async *async = s->async; in comedi_nsamples_left() local 556 struct comedi_async *async = s->async; in comedi_inc_scan_progress() local 571 async->scans_done += nscans; in comedi_inc_scan_progress() 573 async->scans_done = UINT_MAX; in comedi_inc_scan_progress() 655 struct comedi_async *async; in __comedi_device_postconfig_async() local 674 async = kzalloc(sizeof(*async), GFP_KERNEL); in __comedi_device_postconfig_async() 675 if (!async) in __comedi_device_postconfig_async() [all …]
|
| /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 | 1474 kfree(async); in regmap_exit() 1717 if (async) in _regmap_raw_write_impl() 1721 if (!async) { in _regmap_raw_write_impl() 1723 if (!async) in _regmap_raw_write_impl() 1729 kfree(async); in _regmap_raw_write_impl() 1734 async->map = map; in _regmap_raw_write_impl() 1991 map->async = true; in regmap_write_async() 1995 map->async = false; in regmap_write_async() 2717 map->async = true; in regmap_raw_write_async() 3287 map->async = async; in regmap_update_bits_base() [all …]
|
| /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)
|
| /drivers/staging/vc04_services/interface/ |
| A D | TESTING | 60 vchi ping (size 0, 0 async, 0 oneway) -> 122.000000us 61 vchi bulk (size 0, 0 async, 0 oneway) -> 546.000000us 64 vchi ping (size 0, 0 async, 0 oneway) -> 70.000000us 67 vchi ping (size 0, 1 async, 0 oneway) -> 65.000000us 69 vchi ping (size 0, 2 async, 0 oneway) -> 74.000000us 73 vchi ping (size 0, 0 async, 1 oneway) -> 70.000000us 74 vchi ping (size 0, 0 async, 2 oneway) -> 76.000000us 77 vchi ping (size 0, 100 async, 0 oneway) -> nanus 79 vchi ping (size 0, 0 async, 100 oneway) -> nanus 80 vchi ping (size 0, 100 async, 100 oneway) -> infus [all …]
|
| /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 | mite.c | 273 struct comedi_async *async = s->async; in mite_sync_input_dma() local 286 async->events |= COMEDI_CB_OVERFLOW; in mite_sync_input_dma() 298 async->events |= COMEDI_CB_BLOCK; in mite_sync_input_dma() 305 struct comedi_async *async = s->async; in mite_sync_output_dma() local 306 struct comedi_cmd *cmd = &async->cmd; in mite_sync_output_dma() 325 async->events |= COMEDI_CB_OVERFLOW; in mite_sync_output_dma() 342 async->events |= COMEDI_CB_BLOCK; in mite_sync_output_dma() 403 s->async->events |= COMEDI_CB_ERROR; in mite_ack_linkc() 653 struct comedi_async *async = s->async; in mite_init_ring_descriptors() local 718 struct comedi_async *async = s->async; in mite_buf_change() local [all …]
|
| A D | usbduxsigma.c | 205 struct comedi_async *async = s->async; in usbduxsigma_ai_handle_urb() local 230 async->events |= COMEDI_CB_EOA; in usbduxsigma_ai_handle_urb() 254 struct comedi_async *async = s->async; in usbduxsigma_ai_urb_complete() local 282 async->events |= COMEDI_CB_ERROR; in usbduxsigma_ai_urb_complete() 331 struct comedi_async *async = s->async; in usbduxsigma_ao_handle_urb() local 343 async->events |= COMEDI_CB_EOA; in usbduxsigma_ao_handle_urb() 393 struct comedi_async *async = s->async; in usbduxsigma_ao_urb_complete() local 612 s->async->inttrig = NULL; in usbduxsigma_ai_inttrig() 682 s->async->inttrig = NULL; in usbduxsigma_ai_cmd() 816 s->async->inttrig = NULL; in usbduxsigma_ao_inttrig() [all …]
|
| A D | comedi_test.c | 204 struct comedi_async *async = s->async; in waveform_ai_timer() local 205 struct comedi_cmd *cmd = &async->cmd; in waveform_ai_timer() 222 if (async->scan_progress == 0) { in waveform_ai_timer() 236 async->events |= COMEDI_CB_EOA; in waveform_ai_timer() 452 struct comedi_async *async = s->async; in waveform_ao_timer() local 453 struct comedi_cmd *cmd = &async->cmd; in waveform_ao_timer() 505 async->events |= COMEDI_CB_EOA; in waveform_ao_timer() 507 async->events |= COMEDI_CB_OVERFLOW; in waveform_ao_timer() 529 struct comedi_async *async = s->async; in waveform_ao_inttrig_start() local 535 async->inttrig = NULL; in waveform_ao_inttrig_start() [all …]
|
| A D | usbdux.c | 243 struct comedi_async *async = s->async; in usbduxsub_ai_handle_urb() local 268 async->events |= COMEDI_CB_EOA; in usbduxsub_ai_handle_urb() 291 struct comedi_async *async = s->async; in usbduxsub_ai_isoc_irq() local 320 async->events |= COMEDI_CB_ERROR; in usbduxsub_ai_isoc_irq() 371 struct comedi_async *async = s->async; in usbduxsub_ao_handle_urb() local 383 async->events |= COMEDI_CB_EOA; in usbduxsub_ao_handle_urb() 438 struct comedi_async *async = s->async; in usbduxsub_ao_isoc_irq() local 649 s->async->inttrig = NULL; in usbdux_ai_inttrig() 720 s->async->inttrig = NULL; in usbdux_ai_cmd() 856 s->async->inttrig = NULL; in usbdux_ao_inttrig() [all …]
|
| A D | dt2814.c | 204 struct comedi_cmd *cmd = &s->async->cmd; in dt2814_ai_cmd() 244 struct comedi_async *async; in dt2814_interrupt() local 254 async = s->async; in dt2814_interrupt() 278 async->events |= COMEDI_CB_ERROR; in dt2814_interrupt() 281 if (async->cmd.stop_src == TRIG_COUNT && in dt2814_interrupt() 282 async->scans_done >= async->cmd.stop_arg) { in dt2814_interrupt() 283 async->events |= COMEDI_CB_EOA; in dt2814_interrupt() 286 if (async->events & COMEDI_CB_CANCEL_MASK) { in dt2814_interrupt()
|
| A D | amplc_pci230.c | 1021 cmd = &s->async->cmd; in pci230_ao_stop() 1063 struct comedi_async *async = s->async; in pci230_handle_ao_nofifo() local 1094 struct comedi_async *async = s->async; in pci230_handle_ao_fifo() local 1170 async->events |= events; in pci230_handle_ao_fifo() 1211 struct comedi_async *async = s->async; in pci230_ao_start() local 1293 s->async->inttrig = NULL; in pci230_ao_inttrig_start() 1823 cmd = &s->async->cmd; in pci230_ai_stop() 1863 struct comedi_async *async = s->async; in pci230_ai_start() local 2004 s->async->inttrig = NULL; in pci230_ai_inttrig_start() 2014 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 | 403 s->async->events |= COMEDI_CB_ERROR; in pci1710_handle_every_sample() 409 s->async->events |= COMEDI_CB_ERROR; in pci1710_handle_every_sample() 418 s->async->events |= COMEDI_CB_ERROR; in pci1710_handle_every_sample() 426 s->async->events |= COMEDI_CB_EOA; in pci1710_handle_every_sample() 438 struct comedi_async *async = s->async; in pci1710_handle_fifo() local 439 struct comedi_cmd *cmd = &async->cmd; in pci1710_handle_fifo() 446 async->events |= COMEDI_CB_ERROR; in pci1710_handle_fifo() 452 async->events |= COMEDI_CB_ERROR; in pci1710_handle_fifo() 462 s->async->events |= COMEDI_CB_ERROR; in pci1710_handle_fifo() 471 async->events |= COMEDI_CB_EOA; in pci1710_handle_fifo() [all …]
|
| A D | cb_pcidas.c | 789 struct comedi_async *async = s->async; in cb_pcidas_ai_cmd() local 1001 struct comedi_async *async = s->async; in cb_pcidas_ao_inttrig() local 1024 async->inttrig = NULL; in cb_pcidas_ao_inttrig() 1033 struct comedi_async *async = s->async; in cb_pcidas_ao_cmd() local 1109 struct comedi_async *async = s->async; in cb_pcidas_ao_interrupt() local 1119 async->events |= COMEDI_CB_EOA; in cb_pcidas_ao_interrupt() 1122 async->events |= COMEDI_CB_ERROR; in cb_pcidas_ao_interrupt() 1142 struct comedi_async *async = s->async; in cb_pcidas_ai_interrupt() local 1159 async->events |= COMEDI_CB_EOA; in cb_pcidas_ai_interrupt() 1178 async->events |= COMEDI_CB_EOA; in cb_pcidas_ai_interrupt() [all …]
|
| 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 | 409 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() 622 struct comedi_cmd *cmd = &s->async->cmd; in pci9118_ai_get_onesample() 631 s->async->events |= COMEDI_CB_EOA; in pci9118_ai_get_onesample() 662 s->async->events |= COMEDI_CB_EOA; in pci9118_ai_get_dma() 698 s->async->events |= COMEDI_CB_ERROR; in pci9118_interrupt() 704 s->async->events |= COMEDI_CB_ERROR; in pci9118_interrupt() 723 s->async->events |= COMEDI_CB_ERROR; in pci9118_interrupt() [all …]
|
| A D | ni_labpc_isadma.c | 28 struct comedi_cmd *cmd = &s->async->cmd; in labpc_suggest_transfer_size() 55 struct comedi_cmd *cmd = &s->async->cmd; in labpc_setup_dma() 76 struct comedi_async *async = s->async; in labpc_drain_dma() local 77 struct comedi_cmd *cmd = &async->cmd; in labpc_drain_dma()
|
| A D | das800.c | 368 struct comedi_async *async = s->async; in das800_ai_do_cmd() local 369 struct comedi_cmd *cmd = &async->cmd; in das800_ai_do_cmd() 424 struct comedi_async *async; in das800_interrupt() local 439 async = s->async; in das800_interrupt() 440 cmd = &async->cmd; in das800_interrupt() 476 async->scans_done >= cmd->stop_arg) { in das800_interrupt() 477 async->events |= COMEDI_CB_EOA; in das800_interrupt() 484 async->events |= COMEDI_CB_ERROR; in das800_interrupt() 489 if (!(async->events & COMEDI_CB_CANCEL_MASK)) { in das800_interrupt()
|
| /drivers/net/ethernet/sfc/siena/ |
| A D | mcdi.c | 478 if (async) { in efx_mcdi_release() 488 if (async) in efx_mcdi_release() 552 efx_siena_mcdi_display_error(efx, async->cmd, async->inlen, in efx_mcdi_complete_async() 557 async->complete(efx, async->cookie, rc, outbuf, in efx_mcdi_complete_async() 559 kfree(async); in efx_mcdi_complete_async() 992 async = kmalloc(sizeof(*async) + ALIGN(max(inlen, outlen), 4), in _efx_mcdi_rpc_async() 994 if (!async) in _efx_mcdi_rpc_async() 997 async->cmd = cmd; in _efx_mcdi_rpc_async() 1020 kfree(async); in _efx_mcdi_rpc_async() 1166 async->complete(efx, async->cookie, -ENETDOWN, NULL, 0); in efx_siena_mcdi_flush_async() [all …]
|
| /drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
| A D | ktls_tx.c | 170 struct mlx5e_async_ctx *async = in create_tis_callback() local 175 async->err = status; in create_tis_callback() 185 struct mlx5e_async_ctx *async = in destroy_tis_callback() local 206 if (!async) { in mlx5e_tls_priv_tx_init() 211 async->priv_tx = priv_tx; in mlx5e_tls_priv_tx_init() 213 async->out_create, sizeof(async->out_create), in mlx5e_tls_priv_tx_init() 233 async->priv_tx = priv_tx; in mlx5e_tls_priv_tx_cleanup() 235 async->async_ctx, in mlx5e_tls_priv_tx_cleanup() 236 async->out_destroy, sizeof(async->out_destroy), in mlx5e_tls_priv_tx_cleanup() 303 if (!err && async->err) in create_work() [all …]
|
| /drivers/net/ethernet/sfc/ |
| A D | mcdi.c | 474 if (async) { in efx_mcdi_release() 484 if (async) in efx_mcdi_release() 548 efx_mcdi_display_error(efx, async->cmd, async->inlen, errbuf, in efx_mcdi_complete_async() 553 async->complete(efx, async->cookie, rc, outbuf, in efx_mcdi_complete_async() 555 kfree(async); in efx_mcdi_complete_async() 988 async = kmalloc(sizeof(*async) + ALIGN(max(inlen, outlen), 4), in _efx_mcdi_rpc_async() 990 if (!async) in _efx_mcdi_rpc_async() 993 async->cmd = cmd; in _efx_mcdi_rpc_async() 1016 kfree(async); in _efx_mcdi_rpc_async() 1143 async->complete(efx, async->cookie, -ENETDOWN, NULL, 0); in efx_mcdi_flush_async() [all …]
|
| /drivers/base/power/ |
| A D | main.c | 286 dpm_wait(link->supplier, async); in dpm_wait_for_suppliers() 313 dpm_wait(parent, async); in dpm_wait_for_superior() 316 dpm_wait_for_suppliers(dev, async); in dpm_wait_for_superior() 343 dpm_wait(link->consumer, async); in dpm_wait_for_consumers() 350 dpm_wait_for_children(dev, async); in dpm_wait_for_subordinate() 351 dpm_wait_for_consumers(dev, async); in dpm_wait_for_subordinate() 730 if (!dpm_wait_for_superior(dev, async)) in device_resume_noirq() 887 if (!dpm_wait_for_superior(dev, async)) in device_resume_early() 1413 dpm_wait_for_subordinate(dev, async); in device_suspend_noirq() 1614 dpm_wait_for_subordinate(dev, async); in device_suspend_late() [all …]
|