Home
last modified time | relevance | path

Searched full:async (Results 1 – 25 of 1250) sorted by relevance

12345678910>>...50

/Linux-v6.1/drivers/comedi/
Dcomedi_buf.c55 struct comedi_async *async = s->async; in __comedi_buf_free() local
59 if (async->prealloc_buf) { in __comedi_buf_free()
61 vunmap(async->prealloc_buf); in __comedi_buf_free()
62 async->prealloc_buf = NULL; in __comedi_buf_free()
63 async->prealloc_bufsz = 0; in __comedi_buf_free()
67 bm = async->buf_map; in __comedi_buf_free()
68 async->buf_map = NULL; in __comedi_buf_free()
143 struct comedi_async *async = s->async; in __comedi_buf_alloc() local
161 async->buf_map = bm; in __comedi_buf_alloc()
170 async->prealloc_buf = buf->virt_addr; in __comedi_buf_alloc()
[all …]
Dcomedi_fops.c341 struct comedi_async *async = s->async; in resize_async_buffer() local
346 if (new_size > async->max_bufsize) in resize_async_buffer()
374 s->index, async->prealloc_bufsz); in resize_async_buffer()
394 if (s && (s->subdev_flags & SDF_CMD_READ) && s->async) in max_read_buffer_kb_show()
395 size = s->async->max_bufsize / 1024; in max_read_buffer_kb_show()
425 if (s && (s->subdev_flags & SDF_CMD_READ) && s->async) in max_read_buffer_kb_store()
426 s->async->max_bufsize = size; in max_read_buffer_kb_store()
450 if (s && (s->subdev_flags & SDF_CMD_READ) && s->async) in read_buffer_kb_show()
451 size = s->async->prealloc_bufsz / 1024; in read_buffer_kb_show()
481 if (s && (s->subdev_flags & SDF_CMD_READ) && s->async) in read_buffer_kb_store()
[all …]
Ddrivers.c169 if (s->async) { in comedi_device_detach_cleanup()
171 kfree(s->async); in comedi_device_detach_cleanup()
453 struct comedi_cmd *cmd = &s->async->cmd; in comedi_bytes_per_scan()
462 struct comedi_async *async = s->async; in __comedi_nscans_left() local
463 struct comedi_cmd *cmd = &async->cmd; in __comedi_nscans_left()
468 if (async->scans_done < cmd->stop_arg) in __comedi_nscans_left()
469 scans_left = cmd->stop_arg - async->scans_done; in __comedi_nscans_left()
483 * async buffer.
485 * If the async command has a stop_src of %TRIG_COUNT, the @nscans will be
514 struct comedi_async *async = s->async; in comedi_nsamples_left() local
[all …]
/Linux-v6.1/drivers/gpu/drm/msm/
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;
22 TP_printk("async=%d crtc_mask=%x",
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;
[all …]
Dmsm_kms.h37 * Note that in the case of async commits, the funcs which take
63 * If the kms backend supports async commit, it should implement
65 * used to determine a time slightly before vsync, for the async
66 * commit timer to run and complete an async commit.
72 * (async or otherwise) commit has completed.
88 * "async" commit has completed.
135 * A per-crtc timer for pending async atomic flushes. Scheduled to expire
136 * shortly before vblank to flush pending async updates.
162 * For async commit, where ->flush_commit() and later happens
Dmsm_atomic.c189 bool async = kms->funcs->vsync_time && in msm_atomic_commit_tail() local
192 trace_msm_atomic_commit_tail_start(async, crtc_mask); in msm_atomic_commit_tail()
197 * Ensure any previous (potentially async) commit has in msm_atomic_commit_tail()
218 if (async) { in msm_atomic_commit_tail()
222 /* async updates are limited to single-crtc updates: */ in msm_atomic_commit_tail()
251 trace_msm_atomic_commit_tail_finish(async, crtc_mask); in msm_atomic_commit_tail()
257 * If there is any async flush pending on updated crtcs, fold in msm_atomic_commit_tail()
287 trace_msm_atomic_commit_tail_finish(async, crtc_mask); in msm_atomic_commit_tail()
/Linux-v6.1/drivers/staging/vc04_services/interface/
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
65 vchi bulk (size 0, 0 async, 0 oneway) -> 296.000000us
67 vchi ping (size 0, 1 async, 0 oneway) -> 65.000000us
69 vchi ping (size 0, 2 async, 0 oneway) -> 74.000000us
71 vchi ping (size 0, 10 async, 0 oneway) -> 125.000000us
73 vchi ping (size 0, 0 async, 1 oneway) -> 70.000000us
74 vchi ping (size 0, 0 async, 2 oneway) -> 76.000000us
75 vchi ping (size 0, 0 async, 10 oneway) -> 105.000000us
[all …]
/Linux-v6.1/drivers/base/regmap/
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()
58 struct regmap_async_spi *async = container_of(a, in regmap_spi_async_write() local
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()
[all …]
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dktls_tx.c149 struct mlx5e_async_ctx *async = &bulk_async[i]; in mlx5e_bulk_async_init() local
151 mlx5_cmd_init_async_ctx(mdev, &async->async_ctx); in mlx5e_bulk_async_init()
152 init_completion(&async->complete); in mlx5e_bulk_async_init()
163 struct mlx5e_async_ctx *async = &bulk_async[i]; in mlx5e_bulk_async_cleanup() local
165 mlx5_cmd_cleanup_async_ctx(&async->async_ctx); in mlx5e_bulk_async_cleanup()
172 struct mlx5e_async_ctx *async = in create_tis_callback() local
174 struct mlx5e_ktls_offload_context_tx *priv_tx = async->priv_tx; in create_tis_callback()
177 async->err = status; in create_tis_callback()
182 priv_tx->tisn = MLX5_GET(create_tis_out, async->out_create, tisn); in create_tis_callback()
184 complete(&async->complete); in create_tis_callback()
[all …]
/Linux-v6.1/include/media/
Dv4l2-async.h73 /* v4l2-async core private: not to be used by drivers */
143 * __v4l2_async_nf_add_subdev - Add an async subdev to the
166 * v4l2_async_nf_add_fwnode - Allocate and add a fwnode async
172 * @type: Type of the driver's async sub-device struct. The &struct
173 * v4l2_async_subdev shall be the first member of the driver's async
189 * remote async subdev to the
195 * @type: Type of the driver's async sub-device struct. The &struct
196 * v4l2_async_subdev shall be the first member of the driver's async
200 * matching and adds the async sub-device to the notifier's @asd_list. The
215 * v4l2_async_nf_add_i2c - Allocate and add an i2c async
[all …]
/Linux-v6.1/Documentation/driver-api/
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;
112 /* ASync mailbox is listed second in 'mboxes' property */
116 /* Send async message to remote */
127 /* Now wait for async chan to be done */
/Linux-v6.1/drivers/comedi/drivers/
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()
112 comedi_buf_write_alloc(s, async->prealloc_bufsz); 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()
[all …]
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()
209 unsigned int chanspec = cmd->chanlist[async->cur_chan]; in waveform_ai_timer()
217 if (async->scan_progress == 0) { in waveform_ai_timer()
230 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) { in waveform_ai_timer()
231 async->events |= COMEDI_CB_EOA; in waveform_ai_timer()
350 struct comedi_cmd *cmd = &s->async->cmd; in waveform_ai_cmd()
436 struct comedi_async *async = s->async; in waveform_ao_timer() local
437 struct comedi_cmd *cmd = &async->cmd; in waveform_ao_timer()
466 async->events |= COMEDI_CB_OVERFLOW; in waveform_ao_timer()
[all …]
Dusbduxsigma.c71 * Size of the async input-buffer IN BYTES, the DIO state is transmitted
205 struct comedi_async *async = s->async; in usbduxsigma_ai_handle_urb() local
206 struct comedi_cmd *cmd = &async->cmd; in usbduxsigma_ai_handle_urb()
229 async->scans_done >= cmd->stop_arg) in usbduxsigma_ai_handle_urb()
230 async->events |= COMEDI_CB_EOA; in usbduxsigma_ai_handle_urb()
235 if (!(async->events & COMEDI_CB_CANCEL_MASK)) { in usbduxsigma_ai_handle_urb()
244 async->events |= COMEDI_CB_ERROR; 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()
289 async->events |= COMEDI_CB_ERROR; in usbduxsigma_ai_urb_complete()
[all …]
Dmite.c273 struct comedi_async *async = s->async; in mite_sync_input_dma() local
277 old_alloc_count = async->buf_write_alloc_count; in mite_sync_input_dma()
279 comedi_buf_write_alloc(s, async->prealloc_bufsz); in mite_sync_input_dma()
286 async->events |= COMEDI_CB_OVERFLOW; in mite_sync_input_dma()
290 count = nbytes - async->buf_write_count; 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()
308 unsigned int old_alloc_count = async->buf_read_alloc_count; in mite_sync_output_dma()
314 comedi_buf_read_alloc(s, async->prealloc_bufsz); in mite_sync_output_dma()
[all …]
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()
Dusbdux.c243 struct comedi_async *async = s->async; in usbduxsub_ai_handle_urb() local
244 struct comedi_cmd *cmd = &async->cmd; in usbduxsub_ai_handle_urb()
267 async->scans_done >= cmd->stop_arg) in usbduxsub_ai_handle_urb()
268 async->events |= COMEDI_CB_EOA; in usbduxsub_ai_handle_urb()
272 if (!(async->events & COMEDI_CB_CANCEL_MASK)) { in usbduxsub_ai_handle_urb()
282 async->events |= COMEDI_CB_ERROR; 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()
328 async->events |= COMEDI_CB_ERROR; in usbduxsub_ai_isoc_irq()
336 if (async->events & COMEDI_CB_CANCEL_MASK) in usbduxsub_ai_isoc_irq()
[all …]
/Linux-v6.1/drivers/base/power/
Dmain.c31 #include <linux/async.h>
234 * @async: If unset, wait only if the device's power.async_suspend flag is set.
236 static void dpm_wait(struct device *dev, bool async) in dpm_wait() argument
241 if (async || (pm_async_enabled && dev->power.async_suspend)) in dpm_wait()
251 static void dpm_wait_for_children(struct device *dev, bool async) in dpm_wait_for_children() argument
253 device_for_each_child(dev, &async, dpm_wait_fn); in dpm_wait_for_children()
256 static void dpm_wait_for_suppliers(struct device *dev, bool async) in dpm_wait_for_suppliers() argument
272 dpm_wait(link->supplier, async); in dpm_wait_for_suppliers()
277 static bool dpm_wait_for_superior(struct device *dev, bool async) in dpm_wait_for_superior() argument
299 dpm_wait(parent, async); in dpm_wait_for_superior()
[all …]
/Linux-v6.1/drivers/android/
Dbinder_alloc.h28 * @async_transaction: %true if buffer is in use for an async txn
29 * @oneway_spam_suspect: %true if total async allocate size just exceed
86 * @free_async_space: VA space available for async buffers. This is
93 * flag once the async buffer has returned to a healthy state
148 * binder_alloc_get_free_async_space() - get free space available for async
151 * Return: the bytes remaining in the address-space for async transactions
/Linux-v6.1/Documentation/power/powercap/
Dpowercap.rst58 │   │   │   ├──async
75 │   │   │   ├──async
84 │   │   ├──async
111 │   │   │   ├──async
128 │   │   │   ├──async
137 │   │   ├──async
142 │   ├──async
/Linux-v6.1/drivers/net/ethernet/sfc/siena/
Dmcdi.c471 struct efx_mcdi_async_param *async; in efx_mcdi_release() local
476 async = list_first_entry_or_null( in efx_mcdi_release()
478 if (async) { in efx_mcdi_release()
480 efx_mcdi_send_request(efx, async->cmd, in efx_mcdi_release()
481 (const efx_dword_t *)(async + 1), in efx_mcdi_release()
482 async->inlen); in efx_mcdi_release()
488 if (async) in efx_mcdi_release()
504 struct efx_mcdi_async_param *async; in efx_mcdi_complete_async() local
540 async = list_first_entry(&mcdi->async_list, in efx_mcdi_complete_async()
542 list_del(&async->list); in efx_mcdi_complete_async()
[all …]
/Linux-v6.1/drivers/usb/host/
Dfotg210.h34 * fotg210_hcd: async, unlink, periodic (and shadow), ...
62 FOTG210_HRTIMER_POLL_ASS, /* Poll for async schedule off */
67 FOTG210_HRTIMER_ASYNC_UNLINKS, /* Unlink empty async QHs */
70 FOTG210_HRTIMER_DISABLE_ASYNC, /* Wait to disable async sched */
104 /* async schedule support */
105 struct fotg210_qh *async; member
111 unsigned async_count; /* async activity count */
220 #define HCC_CANPARK(p) ((p)&(1 << 2)) /* true: can park on async qh */
234 #define CMD_PARK (1<<11) /* enable "park" on async qh */
236 #define CMD_IAAD (1<<6) /* "doorbell" interrupt async advance */
[all …]
/Linux-v6.1/arch/arm64/kernel/
Dmte.c121 * async mode previously. in mte_enable_kernel_sync()
124 "MTE async mode enabled system wide!"); in mte_enable_kernel_sync()
134 * MTE async mode is set system wide by the first PE that in mte_enable_kernel_async()
138 * mode in between sync and async, this strategy needs in mte_enable_kernel_async()
151 * MTE asymm mode behaves as async mode for store in mte_enable_kernel_asymm()
156 * mode in between sync and async, this strategy needs in mte_enable_kernel_asymm()
222 sctlr |= SYS_FIELD_PREP_ENUM(SCTLR_EL1, TCF0, ASYNC); in mte_update_sctlr_user()
283 * Check if an async tag exception occurred at EL1. in mte_thread_switch()
374 * If the system supports it and both sync and async modes are in set_mte_ctrl()
376 * Userspace could see a mix of both sync and async anyway due in set_mte_ctrl()
[all …]
/Linux-v6.1/drivers/net/ethernet/sfc/
Dmcdi.c468 struct efx_mcdi_async_param *async; in efx_mcdi_release() local
473 async = list_first_entry_or_null( in efx_mcdi_release()
475 if (async) { in efx_mcdi_release()
477 efx_mcdi_send_request(efx, async->cmd, in efx_mcdi_release()
478 (const efx_dword_t *)(async + 1), in efx_mcdi_release()
479 async->inlen); in efx_mcdi_release()
485 if (async) in efx_mcdi_release()
501 struct efx_mcdi_async_param *async; in efx_mcdi_complete_async() local
537 async = list_first_entry(&mcdi->async_list, in efx_mcdi_complete_async()
539 list_del(&async->list); in efx_mcdi_complete_async()
[all …]
/Linux-v6.1/tools/testing/selftests/arm64/mte/
Dcheck_mmap_options.c233 "Check anonymous memory with private mapping, async error mode, mmap memory and tag check on\n"); in main()
235 …"Check anonymous memory with private mapping, async error mode, mmap/mprotect memory and tag check… in main()
237 "Check anonymous memory with shared mapping, async error mode, mmap memory and tag check on\n"); in main()
239 …"Check anonymous memory with shared mapping, async error mode, mmap/mprotect memory and tag check … in main()
250 "Check file memory with private mapping, async error mode, mmap memory and tag check on\n"); in main()
252 …"Check file memory with private mapping, async error mode, mmap/mprotect memory and tag check on\n… in main()
254 "Check file memory with shared mapping, async error mode, mmap memory and tag check on\n"); in main()
256 …"Check file memory with shared mapping, async error mode, mmap/mprotect memory and tag check on\n"… in main()

12345678910>>...50