Searched refs:async (Results 1 - 25 of 163) sorted by relevance

1234567

/drivers/staging/comedi/
H A Dcomedi_buf.c64 struct comedi_async *async = s->async; local
68 if (async->prealloc_buf) {
69 vunmap(async->prealloc_buf);
70 async->prealloc_buf = NULL;
71 async->prealloc_bufsz = 0;
75 bm = async->buf_map;
76 async->buf_map = NULL;
85 struct comedi_async *async = s->async; local
168 struct comedi_async *async = s->async; local
197 struct comedi_async *async = s->async; local
228 struct comedi_async *async = s->async; local
249 struct comedi_async *async = s->async; local
259 struct comedi_async *async = s->async; local
291 struct comedi_async *async = s->async; local
333 struct comedi_async *async = s->async; local
342 struct comedi_async *async = s->async; local
360 struct comedi_async *async = s->async; local
382 struct comedi_async *async = s->async; local
401 comedi_buf_read_n_allocated(struct comedi_async *async) argument
410 struct comedi_async *async = s->async; local
432 struct comedi_async *async = s->async; local
447 struct comedi_async *async = s->async; local
462 struct comedi_async *async = s->async; local
490 struct comedi_async *async = s->async; local
530 struct comedi_async *async = s->async; local
[all...]
H A Dcomedi_fops.c245 struct comedi_async *async = s->async; local
248 if (new_size > async->max_bufsize)
277 s->index, async->prealloc_bufsz);
297 if (s && (s->subdev_flags & SDF_CMD_READ) && s->async)
298 size = s->async->max_bufsize / 1024;
328 if (s && (s->subdev_flags & SDF_CMD_READ) && s->async)
329 s->async->max_bufsize = size;
353 if (s && (s->subdev_flags & SDF_CMD_READ) && s->async)
354 size = s->async
584 struct comedi_async *async = s->async; local
717 struct comedi_async *async; local
963 struct comedi_async *async; local
1488 struct comedi_async *async; local
1906 struct comedi_async *async; local
2034 struct comedi_async *async; local
2170 struct comedi_async *async; local
2391 struct comedi_async *async = s->async; local
[all...]
H A Ddrivers.c127 if (s->async) {
129 kfree(s->async);
311 struct comedi_cmd *cmd = &s->async->cmd;
344 struct comedi_async *async = s->async; local
347 async->scan_progress += num_bytes;
348 if (async->scan_progress >= scan_length) {
349 async->scan_progress %= scan_length;
350 async->events |= COMEDI_CB_EOS;
374 unsigned int events = s->async
429 struct comedi_async *async; local
[all...]
/drivers/base/regmap/
H A Dregmap-spi.c27 struct regmap_async_spi *async = data; local
29 regmap_async_complete_cb(&async->core, async->m.status);
62 struct regmap_async_spi *async = container_of(a, local
68 async->t[0].tx_buf = reg;
69 async->t[0].len = reg_len;
70 async->t[1].tx_buf = val;
71 async->t[1].len = val_len;
73 spi_message_init(&async->m);
74 spi_message_add_tail(&async
[all...]
/drivers/staging/lustre/lustre/include/
H A Dlustre_ha.h55 int ptlrpc_recover_import(struct obd_import *imp, char *new_uuid, int async);
/drivers/staging/comedi/drivers/
H A Dni_tiocmd.c93 struct comedi_cmd *cmd = &s->async->cmd;
109 s->async->inttrig = NULL;
119 struct comedi_async *async = s->async; local
120 struct comedi_cmd *cmd = &async->cmd;
124 comedi_buf_write_alloc(s, async->prealloc_bufsz);
142 async->inttrig = &ni_tio_input_inttrig;
144 async->inttrig = NULL;
172 struct comedi_cmd *cmd = &s->async->cmd;
199 struct comedi_async *async local
[all...]
H A Dmite.c300 struct comedi_async *async = s->async; local
315 if (async->prealloc_bufsz == 0)
318 n_links = async->prealloc_bufsz >> PAGE_SHIFT;
334 cpu_to_le32(async->buf_map->page_list[i].dma_addr);
521 struct comedi_async *async = s->async; local
525 old_alloc_count = async->buf_write_alloc_count;
527 comedi_buf_write_alloc(s, async->prealloc_bufsz);
534 async
554 struct comedi_async *async = s->async; local
[all...]
H A Dusbdux.c262 struct comedi_cmd *cmd = &s->async->cmd;
284 s->async->events |= COMEDI_CB_EOA;
285 s->async->events |= COMEDI_CB_ERROR;
299 s->async->events |= COMEDI_CB_EOA;
300 s->async->events |= COMEDI_CB_ERROR;
330 s->async->events |= COMEDI_CB_EOA;
331 s->async->events |= COMEDI_CB_ERROR;
354 s->async->events |= COMEDI_CB_EOA;
377 s->async->events |= COMEDI_CB_BLOCK | COMEDI_CB_EOS;
410 struct comedi_cmd *cmd = &s->async
[all...]
H A Damplc_pci230.c1035 cmd = &s->async->cmd;
1080 struct comedi_async *async = s->async; local
1081 struct comedi_cmd *cmd = &async->cmd;
1091 s->async->events |= COMEDI_CB_OVERFLOW;
1099 async->events |= COMEDI_CB_BLOCK | COMEDI_CB_EOS;
1104 async->events |= COMEDI_CB_EOA;
1118 struct comedi_async *async = s->async; local
1119 struct comedi_cmd *cmd = &async
1255 struct comedi_async *async = s->async; local
1909 struct comedi_async *async = s->async; local
2060 struct comedi_async *async = s->async; local
2156 struct comedi_async *async = s->async; local
[all...]
H A Dni_labpc_isadma.c63 struct comedi_cmd *cmd = &s->async->cmd;
89 struct comedi_async *async = s->async; local
90 struct comedi_cmd *cmd = &async->cmd;
137 async->events |= COMEDI_CB_BLOCK;
H A Dadv_pci1710.c734 s->async->cur_chan = 0;
743 struct comedi_cmd *cmd = &s->async->cmd;
751 s->async->events |= COMEDI_CB_EOA | COMEDI_CB_ERROR;
758 s->async->events |= COMEDI_CB_EOA | COMEDI_CB_ERROR;
767 ret = pci171x_ai_dropout(dev, s, s->async->cur_chan, val);
769 s->async->events |= COMEDI_CB_EOA | COMEDI_CB_ERROR;
775 s->async->cur_chan++;
776 if (s->async->cur_chan >= cmd->chanlist_len)
777 s->async->cur_chan = 0;
780 if (s->async
[all...]
H A Dusbduxsigma.c82 * Size of the async input-buffer IN BYTES, the DIO state is transmitted
219 struct comedi_cmd *cmd = &s->async->cmd;
249 s->async->events |= (COMEDI_CB_EOA | COMEDI_CB_ERROR);
264 s->async->events |= (COMEDI_CB_EOA | COMEDI_CB_ERROR);
283 s->async->events |= (COMEDI_CB_EOA | COMEDI_CB_ERROR);
304 s->async->events |= COMEDI_CB_EOA;
325 s->async->events |= (COMEDI_CB_BLOCK | COMEDI_CB_EOS);
357 struct comedi_cmd *cmd = &s->async->cmd;
374 s->async->events |= COMEDI_CB_EOA;
386 s->async
[all...]
H A Dadl_pci9118.c456 struct comedi_cmd *cmd = &s->async->cmd;
481 struct comedi_cmd *cmd = &s->async->cmd;
486 (s->async->cur_chan + num_samples) / cmd->scan_end_arg;
487 s->async->cur_chan += num_samples;
488 s->async->cur_chan %= cmd->scan_end_arg;
520 struct comedi_cmd *cmd = &s->async->cmd;
583 s->async->cur_chan = 0;
584 s->async->inttrig = NULL;
615 struct comedi_cmd *cmd = &s->async->cmd;
621 s->async
[all...]
H A Dni_at_a2150.c167 struct comedi_async *async; local
177 /* initialize async here to make sure s is not NULL */
178 async = s->async;
179 cmd = &async->cmd;
190 async->events |= COMEDI_CB_ERROR | COMEDI_CB_EOA;
197 async->events |= COMEDI_CB_ERROR | COMEDI_CB_EOA;
243 async->events |= COMEDI_CB_EOA;
256 async->events |= COMEDI_CB_BLOCK;
507 struct comedi_async *async local
[all...]
H A Dpcmmio.c328 s->async->inttrig = NULL;
339 struct comedi_cmd *cmd = &s->async->cmd;
340 unsigned int oldevents = s->async->events;
363 s->async->events |= (COMEDI_CB_BLOCK | COMEDI_CB_EOS);
374 s->async->events |= COMEDI_CB_EOA;
383 if (oldevents != s->async->events)
413 struct comedi_cmd *cmd = &s->async->cmd;
457 struct comedi_cmd *cmd = &s->async->cmd;
464 s->async->inttrig = NULL;
478 struct comedi_cmd *cmd = &s->async
[all...]
H A Dpcmuio.c306 s->async->inttrig = NULL;
319 struct comedi_cmd *cmd = &s->async->cmd;
320 unsigned oldevents = s->async->events;
343 s->async->events |= (COMEDI_CB_BLOCK | COMEDI_CB_EOS);
355 s->async->events |= COMEDI_CB_EOA;
365 if (oldevents != s->async->events)
412 struct comedi_cmd *cmd = &s->async->cmd;
458 struct comedi_cmd *cmd = &s->async->cmd;
467 s->async->inttrig = NULL;
482 struct comedi_cmd *cmd = &s->async
[all...]
H A Dpcl812.c553 struct comedi_cmd *cmd = &s->async->cmd;
565 if (s->async->prealloc_bufsz < devpriv->hwdmasize) {
567 s->async->prealloc_bufsz;
569 s->async->prealloc_bufsz;
790 struct comedi_cmd *cmd = &s->async->cmd;
812 s->async->cur_chan = 0;
845 struct comedi_cmd *cmd = &s->async->cmd;
847 s->async->events |= COMEDI_CB_BLOCK;
849 s->async->cur_chan++;
850 if (s->async
[all...]
H A Dni_pcidio.c351 comedi_buf_write_alloc(s, s->async->prealloc_bufsz);
385 struct comedi_async *async = s->async; local
425 async->events |= COMEDI_CB_EOA | COMEDI_CB_ERROR;
460 async->events |= COMEDI_CB_BLOCK;
465 async->events |= COMEDI_CB_EOA;
471 async->events |= COMEDI_CB_EOA | COMEDI_CB_ERROR;
476 async->events |= COMEDI_CB_EOA;
480 async->events |= COMEDI_CB_EOA;
628 struct comedi_cmd *cmd = &s->async
[all...]
H A Dpcl818.c348 struct comedi_cmd *cmd = &s->async->cmd;
377 struct comedi_cmd *cmd = &s->async->cmd;
512 s->async->events |= COMEDI_CB_EOA | COMEDI_CB_ERROR;
522 struct comedi_cmd *cmd = &s->async->cmd;
524 s->async->events |= COMEDI_CB_BLOCK;
530 s->async->cur_chan++;
531 if (s->async->cur_chan >= cmd->chanlist_len) {
532 s->async->cur_chan = 0;
534 s->async->events |= COMEDI_CB_EOS;
539 s->async
[all...]
H A Dusbduxfast.c238 struct comedi_async *async = s->async; local
239 struct comedi_cmd *cmd = &async->cmd;
268 async->events |= COMEDI_CB_EOA;
269 async->events |= COMEDI_CB_ERROR;
279 async->events |= COMEDI_CB_EOA;
280 async->events |= COMEDI_CB_ERROR;
301 async->events |= COMEDI_CB_EOA;
333 async->events |= COMEDI_CB_EOA;
334 async
[all...]
H A Ddas800.c403 struct comedi_async *async = s->async; local
404 struct comedi_cmd *cmd = &async->cmd;
464 struct comedi_async *async; local
479 async = s->async;
480 cmd = &async->cmd;
519 async->events |= COMEDI_CB_BLOCK;
523 async->events |= COMEDI_CB_ERROR | COMEDI_CB_EOA;
538 async
[all...]
H A Daddi_apci_2032.c138 struct comedi_cmd *cmd = &s->async->cmd;
178 struct comedi_cmd *cmd = &s->async->cmd;
216 s->async->events |= COMEDI_CB_BLOCK | COMEDI_CB_EOS;
222 s->async->events |= COMEDI_CB_EOA;
228 s->async->events |= COMEDI_CB_OVERFLOW;
/drivers/scsi/
H A Datp870u.h44 unsigned short async[2]; member in struct:atp_unit
/drivers/net/ethernet/sfc/
H A Dmcdi.c373 struct efx_mcdi_async_param *async; local
378 async = list_first_entry_or_null(
380 if (async) {
382 efx_mcdi_send_request(efx, async->cmd,
383 (const efx_dword_t *)(async + 1),
384 async->inlen);
390 if (async)
406 struct efx_mcdi_async_param *async; local
442 async = list_first_entry(&mcdi->async_list,
444 list_del(&async
687 struct efx_mcdi_async_param *async; local
840 struct efx_mcdi_async_param *async, *next; local
[all...]
/drivers/usb/host/
H A Dehci-mem.c26 * - async and periodic schedules, shared by HC and HCD ... these
122 if (ehci->async)
123 qh_destroy(ehci, ehci->async);
124 ehci->async = NULL;
183 ehci->async = ehci_qh_alloc (ehci, flags);
184 if (!ehci->async) {

Completed in 481 milliseconds

1234567