| /Linux-v5.4/drivers/staging/comedi/ | 
| D | comedi_buf.c | 56 	struct comedi_async *async = s->async;  in __comedi_buf_free()  local60 	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 | 339 	struct comedi_async *async = s->async;  in resize_async_buffer()  local344 	if (new_size > async->max_bufsize)  in resize_async_buffer()
 372 		s->index, async->prealloc_bufsz);  in resize_async_buffer()
 392 	if (s && (s->subdev_flags & SDF_CMD_READ) && s->async)  in max_read_buffer_kb_show()
 393 		size = s->async->max_bufsize / 1024;  in max_read_buffer_kb_show()
 423 	if (s && (s->subdev_flags & SDF_CMD_READ) && s->async)  in max_read_buffer_kb_store()
 424 		s->async->max_bufsize = size;  in max_read_buffer_kb_store()
 448 	if (s && (s->subdev_flags & SDF_CMD_READ) && s->async)  in read_buffer_kb_show()
 449 		size = s->async->prealloc_bufsz / 1024;  in read_buffer_kb_show()
 479 	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()
 515 	struct comedi_async *async = s->async;  in comedi_nsamples_left()  local
 516 	struct comedi_cmd *cmd = &async->cmd;  in comedi_nsamples_left()
 528 		comedi_bytes_to_samples(s, async->scan_progress);  in comedi_nsamples_left()
 [all …]
 
 | 
| /Linux-v5.4/drivers/base/regmap/ | 
| D | regmap-spi.c | 23 	struct regmap_async_spi *async = data;  in regmap_spi_complete()  local25 	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 …]
 
 | 
| D | regmap.c | 1340 	struct regmap_async *async;  in regmap_exit()  local1349 		async = list_first_entry_or_null(&map->async_free,  in regmap_exit()
 1352 		list_del(&async->list);  in regmap_exit()
 1353 		kfree(async->work_buf);  in regmap_exit()
 1354 		kfree(async);  in regmap_exit()
 1563 	if (map->async && map->bus->async_write) {  in _regmap_raw_write_impl()
 1564 		struct regmap_async *async;  in _regmap_raw_write_impl()  local
 1569 		async = list_first_entry_or_null(&map->async_free,  in _regmap_raw_write_impl()
 1572 		if (async)  in _regmap_raw_write_impl()
 1573 			list_del(&async->list);  in _regmap_raw_write_impl()
 [all …]
 
 | 
| /Linux-v5.4/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)
 
 | 
| D | msm_atomic.c | 149 	bool async = kms->funcs->vsync_time &&  in msm_atomic_commit_tail()  local152 	trace_msm_atomic_commit_tail_start(async, crtc_mask);  in msm_atomic_commit_tail()
 179 	if (async) {  in msm_atomic_commit_tail()
 213 		trace_msm_atomic_commit_tail_finish(async, crtc_mask);  in msm_atomic_commit_tail()
 246 	trace_msm_atomic_commit_tail_finish(async, crtc_mask);  in msm_atomic_commit_tail()
 
 | 
| /Linux-v5.4/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()  local202 	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 | 274 	struct comedi_async *async = s->async;  in mite_sync_input_dma()  local278 	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 | usbduxsigma.c | 206 	struct comedi_async *async = s->async;  in usbduxsigma_ai_handle_urb()  local207 	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()
 298 	if (async->events & COMEDI_CB_CANCEL_MASK)  in usbduxsigma_ai_urb_complete()
 [all …]
 
 | 
| D | usbdux.c | 244 	struct comedi_async *async = s->async;  in usbduxsub_ai_handle_urb()  local245 	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 | amplc_pci230.c | 1023 	cmd = &s->async->cmd;  in pci230_ao_stop()1065 	struct comedi_async *async = s->async;  in pci230_handle_ao_nofifo()  local
 1066 	struct comedi_cmd *cmd = &async->cmd;  in pci230_handle_ao_nofifo()
 1070 	if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg)  in pci230_handle_ao_nofifo()
 1077 			async->events |= COMEDI_CB_OVERFLOW;  in pci230_handle_ao_nofifo()
 1084 	if (cmd->stop_src == TRIG_COUNT && async->scans_done >= cmd->stop_arg)  in pci230_handle_ao_nofifo()
 1085 		async->events |= COMEDI_CB_EOA;  in pci230_handle_ao_nofifo()
 1096 	struct comedi_async *async = s->async;  in pci230_handle_ao_fifo()  local
 1097 	struct comedi_cmd *cmd = &async->cmd;  in pci230_handle_ao_fifo()
 1155 		    async->scans_done >= cmd->stop_arg) {  in pci230_handle_ao_fifo()
 [all …]
 
 | 
| D | usbduxfast.c | 227 	struct comedi_async *async = s->async;  in usbduxfast_ai_handle_urb()  local228 	struct comedi_cmd *cmd = &async->cmd;  in usbduxfast_ai_handle_urb()
 241 		    async->scans_done >= cmd->stop_arg)  in usbduxfast_ai_handle_urb()
 242 			async->events |= COMEDI_CB_EOA;  in usbduxfast_ai_handle_urb()
 246 	if (!(async->events & COMEDI_CB_CANCEL_MASK)) {  in usbduxfast_ai_handle_urb()
 252 			async->events |= COMEDI_CB_ERROR;  in usbduxfast_ai_handle_urb()
 261 	struct comedi_async *async = s->async;  in usbduxfast_ai_interrupt()  local
 278 		async->events |= COMEDI_CB_ERROR;  in usbduxfast_ai_interrupt()
 286 		async->events |= COMEDI_CB_ERROR;  in usbduxfast_ai_interrupt()
 294 	if (async->events & COMEDI_CB_CANCEL_MASK)  in usbduxfast_ai_interrupt()
 [all …]
 
 | 
| D | adv_pci1710.c | 396 	struct comedi_cmd *cmd = &s->async->cmd;  in pci1710_handle_every_sample()404 		s->async->events |= COMEDI_CB_ERROR;  in pci1710_handle_every_sample()
 410 		s->async->events |= COMEDI_CB_ERROR;  in pci1710_handle_every_sample()
 417 		ret = pci1710_ai_read_sample(dev, s, s->async->cur_chan, &val);  in pci1710_handle_every_sample()
 419 			s->async->events |= COMEDI_CB_ERROR;  in pci1710_handle_every_sample()
 426 		    s->async->scans_done >= cmd->stop_arg) {  in pci1710_handle_every_sample()
 427 			s->async->events |= COMEDI_CB_EOA;  in pci1710_handle_every_sample()
 439 	struct comedi_async *async = s->async;  in pci1710_handle_fifo()  local
 440 	struct comedi_cmd *cmd = &async->cmd;  in pci1710_handle_fifo()
 447 		async->events |= COMEDI_CB_ERROR;  in pci1710_handle_fifo()
 [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()
 
 | 
| D | cb_pcidas.c | 790 	struct comedi_async *async = s->async;  in cb_pcidas_ai_cmd()  local791 	struct comedi_cmd *cmd = &async->cmd;  in cb_pcidas_ai_cmd()
 1002 	struct comedi_async *async = s->async;  in cb_pcidas_ao_inttrig()  local
 1003 	struct comedi_cmd *cmd = &async->cmd;  in cb_pcidas_ao_inttrig()
 1025 	async->inttrig = NULL;  in cb_pcidas_ao_inttrig()
 1034 	struct comedi_async *async = s->async;  in cb_pcidas_ao_cmd()  local
 1035 	struct comedi_cmd *cmd = &async->cmd;  in cb_pcidas_ao_cmd()
 1080 	async->inttrig = cb_pcidas_ao_inttrig;  in cb_pcidas_ao_cmd()
 1110 	struct comedi_async *async = s->async;  in cb_pcidas_ao_interrupt()  local
 1111 	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 | 410 	struct comedi_cmd *cmd = &s->async->cmd;  in pci9118_ai_samples_ready()467 	struct comedi_cmd *cmd = &s->async->cmd;  in pci9118_ai_dma_xfer()
 537 	struct comedi_cmd *cmd = &s->async->cmd;  in pci9118_calc_divisors()
 591 	s->async->inttrig = NULL;  in pci9118_ai_cancel()
 623 	struct comedi_cmd *cmd = &s->async->cmd;  in pci9118_ai_get_onesample()
 631 		if (s->async->scans_done >= cmd->stop_arg)  in pci9118_ai_get_onesample()
 632 			s->async->events |= COMEDI_CB_EOA;  in pci9118_ai_get_onesample()
 640 	struct comedi_cmd *cmd = &s->async->cmd;  in pci9118_ai_get_dma()
 662 		if (s->async->scans_done >= cmd->stop_arg)  in pci9118_ai_get_dma()
 663 			s->async->events |= COMEDI_CB_EOA;  in pci9118_ai_get_dma()
 [all …]
 
 | 
| D | das800.c | 370 	struct comedi_async *async = s->async;  in das800_ai_do_cmd()  local371 	struct comedi_cmd *cmd = &async->cmd;  in das800_ai_do_cmd()
 426 	struct comedi_async *async;  in das800_interrupt()  local
 441 	async = s->async;  in das800_interrupt()
 442 	cmd = &async->cmd;  in das800_interrupt()
 478 		    async->scans_done >= cmd->stop_arg) {  in das800_interrupt()
 479 			async->events |= COMEDI_CB_EOA;  in das800_interrupt()
 486 		async->events |= COMEDI_CB_ERROR;  in das800_interrupt()
 491 	if (!(async->events & COMEDI_CB_CANCEL_MASK)) {  in das800_interrupt()
 
 | 
| /Linux-v5.4/drivers/net/ethernet/sfc/ | 
| D | mcdi.c | 468 		struct efx_mcdi_async_param *async;  in efx_mcdi_release()  local473 		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-v5.4/Documentation/ | 
| D | mailbox.txt | 44 send a message through before returning) or non-blocking/async mode (submit53 		bool async;
 64 		if (dc->async) {
 100 		dc_async->async = true;
 110 		dc_sync->async = false;
 116 		/* Send async message to remote */
 127 		/* Now wait for async chan to be done */
 
 | 
| /Linux-v5.4/drivers/usb/host/ | 
| D | ehci-mem.c | 109 	if (ehci->async)  in ehci_mem_cleanup()110 		qh_destroy(ehci, ehci->async);  in ehci_mem_cleanup()
 111 	ehci->async = NULL;  in ehci_mem_cleanup()
 162 	ehci->async = ehci_qh_alloc (ehci, flags);  in ehci_mem_init()
 163 	if (!ehci->async) {  in ehci_mem_init()
 
 | 
| /Linux-v5.4/Documentation/media/kapi/ | 
| D | v4l2-async.rst | 3 V4L2 async kAPI5 .. kernel-doc:: include/media/v4l2-async.h
 
 | 
| /Linux-v5.4/drivers/base/power/ | 
| D | main.c | 235 static void dpm_wait(struct device *dev, bool async)  in dpm_wait()  argument240 	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 void dpm_wait_for_superior(struct device *dev, bool async)  in dpm_wait_for_superior()  argument
 278 	dpm_wait(dev->parent, async);  in dpm_wait_for_superior()
 279 	dpm_wait_for_suppliers(dev, async);  in dpm_wait_for_superior()
 282 static void dpm_wait_for_consumers(struct device *dev, bool async)  in dpm_wait_for_consumers()  argument
 [all …]
 
 |