Home
last modified time | relevance | path

Searched refs:async (Results 1 – 25 of 291) sorted by relevance

12345678910>>...12

/linux-6.3-rc2/drivers/comedi/
A Dcomedi_buf.c55 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 …]
A Ddrivers.c169 if (s->async) { in comedi_device_detach_cleanup()
171 kfree(s->async); in comedi_device_detach_cleanup()
462 struct comedi_async *async = s->async; in __comedi_nscans_left() local
514 struct comedi_async *async = s->async; in comedi_nsamples_left() local
548 struct comedi_async *async = s->async; in comedi_inc_scan_progress() local
563 async->scans_done += nscans; in comedi_inc_scan_progress()
565 async->scans_done = UINT_MAX; in comedi_inc_scan_progress()
644 struct comedi_async *async; in __comedi_device_postconfig_async() local
663 async = kzalloc(sizeof(*async), GFP_KERNEL); in __comedi_device_postconfig_async()
664 if (!async) in __comedi_device_postconfig_async()
[all …]
A Dcomedi_fops.c341 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()
1763 async = s->async; in do_cmd_ioctl()
2355 async = s->async; in comedi_mmap()
2494 async = s->async; in comedi_write()
2630 async = s->async; in comedi_read()
[all …]
/linux-6.3-rc2/drivers/base/regmap/
A Dregmap-spi.c23 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-6.3-rc2/drivers/gpu/drm/msm/
A Dmsm_atomic_trace.h12 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-6.3-rc2/drivers/staging/vc04_services/interface/
A DTESTING60 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-6.3-rc2/drivers/comedi/drivers/
A Dni_tiocmd.c79 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 Dcomedi_test.c199 struct comedi_async *async = s->async; in waveform_ai_timer() local
200 struct comedi_cmd *cmd = &async->cmd; in waveform_ai_timer()
217 if (async->scan_progress == 0) { in waveform_ai_timer()
231 async->events |= COMEDI_CB_EOA; in waveform_ai_timer()
436 struct comedi_async *async = s->async; in waveform_ao_timer() local
437 struct comedi_cmd *cmd = &async->cmd; in waveform_ao_timer()
489 async->events |= COMEDI_CB_EOA; in waveform_ao_timer()
491 async->events |= COMEDI_CB_OVERFLOW; in waveform_ao_timer()
509 struct comedi_async *async = s->async; in waveform_ao_inttrig_start() local
515 async->inttrig = NULL; in waveform_ao_inttrig_start()
[all …]
A Dmite.c273 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 Dusbduxsigma.c205 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 Ddt2814.c204 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 Dusbdux.c243 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 Damplc_pci230.c1021 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 Dusbduxfast.c228 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 Dadv_pci1710.c403 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 Dni_labpc_isadma.c28 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 Dcb_pcidas.c789 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 Daddi_apci_3120.c207 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 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()
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-6.3-rc2/fs/btrfs/
A Dbio.c506 struct async_submit_bio *async = in run_one_async_start() local
510 ret = btrfs_bio_csum(async->bbio); in run_one_async_start()
525 struct async_submit_bio *async = in run_one_async_done() local
541 __btrfs_submit_bio(bio, async->bioc, &async->smap, async->mirror_num); in run_one_async_done()
586 struct async_submit_bio *async; in btrfs_wq_submit_bio() local
588 async = kmalloc(sizeof(*async), GFP_NOFS); in btrfs_wq_submit_bio()
589 if (!async) in btrfs_wq_submit_bio()
592 async->bbio = bbio; in btrfs_wq_submit_bio()
593 async->bioc = bioc; in btrfs_wq_submit_bio()
594 async->smap = *smap; in btrfs_wq_submit_bio()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
A Dktls_tx.c170 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-6.3-rc2/drivers/net/ethernet/sfc/siena/
A Dmcdi.c478 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-6.3-rc2/drivers/net/ethernet/sfc/
A Dmcdi.c475 if (async) { in efx_mcdi_release()
485 if (async) in efx_mcdi_release()
549 efx_mcdi_display_error(efx, async->cmd, async->inlen, errbuf, in efx_mcdi_complete_async()
554 async->complete(efx, async->cookie, rc, outbuf, in efx_mcdi_complete_async()
556 kfree(async); in efx_mcdi_complete_async()
989 async = kmalloc(sizeof(*async) + ALIGN(max(inlen, outlen), 4), in _efx_mcdi_rpc_async()
991 if (!async) in _efx_mcdi_rpc_async()
994 async->cmd = cmd; in _efx_mcdi_rpc_async()
1017 kfree(async); in _efx_mcdi_rpc_async()
1161 async->complete(efx, async->cookie, -ENETDOWN, NULL, 0); in efx_mcdi_flush_async()
[all …]
/linux-6.3-rc2/drivers/base/power/
A Dmain.c272 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-6.3-rc2/Documentation/driver-api/
A Dmailbox.rst44 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 */

Completed in 87 milliseconds

12345678910>>...12