/linux/drivers/comedi/ |
H A D | comedi_buf.c | 55 struct comedi_async *async = s->async; in __comedi_buf_free() local 143 struct comedi_async *async = s->async; in __comedi_buf_alloc() local 230 struct comedi_async *async = s->async; in comedi_buf_map_from_subdev_get() local 259 struct comedi_async *async = s->async; in comedi_buf_alloc() local 292 struct comedi_async *async = s->async; in comedi_buf_reset() local 314 struct comedi_async *async = s->async; in comedi_buf_write_n_unalloc() local 322 struct comedi_async *async = s->async; in comedi_buf_write_n_available() local 342 struct comedi_async *async = s->async; in comedi_buf_write_alloc() local 367 struct comedi_async *async = s->async; in comedi_buf_munge() local 409 struct comedi_async *async = s->async; in comedi_buf_write_n_allocated() local [all …]
|
H A D | drivers.c | 169 if (s->async) { in comedi_device_detach_cleanup() 171 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 …]
|
H 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() 887 async = s->async; in do_bufconfig_ioctl() 889 if (!async) { in do_bufconfig_ioctl() 1127 async = s->async; in do_bufinfo_ioctl() 1767 async = s->async; in do_cmd_ioctl() 2359 async = s->async; in comedi_mmap() 2498 async = s->async; in comedi_write() 2634 async = s->async; in comedi_read() [all …]
|
/linux/drivers/base/regmap/ |
H 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 …]
|
/linux/drivers/gpu/drm/msm/ |
H 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/staging/vc04_services/interface/ |
H 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 …]
|
/linux/drivers/comedi/drivers/ |
H 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 …]
|
H 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 …]
|
H 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 …]
|
H A D | comedi_test.c | 203 struct comedi_async *async = s->async; in waveform_ai_timer() local 204 struct comedi_cmd *cmd = &async->cmd; in waveform_ai_timer() 221 if (async->scan_progress == 0) { in waveform_ai_timer() 235 async->events |= COMEDI_CB_EOA; in waveform_ai_timer() 450 struct comedi_async *async = s->async; in waveform_ao_timer() local 451 struct comedi_cmd *cmd = &async->cmd; in waveform_ao_timer() 503 async->events |= COMEDI_CB_EOA; in waveform_ao_timer() 505 async->events |= COMEDI_CB_OVERFLOW; in waveform_ao_timer() 527 struct comedi_async *async = s->async; in waveform_ao_inttrig_start() local 533 async->inttrig = NULL; in waveform_ao_inttrig_start() [all …]
|
H 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()
|
H 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 …]
|
H 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 …]
|
H 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 …]
|
H 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 …]
|
H 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()
|
H 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 …]
|
H 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 …]
|
H 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 …]
|
/linux/Documentation/devicetree/bindings/display/mediatek/ |
H A D | mediatek,ethdr.yaml | 61 - description: video frontend 0 async clock 62 - description: video frontend 1 async clock 63 - description: graphic frontend 0 async clock 64 - description: graphic frontend 1 async clock 65 - description: video backend async clock 89 - description: video frontend 0 async reset 90 - description: video frontend 1 async reset 91 - description: graphic frontend 0 async reset 92 - description: graphic frontend 1 async reset 93 - description: video backend async reset
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H 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 …]
|
/linux/drivers/net/ethernet/sfc/siena/ |
H 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 …]
|
/linux/drivers/base/power/ |
H A D | main.c | 271 dpm_wait(link->supplier, async); in dpm_wait_for_suppliers() 298 dpm_wait(parent, async); in dpm_wait_for_superior() 301 dpm_wait_for_suppliers(dev, async); in dpm_wait_for_superior() 328 dpm_wait(link->consumer, async); in dpm_wait_for_consumers() 335 dpm_wait_for_children(dev, async); in dpm_wait_for_subordinate() 336 dpm_wait_for_consumers(dev, async); in dpm_wait_for_subordinate() 634 if (!dpm_wait_for_superior(dev, async)) in device_resume_noirq() 784 if (!dpm_wait_for_superior(dev, async)) in device_resume_early() 1212 dpm_wait_for_subordinate(dev, async); in device_suspend_noirq() 1387 dpm_wait_for_subordinate(dev, async); in device_suspend_late() [all …]
|
/linux/drivers/net/ethernet/sfc/ |
H 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() 1160 async->complete(efx, async->cookie, -ENETDOWN, NULL, 0); in efx_mcdi_flush_async() [all …]
|
/linux/fs/btrfs/ |
H A D | bio.c | 564 struct async_submit_bio *async = in run_one_async_start() local 568 ret = btrfs_bio_csum(async->bbio); in run_one_async_start() 585 struct async_submit_bio *async = in run_one_async_done() local 606 __btrfs_submit_bio(bio, async->bioc, &async->smap, async->mirror_num); in run_one_async_done() 651 struct async_submit_bio *async; in btrfs_wq_submit_bio() local 653 async = kmalloc(sizeof(*async), GFP_NOFS); in btrfs_wq_submit_bio() 654 if (!async) in btrfs_wq_submit_bio() 657 async->bbio = bbio; in btrfs_wq_submit_bio() 658 async->bioc = bioc; in btrfs_wq_submit_bio() 659 async->smap = *smap; in btrfs_wq_submit_bio() [all …]
|