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

123456789

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/comedi/drivers/
H A Dcomedi_fc.c34 struct comedi_async *async = subd->async; local
37 async->scan_progress += num_bytes;
38 if (async->scan_progress >= scan_length) {
39 async->scan_progress %= scan_length;
40 async->events |= COMEDI_CB_EOS;
48 struct comedi_async *async = subd->async; local
54 retval = comedi_buf_write_alloc(async, num_bytes);
57 async
73 struct comedi_async *async = subd->async; local
[all...]
H A Dcomedi_fc.h66 num_samples = (subd->async->cmd.chanlist_len +
70 num_samples = subd->async->cmd.chanlist_len;
H A Dni_tiocmd.c121 s->async->inttrig = NULL;
126 static int ni_tio_input_cmd(struct ni_gpct *counter, struct comedi_async *async) argument
129 struct comedi_cmd *cmd = &async->cmd;
133 comedi_buf_write_alloc(async, async->prealloc_bufsz);
152 async->inttrig = NULL;
157 async->inttrig = &ni_tio_input_inttrig;
160 async->inttrig = NULL;
164 async->inttrig = NULL;
175 struct comedi_async *async)
174 ni_tio_output_cmd(struct ni_gpct *counter, struct comedi_async *async) argument
187 ni_tio_cmd_setup(struct ni_gpct *counter, struct comedi_async *async) argument
216 ni_tio_cmd(struct ni_gpct *counter, struct comedi_async *async) argument
[all...]
H A Dmite.c344 struct comedi_async *async)
360 if (async->prealloc_bufsz == 0)
363 n_links = async->prealloc_bufsz >> PAGE_SHIFT;
380 cpu_to_le32(async->buf_page_list[i].dma_addr);
571 struct comedi_async *async)
575 const unsigned bytes_per_scan = cfc_bytes_per_scan(async->subdevice);
577 old_alloc_count = async->buf_write_alloc_count;
579 comedi_buf_write_alloc(async, async->prealloc_bufsz);
585 async
343 mite_buf_change(struct mite_dma_descriptor_ring *ring, struct comedi_async *async) argument
570 mite_sync_input_dma(struct mite_channel *mite_chan, struct comedi_async *async) argument
607 mite_sync_output_dma(struct mite_channel *mite_chan, struct comedi_async *async) argument
[all...]
H A Ddas800.c370 struct comedi_async *async; local
385 /* wait until here to initialize async, since we will get null dereference
388 async = s->async;
426 async->events |= COMEDI_CB_BLOCK;
438 async->events |= COMEDI_CB_ERROR | COMEDI_CB_EOA;
440 async->events = 0;
454 async->events |= COMEDI_CB_EOA;
457 async->events = 0;
736 struct comedi_async *async local
[all...]
H A Dadv_pci1710.c623 s->async->events |= COMEDI_CB_EOA | COMEDI_CB_ERROR;
632 s->async->events |= COMEDI_CB_EOA | COMEDI_CB_ERROR;
646 devpriv->act_chanlist[s->async->cur_chan]) {
652 async->cur_chan] & 0xf000) >>
655 s->async->events |=
660 DPRINTK("%8d %2d %8d~", s->async->buf_int_ptr,
661 s->async->cur_chan, s->async->buf_int_count);
662 comedi_buf_put(s->async, sampl & 0x0fff);
664 comedi_buf_put(s->async,
[all...]
H A Dni_pcidio.c478 async->events & (COMEDI_CB_EOA | COMEDI_CB_ERROR |
489 struct comedi_async *async = s->async; local
517 /* printk("buf[0]=%08x\n",*(unsigned int *)async->prealloc_buf); */
519 *(unsigned int *)(async->prealloc_buf+4096)); */
536 mite_sync_input_dma(devpriv->di_mite_chan, s->async);
541 async->events |= COMEDI_CB_EOA | COMEDI_CB_ERROR;
576 comedi_buf_put(async, data1);
577 comedi_buf_put(async, data2);
583 async
[all...]
H A Dpcl816.c324 s->async->events |= COMEDI_CB_EOA | COMEDI_CB_ERROR;
334 comedi_buf_put(s->async, (hi << 8) | low);
341 s->async->cur_chan++;
342 if (s->async->cur_chan >= devpriv->ai_n_chan) {
343 s->async->cur_chan = 0;
352 s->async->events |= COMEDI_CB_EOA;
368 s->async->events = 0;
372 comedi_buf_put(s->async, ptr[bufptr++]);
379 s->async->cur_chan++;
380 if (s->async
[all...]
H A Ddas16m1.c346 struct comedi_async *async = s->async; local
347 struct comedi_cmd *cmd = &async->cmd;
498 return s->async->buf_write_count - s->async->buf_read_count;
542 struct comedi_async *async; local
548 async = s->async;
549 async->events = 0;
550 cmd = &async
[all...]
H A Dpcl818.c553 s->async->events |= COMEDI_CB_EOA | COMEDI_CB_ERROR;
559 comedi_buf_put(s->async, ((inb(dev->iobase + PCL818_AD_HI) << 4) | (low >> 4))); /* get one sample */
568 s->async->events |= COMEDI_CB_EOA | COMEDI_CB_ERROR;
576 s->async->cur_chan++;
577 if (s->async->cur_chan >= devpriv->ai_n_chan) {
579 s->async->cur_chan = 0;
586 s->async->events |= COMEDI_CB_EOA;
639 s->async->events |= COMEDI_CB_EOA | COMEDI_CB_ERROR;
644 comedi_buf_put(s->async, ptr[bufptr++] >> 4); /* get one sample */
650 s->async
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/comedi/
H A Ddrivers.c69 if (s->async) {
71 kfree(s->async);
235 struct comedi_async *async = NULL; local
252 async =
254 if (async == NULL) {
256 "failed to allocate async struct\n");
259 init_waitqueue_head(&async->wait_head);
260 async->subdevice = s;
261 s->async = async;
426 struct comedi_async *async = s->async; local
547 comedi_buf_munge(struct comedi_async *async, unsigned int num_bytes) argument
592 comedi_buf_write_n_available(struct comedi_async *async) argument
612 comedi_buf_write_alloc(struct comedi_async *async, unsigned int nbytes) argument
629 comedi_buf_write_alloc_strict(struct comedi_async *async, unsigned int nbytes) argument
645 comedi_buf_write_free(struct comedi_async *async, unsigned int nbytes) argument
664 comedi_buf_read_alloc(struct comedi_async *async, unsigned nbytes) argument
679 comedi_buf_read_free(struct comedi_async *async, unsigned int nbytes) argument
697 comedi_buf_memcpy_to(struct comedi_async *async, unsigned int offset, const void *data, unsigned int num_bytes) argument
723 comedi_buf_memcpy_from(struct comedi_async *async, unsigned int offset, void *dest, unsigned int nbytes) argument
750 comedi_buf_read_n_available(struct comedi_async *async) argument
766 comedi_buf_get(struct comedi_async *async, short *x) argument
779 comedi_buf_put(struct comedi_async *async, short x) argument
793 comedi_reset_async_buf(struct comedi_async *async) argument
[all...]
H A Dinternal.h10 void comedi_reset_async_buf(struct comedi_async *async);
H A Dcomedidev.h76 struct comedi_async *async; member in struct:comedi_subdevice
208 /* hw_dev is passed to dma_alloc_coherent when allocating async buffers
408 int comedi_buf_put(struct comedi_async *async, short x);
409 int comedi_buf_get(struct comedi_async *async, short *x);
411 unsigned int comedi_buf_write_n_available(struct comedi_async *async);
412 unsigned int comedi_buf_write_alloc(struct comedi_async *async,
414 unsigned int comedi_buf_write_alloc_strict(struct comedi_async *async,
416 unsigned comedi_buf_write_free(struct comedi_async *async, unsigned int nbytes);
417 unsigned comedi_buf_read_alloc(struct comedi_async *async, unsigned nbytes);
418 unsigned comedi_buf_read_free(struct comedi_async *async, unsigne
424 comedi_buf_write_n_allocated(struct comedi_async *async) argument
429 comedi_buf_read_n_allocated(struct comedi_async *async) argument
[all...]
H A Dcomedi_fops.c113 struct comedi_async *async, unsigned new_size);
311 struct comedi_async *async; local
322 async = s->async;
324 if (!async) {
325 DPRINTK("subdevice does not have async capability\n");
335 async->max_bufsize = bc.maximum_size;
339 retval = resize_async_buffer(dev, s, async, bc.size);
344 bc.size = async->prealloc_bufsz;
345 bc.maximum_size = async
566 struct comedi_async *async; local
1007 struct comedi_async *async; local
1404 struct comedi_async *async; local
1425 struct comedi_async *async = NULL; local
1544 struct comedi_async *async; local
1649 struct comedi_async *async; local
1758 struct comedi_async *async = s->async; local
2018 struct comedi_async *async = s->async; local
2328 resize_async_buffer(struct comedi_device *dev, struct comedi_subdevice *s, struct comedi_async *async, unsigned new_size) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/curl/curl-7.36.0/lib/
H A Dhostasyn.c80 conn->async.status = status;
90 conn->async.hostname,
91 conn->async.port);
106 conn->async.dns = dns;
108 /* Set async.done TRUE last in this function since it may be used multi-
110 async struct */
111 conn->async.done = TRUE;
118 /* Call this function after Curl_connect() has returned async=TRUE and
128 if(conn->async.dns) {
129 conn->dns_entry = conn->async
[all...]
H A Dasyn-thread.c146 destroy_async_data(&conn->async);
179 return &(((struct thread_data *)conn->async.os_specific)->tsd);
182 #define CONN_THREAD_SYNC_DATA(conn) &(((conn)->async.os_specific)->tsd);
248 /* The tsd->res structure has been copied to async.dns and perhaps the DNS
315 * destroy_async_data() cleans up async resolver data and thread handle.
317 static void destroy_async_data (struct Curl_async *async) argument
319 if(async->hostname)
320 free(async->hostname);
322 if(async->os_specific) {
323 struct thread_data *td = (struct thread_data*) async
[all...]
H A Dasyn-ares.c174 static void destroy_async_data (struct Curl_async *async);
183 destroy_async_data(&conn->async);
187 * destroy_async_data() cleans up async resolver data.
189 static void destroy_async_data (struct Curl_async *async) argument
191 if(async->hostname)
192 free(async->hostname);
194 if(async->os_specific) {
195 struct ResolverResults *res = (struct ResolverResults *)async->os_specific;
203 async->os_specific = NULL;
206 async
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/include/wx/
H A Dsound.h50 wxDEPRECATED( bool Play(bool async, bool looped = false) const );
87 inline bool wxSoundBase::Play(bool async, bool looped) const argument
90 if (async) flags |= wxSOUND_ASYNC;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/include/
H A Ddcerpc.h12 BOOL async; member in struct:dcerpc_interface_call
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/transmission-2.73/web/javascript/
H A Dremote.js75 sendRequest: function(data, callback, context, async) {
77 if (typeof async != 'boolean')
78 async = true;
91 async: async
97 loadDaemonPrefs: function(callback, context, async) {
99 this.sendRequest(o, callback, context, async);
102 checkPort: function(callback, context, async) {
104 this.sendRequest(o, callback, context, async);
107 loadDaemonStats: function(callback, context, async) {
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/tile/mm/
H A Dfault.c740 struct async_tlb *async; local
747 async = &current->thread.dma_async_tlb;
753 async = &current->thread.sn_async_tlb;
757 async = NULL;
759 if (async) {
768 if (async->fault_num != 0) {
769 panic("Second async fault %d;"
771 fault_num, async->fault_num,
775 async->fault_num = fault_num;
776 async
792 handle_async_page_fault(struct pt_regs *regs, struct async_tlb *async) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/
H A Datp870u.h44 unsigned short async[2]; member in struct:atp_unit
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/ieee1394/
H A Dpcilynx.c30 * Enhancements in async and iso send code
389 d = &lynx->async;
449 d = &lynx->async;
651 spin_lock_irqsave(&lynx->async.queue_lock, flags);
654 list_splice_init(&lynx->async.queue, &packet_list);
656 if (list_empty(&lynx->async.pcl_queue)) {
657 spin_unlock_irqrestore(&lynx->async.queue_lock, flags);
658 PRINTD(KERN_DEBUG, lynx->id, "no async packet in PCL to cancel");
663 PRINT(KERN_INFO, lynx->id, "cancelling async packet, that was already in PCL");
665 get_pcl(lynx, lynx->async
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/usb/host/
H A Dehci-mem.c26 * - async and periodic schedules, shared by HC and HCD ... these
140 if (ehci->async)
141 qh_put (ehci->async);
142 ehci->async = NULL;
197 ehci->async = ehci_qh_alloc (ehci, flags);
198 if (!ehci->async) {
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/alsa-lib-1.0.26/include/
H A Daserver.h71 } async; member in union:__anon1367::__anon1368
123 } async; member in union:__anon1378::__anon1379

Completed in 211 milliseconds

123456789