/linux-6.12.1/drivers/comedi/ |
D | comedi_buf.c | 55 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 …]
|
D | comedi_fops.c | 328 struct comedi_async *async = s->async; in resize_async_buffer() local 333 if (new_size > async->max_bufsize) in resize_async_buffer() 361 s->index, async->prealloc_bufsz); in resize_async_buffer() 381 if (s && (s->subdev_flags & SDF_CMD_READ) && s->async) in max_read_buffer_kb_show() 382 size = s->async->max_bufsize / 1024; in max_read_buffer_kb_show() 412 if (s && (s->subdev_flags & SDF_CMD_READ) && s->async) in max_read_buffer_kb_store() 413 s->async->max_bufsize = size; in max_read_buffer_kb_store() 437 if (s && (s->subdev_flags & SDF_CMD_READ) && s->async) in read_buffer_kb_show() 438 size = s->async->prealloc_bufsz / 1024; in read_buffer_kb_show() 468 if (s && (s->subdev_flags & SDF_CMD_READ) && s->async) in read_buffer_kb_store() [all …]
|
D | drivers.c | 169 if (s->async) { in comedi_device_detach_cleanup() 171 kfree(s->async); in comedi_device_detach_cleanup() 454 struct comedi_cmd *cmd = &s->async->cmd; in comedi_bytes_per_scan() 463 struct comedi_async *async = s->async; in __comedi_nscans_left() local 464 struct comedi_cmd *cmd = &async->cmd; in __comedi_nscans_left() 469 if (async->scans_done < cmd->stop_arg) in __comedi_nscans_left() 470 scans_left = cmd->stop_arg - async->scans_done; in __comedi_nscans_left() 484 * async buffer. 486 * If the async command has a stop_src of %TRIG_COUNT, the @nscans will be 515 struct comedi_async *async = s->async; in comedi_nsamples_left() local [all …]
|
/linux-6.12.1/drivers/gpu/drm/msm/ |
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; 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 …]
|
D | msm_atomic.c | 209 bool async = can_do_async(state, &async_crtc); in msm_atomic_commit_tail() local 211 trace_msm_atomic_commit_tail_start(async, crtc_mask); in msm_atomic_commit_tail() 216 * Ensure any previous (potentially async) commit has in msm_atomic_commit_tail() 238 if (async) { in msm_atomic_commit_tail() 242 /* async updates are limited to single-crtc updates: */ in msm_atomic_commit_tail() 273 trace_msm_atomic_commit_tail_finish(async, crtc_mask); in msm_atomic_commit_tail() 280 * If there is any async flush pending on updated crtcs, fold in msm_atomic_commit_tail() 310 trace_msm_atomic_commit_tail_finish(async, crtc_mask); in msm_atomic_commit_tail()
|
/linux-6.12.1/drivers/base/regmap/ |
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() 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-6.12.1/drivers/staging/vc04_services/interface/ |
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 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-6.12.1/include/media/ |
D | v4l2-async.h | 37 * struct v4l2_async_match_desc - async connection match information 69 * @notifier: the async notifier the connection is related to 181 * v4l2_async_nf_add_fwnode - Allocate and add a fwnode async 187 * @type: Type of the driver's async sub-device or connection struct. The 189 * driver's async struct, i.e. both begin at the same memory address. 204 * remote async subdev to the 210 * @type: Type of the driver's async connection struct. The &struct 211 * v4l2_async_connection shall be the first member of the driver's async 215 * matching and adds the async connection to the notifier's @asc_list. The 230 * v4l2_async_nf_add_i2c - Allocate and add an i2c async [all …]
|
/linux-6.12.1/drivers/media/v4l2-core/ |
D | v4l2-async.c | 22 #include <media/v4l2-async.h> 101 "v4l2-async: fwnode match: need %pfw, trying %pfw\n", in match_fwnode_one() 106 "v4l2-async: direct match found\n"); in match_fwnode_one() 112 "v4l2-async: direct match not found\n"); in match_fwnode_one() 123 "v4l2-async: device--endpoint match %sfound\n", in match_fwnode_one() 134 "v4l2-async: matching for notifier %pfw, sd fwnode %pfw\n", in match_fwnode() 141 "v4l2-async: endpoint fwnode list available, looking for %pfw\n", in match_fwnode() 149 "v4l2-async: endpoint-endpoint match %sfound with %pfw\n", in match_fwnode() 156 dev_dbg(sd->dev, "async: no endpoint matched\n"); in match_fwnode() 169 "v4l2-async: trying secondary fwnode match\n"); in match_fwnode() [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/display/mediatek/ |
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-6.12.1/drivers/base/power/ |
D | main.c | 31 #include <linux/async.h> 233 * @async: If unset, wait only if the device's power.async_suspend flag is set. 235 static void dpm_wait(struct device *dev, bool async) in dpm_wait() argument 240 if (async || (pm_async_enabled && dev->power.async_suspend)) in dpm_wait() 250 static void dpm_wait_for_children(struct device *dev, bool async) in dpm_wait_for_children() argument 252 device_for_each_child(dev, &async, dpm_wait_fn); in dpm_wait_for_children() 255 static void dpm_wait_for_suppliers(struct device *dev, bool async) in dpm_wait_for_suppliers() argument 271 dpm_wait(link->supplier, async); in dpm_wait_for_suppliers() 276 static bool dpm_wait_for_superior(struct device *dev, bool async) in dpm_wait_for_superior() argument 298 dpm_wait(parent, async); in dpm_wait_for_superior() [all …]
|
/linux-6.12.1/Documentation/driver-api/ |
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; 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-6.12.1/drivers/comedi/drivers/ |
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() 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 …]
|
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() 213 unsigned int chanspec = cmd->chanlist[async->cur_chan]; in waveform_ai_timer() 221 if (async->scan_progress == 0) { in waveform_ai_timer() 234 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) { in waveform_ai_timer() 235 async->events |= COMEDI_CB_EOA; in waveform_ai_timer() 358 struct comedi_cmd *cmd = &s->async->cmd; in waveform_ai_cmd() 450 struct comedi_async *async = s->async; in waveform_ao_timer() local 451 struct comedi_cmd *cmd = &async->cmd; in waveform_ao_timer() 480 async->events |= COMEDI_CB_OVERFLOW; in waveform_ao_timer() [all …]
|
D | usbduxsigma.c | 71 * 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 …]
|
D | mite.c | 273 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 …]
|
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()
|
D | usbdux.c | 243 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-6.12.1/fs/btrfs/ |
D | bio.c | 12 #include "async-thread.h" 520 * Async submit bios are used to offload expensive checksumming onto the worker 541 struct async_submit_bio *async = in run_one_async_start() local 545 ret = btrfs_bio_csum(async->bbio); in run_one_async_start() 547 async->bbio->bio.bi_status = ret; in run_one_async_start() 562 struct async_submit_bio *async = in run_one_async_done() local 564 struct bio *bio = &async->bbio->bio; in run_one_async_done() 573 btrfs_bio_end_io(async->bbio, async->bbio->bio.bi_status); in run_one_async_done() 578 * All of the bios that pass through here are from async helpers. in run_one_async_done() 583 btrfs_submit_bio(bio, async->bioc, &async->smap, async->mirror_num); in run_one_async_done() [all …]
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
D | ktls_tx.c | 170 struct mlx5e_async_ctx *async = in create_tis_callback() local 172 struct mlx5e_ktls_offload_context_tx *priv_tx = async->priv_tx; in create_tis_callback() 175 async->err = status; in create_tis_callback() 180 priv_tx->tisn = MLX5_GET(create_tis_out, async->out_create, tisn); in create_tis_callback() 185 struct mlx5e_async_ctx *async = in destroy_tis_callback() local 187 struct mlx5e_ktls_offload_context_tx *priv_tx = async->priv_tx; in destroy_tis_callback() 194 struct mlx5e_async_ctx *async) in mlx5e_tls_priv_tx_init() argument 206 if (!async) { in mlx5e_tls_priv_tx_init() 211 async->priv_tx = priv_tx; in mlx5e_tls_priv_tx_init() 212 err = mlx5e_ktls_create_tis_cb(mdev, async->async_ctx, in mlx5e_tls_priv_tx_init() [all …]
|
/linux-6.12.1/drivers/android/ |
D | binder_alloc.h | 28 * @async_transaction: %true if buffer is in use for an async txn 29 * @oneway_spam_suspect: %true if total async allocate size just exceed 84 * @free_async_space: VA space available for async buffers. This is 91 * flag once the async buffer has returned to a healthy state 146 * binder_alloc_get_free_async_space() - get free space available for async 149 * Return: the bytes remaining in the address-space for async transactions
|
/linux-6.12.1/Documentation/devicetree/bindings/gpio/ |
D | sprd,gpio-eic.yaml | 19 controller contains 4 sub-modules, i.e. EIC-debounce, EIC-latch, EIC-async and 36 The EIC-async sub-module uses a 32kHz clock to capture the short signals 49 - sprd,sc9860-eic-async 62 - sprd,ums512-eic-async 63 - const: sprd,sc9860-eic-async
|
/linux-6.12.1/arch/arm64/kernel/ |
D | mte.c | 94 * async mode previously. in mte_enable_kernel_sync() 97 "MTE async mode enabled system wide!"); in mte_enable_kernel_sync() 107 * MTE async mode is set system wide by the first PE that in mte_enable_kernel_async() 111 * mode in between sync and async, this strategy needs in mte_enable_kernel_async() 124 * MTE asymm mode behaves as async mode for store in mte_enable_kernel_asymm() 129 * mode in between sync and async, this strategy needs in mte_enable_kernel_asymm() 195 sctlr |= SYS_FIELD_PREP_ENUM(SCTLR_EL1, TCF0, ASYNC); in mte_update_sctlr_user() 256 * Check if an async tag exception occurred at EL1. in mte_thread_switch() 347 * If the system supports it and both sync and async modes are in set_mte_ctrl() 349 * Userspace could see a mix of both sync and async anyway due in set_mte_ctrl() [all …]
|
/linux-6.12.1/Documentation/power/powercap/ |
D | powercap.rst | 58 │ │ │ ├──async 75 │ │ │ ├──async 84 │ │ ├──async 111 │ │ │ ├──async 128 │ │ │ ├──async 137 │ │ ├──async 142 │ ├──async
|
/linux-6.12.1/drivers/net/ethernet/sfc/siena/ |
D | mcdi.c | 471 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 …]
|