/linux-6.6.21/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 | 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() 514 struct comedi_async *async = s->async; in comedi_nsamples_left() local 515 struct comedi_cmd *cmd = &async->cmd; in comedi_nsamples_left() 527 comedi_bytes_to_samples(s, async->scan_progress); in comedi_nsamples_left() [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 …]
|
/linux-6.6.21/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.6.21/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; 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.6.21/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.6.21/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 | 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 | usbduxsigma.c | 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() 297 if (async->events & COMEDI_CB_CANCEL_MASK) in usbduxsigma_ai_urb_complete() [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 …]
|
D | amplc_pci230.c | 1021 cmd = &s->async->cmd; in pci230_ao_stop() 1063 struct comedi_async *async = s->async; in pci230_handle_ao_nofifo() local 1064 struct comedi_cmd *cmd = &async->cmd; in pci230_handle_ao_nofifo() 1068 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) in pci230_handle_ao_nofifo() 1075 async->events |= COMEDI_CB_OVERFLOW; in pci230_handle_ao_nofifo() 1082 if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg) in pci230_handle_ao_nofifo() 1083 async->events |= COMEDI_CB_EOA; in pci230_handle_ao_nofifo() 1094 struct comedi_async *async = s->async; in pci230_handle_ao_fifo() local 1095 struct comedi_cmd *cmd = &async->cmd; in pci230_handle_ao_fifo() 1153 async->scans_done >= cmd->stop_arg) { in pci230_handle_ao_fifo() [all …]
|
D | usbduxfast.c | 228 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() 247 if (!(async->events & COMEDI_CB_CANCEL_MASK)) { 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() 295 if (async->events & COMEDI_CB_CANCEL_MASK) in usbduxfast_ai_interrupt() [all …]
|
D | adv_pci1710.c | 395 struct comedi_cmd *cmd = &s->async->cmd; in pci1710_handle_every_sample() 403 s->async->events |= COMEDI_CB_ERROR; in pci1710_handle_every_sample() 409 s->async->events |= COMEDI_CB_ERROR; in pci1710_handle_every_sample() 416 ret = pci1710_ai_read_sample(dev, s, s->async->cur_chan, &val); in pci1710_handle_every_sample() 418 s->async->events |= COMEDI_CB_ERROR; in pci1710_handle_every_sample() 425 s->async->scans_done >= cmd->stop_arg) { 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() [all …]
|
D | ni_labpc_isadma.c | 28 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()
|
D | cb_pcidas.c | 789 struct comedi_async *async = s->async; in cb_pcidas_ai_cmd() local 790 struct comedi_cmd *cmd = &async->cmd; in cb_pcidas_ai_cmd() 1001 struct comedi_async *async = s->async; in cb_pcidas_ao_inttrig() local 1002 struct comedi_cmd *cmd = &async->cmd; in cb_pcidas_ao_inttrig() 1024 async->inttrig = NULL; in cb_pcidas_ao_inttrig() 1033 struct comedi_async *async = s->async; in cb_pcidas_ao_cmd() local 1034 struct comedi_cmd *cmd = &async->cmd; in cb_pcidas_ao_cmd() 1079 async->inttrig = cb_pcidas_ao_inttrig; in cb_pcidas_ao_cmd() 1109 struct comedi_async *async = s->async; in cb_pcidas_ao_interrupt() local 1110 struct comedi_cmd *cmd = &async->cmd; in cb_pcidas_ao_interrupt() [all …]
|
D | addi_apci_3120.c | 207 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() 245 if (dmalen1 > 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() 454 if ((async->events & COMEDI_CB_CANCEL_MASK) || in apci3120_interrupt_dma() [all …]
|
D | adl_pci9118.c | 409 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() 630 if (s->async->scans_done >= cmd->stop_arg) in pci9118_ai_get_onesample() 631 s->async->events |= COMEDI_CB_EOA; in pci9118_ai_get_onesample() 639 struct comedi_cmd *cmd = &s->async->cmd; in pci9118_ai_get_dma() 661 if (s->async->scans_done >= cmd->stop_arg) in pci9118_ai_get_dma() 662 s->async->events |= COMEDI_CB_EOA; in pci9118_ai_get_dma() [all …]
|
/linux-6.6.21/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
|
/linux-6.6.21/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.6.21/fs/btrfs/ |
D | bio.c | 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() 590 __btrfs_submit_bio(bio, async->bioc, &async->smap, async->mirror_num); in run_one_async_done() 628 struct async_submit_bio *async; in btrfs_wq_submit_bio() local 630 async = kmalloc(sizeof(*async), GFP_NOFS); in btrfs_wq_submit_bio() 631 if (!async) in btrfs_wq_submit_bio() [all …]
|
/linux-6.6.21/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 …]
|
/linux-6.6.21/drivers/net/ethernet/sfc/ |
D | mcdi.c | 467 struct efx_mcdi_async_param *async; in efx_mcdi_release() local 472 async = list_first_entry_or_null( in efx_mcdi_release() 474 if (async) { in efx_mcdi_release() 476 efx_mcdi_send_request(efx, async->cmd, in efx_mcdi_release() 477 (const efx_dword_t *)(async + 1), in efx_mcdi_release() 478 async->inlen); in efx_mcdi_release() 484 if (async) in efx_mcdi_release() 500 struct efx_mcdi_async_param *async; in efx_mcdi_complete_async() local 536 async = list_first_entry(&mcdi->async_list, in efx_mcdi_complete_async() 538 list_del(&async->list); in efx_mcdi_complete_async() [all …]
|
/linux-6.6.21/drivers/base/power/ |
D | main.c | 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() 302 dpm_wait_for_suppliers(dev, async); in dpm_wait_for_superior() 311 static void dpm_wait_for_consumers(struct device *dev, bool async) in dpm_wait_for_consumers() argument [all …]
|