| /kernel/linux/linux-5.10/drivers/staging/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 …]
|
| /kernel/linux/linux-6.6/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() 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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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. 134 * A per-crtc timer for pending async atomic flushes. Scheduled to expire 135 * shortly before vblank to flush pending async updates. 155 * For async commit, where ->flush_commit() and later happens
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/include/media/ |
| D | v4l2-async.h | 95 /* v4l2-async core private: not to be used by drivers */ 151 * v4l2_async_notifier_add_subdev - Add an async subdev to the 165 * v4l2_async_notifier_add_fwnode_subdev - Allocate and add a fwnode async 170 * @asd_struct_size: size of the driver's async sub-device struct, including 173 * the driver's async sub-device struct, i.e. both 187 * remote async subdev to the 192 * @asd_struct_size: size of the driver's async sub-device struct, including 195 * the driver's async sub-device struct, i.e. both 199 * matching and adds the async sub-device to the notifier's @asd_list. The 212 * v4l2_async_notifier_add_i2c_subdev - Allocate and add an i2c async [all …]
|
| D | v4l2-fwnode.h | 430 * @asd_struct_size: size of the driver's async sub-device struct, including 433 * the driver's async sub-device struct, i.e. both 438 * Parse the fwnode endpoints of the @dev device and populate the async sub- 440 * called for each endpoint with the corresponding async sub-device pointer to 441 * let the caller initialize the driver-specific part of the async sub-device 455 * v4l2_async_notifier_cleanup() after it has been unregistered and the async 458 * Return: %0 on success, including when no async sub-devices are found 475 * @asd_struct_size: size of the driver's async sub-device struct, including 478 * the driver's async sub-device struct, i.e. both 486 * on devices that have both sinks and sources: the async sub-devices connected [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/mediatek/ |
| D | mediatek,ethdr.yaml | 57 - description: video frontend 0 async clock 58 - description: video frontend 1 async clock 59 - description: graphic frontend 0 async clock 60 - description: graphic frontend 1 async clock 61 - description: video backend async clock 85 - description: video frontend 0 async reset 86 - description: video frontend 1 async reset 87 - description: graphic frontend 0 async reset 88 - description: graphic frontend 1 async reset 89 - description: video backend async reset
|
| /kernel/linux/linux-6.6/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 */
|
| /kernel/linux/linux-5.10/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 */
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/drivers/staging/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 …]
|
| /kernel/linux/linux-6.6/fs/btrfs/ |
| D | bio.c | 12 #include "async-thread.h" 534 * Async submit bios are used to offload expensive checksumming onto the worker 555 struct async_submit_bio *async = in run_one_async_start() local 559 ret = btrfs_bio_csum(async->bbio); in run_one_async_start() 561 async->bbio->bio.bi_status = ret; in run_one_async_start() 574 struct async_submit_bio *async = in run_one_async_done() local 576 struct bio *bio = &async->bbio->bio; in run_one_async_done() 580 btrfs_orig_bbio_end_io(async->bbio); in run_one_async_done() 585 * All of the bios that pass through here are from async helpers. in run_one_async_done() 590 __btrfs_submit_bio(bio, async->bioc, &async->smap, async->mirror_num); in run_one_async_done() [all …]
|
| /kernel/linux/linux-6.6/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 …]
|