/Linux-v5.15/drivers/comedi/ |
D | comedi_buf.c | 56 struct comedi_async *async = s->async; in __comedi_buf_free() local 60 if (async->prealloc_buf) { in __comedi_buf_free() 62 vunmap(async->prealloc_buf); in __comedi_buf_free() 63 async->prealloc_buf = NULL; in __comedi_buf_free() 64 async->prealloc_bufsz = 0; in __comedi_buf_free() 68 bm = async->buf_map; in __comedi_buf_free() 69 async->buf_map = NULL; in __comedi_buf_free() 144 struct comedi_async *async = s->async; in __comedi_buf_alloc() local 162 async->buf_map = bm; in __comedi_buf_alloc() 171 async->prealloc_buf = buf->virt_addr; in __comedi_buf_alloc() [all …]
|
D | comedi_fops.c | 341 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 …]
|
D | drivers.c | 170 if (s->async) { in comedi_device_detach_cleanup() 172 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-v5.15/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-v5.15/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_kms.h | 37 * 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
|
D | msm_atomic.c | 213 bool async = kms->funcs->vsync_time && in msm_atomic_commit_tail() local 216 trace_msm_atomic_commit_tail_start(async, crtc_mask); in msm_atomic_commit_tail() 221 * Ensure any previous (potentially async) commit has in msm_atomic_commit_tail() 242 if (async) { in msm_atomic_commit_tail() 246 /* async updates are limited to single-crtc updates: */ in msm_atomic_commit_tail() 275 trace_msm_atomic_commit_tail_finish(async, crtc_mask); in msm_atomic_commit_tail() 281 * If there is any async flush pending on updated crtcs, fold in msm_atomic_commit_tail() 311 trace_msm_atomic_commit_tail_finish(async, crtc_mask); in msm_atomic_commit_tail()
|
/Linux-v5.15/include/media/ |
D | v4l2-async.h | 73 /* v4l2-async core private: not to be used by drivers */ 141 * __v4l2_async_notifier_add_subdev - Add an async subdev to the 164 * v4l2_async_notifier_add_fwnode_subdev - Allocate and add a fwnode async 170 * @type: Type of the driver's async sub-device struct. The &struct 171 * v4l2_async_subdev shall be the first member of the driver's async 188 * remote async subdev to the 194 * @type: Type of the driver's async sub-device struct. The &struct 195 * v4l2_async_subdev shall be the first member of the driver's async 199 * matching and adds the async sub-device to the notifier's @asd_list. The 216 * v4l2_async_notifier_add_i2c_subdev - Allocate and add an i2c async [all …]
|
/Linux-v5.15/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-v5.15/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 | 201 struct comedi_async *async = s->async; in waveform_ai_timer() local 202 struct comedi_cmd *cmd = &async->cmd; in waveform_ai_timer() 211 unsigned int chanspec = cmd->chanlist[async->cur_chan]; in waveform_ai_timer() 219 if (async->scan_progress == 0) { in waveform_ai_timer() 232 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) { in waveform_ai_timer() 233 async->events |= COMEDI_CB_EOA; in waveform_ai_timer() 352 struct comedi_cmd *cmd = &s->async->cmd; in waveform_ai_cmd() 438 struct comedi_async *async = s->async; in waveform_ao_timer() local 439 struct comedi_cmd *cmd = &async->cmd; in waveform_ao_timer() 468 async->events |= COMEDI_CB_OVERFLOW; in waveform_ao_timer() [all …]
|
D | usbduxsigma.c | 72 * Size of the async input-buffer IN BYTES, the DIO state is transmitted 206 struct comedi_async *async = s->async; in usbduxsigma_ai_handle_urb() local 207 struct comedi_cmd *cmd = &async->cmd; in usbduxsigma_ai_handle_urb() 230 async->scans_done >= cmd->stop_arg) in usbduxsigma_ai_handle_urb() 231 async->events |= COMEDI_CB_EOA; in usbduxsigma_ai_handle_urb() 236 if (!(async->events & COMEDI_CB_CANCEL_MASK)) { in usbduxsigma_ai_handle_urb() 245 async->events |= COMEDI_CB_ERROR; in usbduxsigma_ai_handle_urb() 255 struct comedi_async *async = s->async; in usbduxsigma_ai_urb_complete() local 283 async->events |= COMEDI_CB_ERROR; in usbduxsigma_ai_urb_complete() 290 async->events |= COMEDI_CB_ERROR; in usbduxsigma_ai_urb_complete() [all …]
|
D | mite.c | 274 struct comedi_async *async = s->async; in mite_sync_input_dma() local 278 old_alloc_count = async->buf_write_alloc_count; in mite_sync_input_dma() 280 comedi_buf_write_alloc(s, async->prealloc_bufsz); in mite_sync_input_dma() 287 async->events |= COMEDI_CB_OVERFLOW; in mite_sync_input_dma() 291 count = nbytes - async->buf_write_count; in mite_sync_input_dma() 299 async->events |= COMEDI_CB_BLOCK; in mite_sync_input_dma() 306 struct comedi_async *async = s->async; in mite_sync_output_dma() local 307 struct comedi_cmd *cmd = &async->cmd; in mite_sync_output_dma() 309 unsigned int old_alloc_count = async->buf_read_alloc_count; in mite_sync_output_dma() 315 comedi_buf_read_alloc(s, async->prealloc_bufsz); in mite_sync_output_dma() [all …]
|
D | dt2814.c | 205 struct comedi_cmd *cmd = &s->async->cmd; in dt2814_ai_cmd() 245 struct comedi_async *async; in dt2814_interrupt() local 255 async = s->async; in dt2814_interrupt() 279 async->events |= COMEDI_CB_ERROR; in dt2814_interrupt() 282 if (async->cmd.stop_src == TRIG_COUNT && in dt2814_interrupt() 283 async->scans_done >= async->cmd.stop_arg) { in dt2814_interrupt() 284 async->events |= COMEDI_CB_EOA; in dt2814_interrupt() 287 if (async->events & COMEDI_CB_CANCEL_MASK) { in dt2814_interrupt()
|
D | usbdux.c | 244 struct comedi_async *async = s->async; in usbduxsub_ai_handle_urb() local 245 struct comedi_cmd *cmd = &async->cmd; in usbduxsub_ai_handle_urb() 268 async->scans_done >= cmd->stop_arg) in usbduxsub_ai_handle_urb() 269 async->events |= COMEDI_CB_EOA; in usbduxsub_ai_handle_urb() 273 if (!(async->events & COMEDI_CB_CANCEL_MASK)) { in usbduxsub_ai_handle_urb() 283 async->events |= COMEDI_CB_ERROR; in usbduxsub_ai_handle_urb() 292 struct comedi_async *async = s->async; in usbduxsub_ai_isoc_irq() local 321 async->events |= COMEDI_CB_ERROR; in usbduxsub_ai_isoc_irq() 329 async->events |= COMEDI_CB_ERROR; in usbduxsub_ai_isoc_irq() 337 if (async->events & COMEDI_CB_CANCEL_MASK) in usbduxsub_ai_isoc_irq() [all …]
|
D | ni_labpc_isadma.c | 29 struct comedi_cmd *cmd = &s->async->cmd; in labpc_suggest_transfer_size() 56 struct comedi_cmd *cmd = &s->async->cmd; in labpc_setup_dma() 77 struct comedi_async *async = s->async; in labpc_drain_dma() local 78 struct comedi_cmd *cmd = &async->cmd; in labpc_drain_dma()
|
/Linux-v5.15/drivers/base/power/ |
D | main.c | 31 #include <linux/async.h> 235 * @async: If unset, wait only if the device's power.async_suspend flag is set. 237 static void dpm_wait(struct device *dev, bool async) in dpm_wait() argument 242 if (async || (pm_async_enabled && dev->power.async_suspend)) in dpm_wait() 252 static void dpm_wait_for_children(struct device *dev, bool async) in dpm_wait_for_children() argument 254 device_for_each_child(dev, &async, dpm_wait_fn); in dpm_wait_for_children() 257 static void dpm_wait_for_suppliers(struct device *dev, bool async) in dpm_wait_for_suppliers() argument 273 dpm_wait(link->supplier, async); in dpm_wait_for_suppliers() 278 static bool dpm_wait_for_superior(struct device *dev, bool async) in dpm_wait_for_superior() argument 300 dpm_wait(parent, async); in dpm_wait_for_superior() [all …]
|
/Linux-v5.15/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 87 * @free_async_space: VA space available for async buffers. This is 94 * flag once the async buffer has returned to a healthy state 150 * binder_alloc_get_free_async_space() - get free space available for async 153 * Return: the bytes remaining in the address-space for async transactions
|
/Linux-v5.15/Documentation/power/powercap/ |
D | powercap.rst | 58 │ │ │ ├──async 75 │ │ │ ├──async 84 │ │ ├──async 111 │ │ │ ├──async 128 │ │ │ ├──async 137 │ │ ├──async 142 │ ├──async
|
/Linux-v5.15/drivers/usb/host/ |
D | fotg210.h | 34 * 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-v5.15/drivers/net/ethernet/sfc/ |
D | mcdi.c | 470 struct efx_mcdi_async_param *async; in efx_mcdi_release() local 475 async = list_first_entry_or_null( in efx_mcdi_release() 477 if (async) { in efx_mcdi_release() 479 efx_mcdi_send_request(efx, async->cmd, in efx_mcdi_release() 480 (const efx_dword_t *)(async + 1), in efx_mcdi_release() 481 async->inlen); in efx_mcdi_release() 487 if (async) in efx_mcdi_release() 503 struct efx_mcdi_async_param *async; in efx_mcdi_complete_async() local 539 async = list_first_entry(&mcdi->async_list, in efx_mcdi_complete_async() 541 list_del(&async->list); in efx_mcdi_complete_async() [all …]
|
/Linux-v5.15/drivers/staging/greybus/tools/ |
D | README.loopback | 25 async - Use asynchronous operations. 93 -x Async - Enable async transfers. 94 -o Timeout - Timeout in microseconds for async operations. 105 echo 0 > /sys/bus/greybus/devices/1-2.17/async 116 echo 3 > /sys/bus/greybus/devices/1-2.17/async 179 async: Disabled 193 async: Disabled
|
/Linux-v5.15/tools/testing/selftests/arm64/mte/ |
D | check_mmap_options.c | 233 "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()
|
/Linux-v5.15/arch/powerpc/platforms/powernv/ |
D | opal-async.c | 249 const __be32 *async; in opal_async_comp_init() local 259 async = of_get_property(opal_node, "opal-msg-async-num", NULL); in opal_async_comp_init() 260 if (!async) { in opal_async_comp_init() 261 pr_err("%s: %pOF has no opal-msg-async-num\n", in opal_async_comp_init() 267 opal_max_async_tokens = be32_to_cpup(async); in opal_async_comp_init()
|
/Linux-v5.15/drivers/misc/sgi-gru/ |
D | grukservices.h | 158 * async completions 167 * Release async resources previously reserved. 175 * Wait for async GRU instructions to complete. 183 * Lock previous reserved async GRU resources 194 * Unlock previous reserved async GRU resources
|