Home
last modified time | relevance | path

Searched refs:comedi_bytes_to_samples (Results 1 – 19 of 19) sorted by relevance

/drivers/staging/comedi/drivers/
Dni_labpc_isadma.c88 unsigned int max_samples = comedi_bytes_to_samples(s, desc->size); in labpc_drain_dma()
104 nsamples = max_samples - comedi_bytes_to_samples(s, residue); in labpc_drain_dma()
Dpcl816.c118 unsigned int max_samples = comedi_bytes_to_samples(s, desc->maxsize); in pcl816_ai_setup_dma()
261 nsamples = comedi_bytes_to_samples(s, desc->size) - in pcl816_interrupt()
461 poll = comedi_bytes_to_samples(s, poll); in pcl816_ai_poll()
Dni_at_a2150.c182 max_points = comedi_bytes_to_samples(s, desc->size); in a2150_interrupt()
183 num_points = max_points - comedi_bytes_to_samples(s, residue); in a2150_interrupt()
190 leftover = comedi_bytes_to_samples(s, desc->size); in a2150_interrupt()
Dpcl812.c539 max_samples = comedi_bytes_to_samples(s, bytes); in pcl812_ai_setup_dma()
823 nsamples = comedi_bytes_to_samples(s, desc->size) - in pcl812_handle_dma()
873 poll = comedi_bytes_to_samples(s, poll); in pcl812_ai_poll()
Ddas16.c460 unsigned int max_samples = comedi_bytes_to_samples(s, desc->maxsize); in das16_ai_setup_dma()
510 nsamples = comedi_bytes_to_samples(s, nbytes); in das16_interrupt()
805 unsigned int num_samples = comedi_bytes_to_samples(s, num_bytes); in das16_ai_munge()
Ddas1800.c338 unsigned int num_samples = comedi_bytes_to_samples(s, num_bytes); in das1800_ai_munge()
383 nsamples = comedi_bytes_to_samples(s, nbytes); in das1800_flush_dma_channel()
760 unsigned int max_samples = comedi_bytes_to_samples(s, maxbytes); in das1800_ai_transfer_size()
Dpcl818.c307 unsigned int max_samples = comedi_bytes_to_samples(s, desc->maxsize); in pcl818_ai_setup_dma()
480 unsigned int nsamples = comedi_bytes_to_samples(s, desc->size); in pcl818_handle_dma()
Ddt282x.c438 unsigned int nsamples = comedi_bytes_to_samples(s, desc->maxsize); in dt282x_ao_setup_dma()
474 unsigned int nsamples = comedi_bytes_to_samples(s, desc->size); in dt282x_ai_dma_interrupt()
Ddas16m1.c136 unsigned int nsamples = comedi_bytes_to_samples(s, num_bytes); in das16m1_ai_munge()
Dadl_pci9111.c408 unsigned int num_samples = comedi_bytes_to_samples(s, num_bytes); in pci9111_ai_munge()
Dadl_pci9118.c604 unsigned int num_samples = comedi_bytes_to_samples(s, num_bytes); in pci9118_ai_munge()
641 unsigned int n_all = comedi_bytes_to_samples(s, dmabuf->use_size); in pci9118_ai_get_dma()
Dusbduxfast.c245 nsamples = comedi_bytes_to_samples(s, urb->actual_length); in usbduxfast_ai_handle_urb()
Daddi_apci_3120.c455 nsamples = comedi_bytes_to_samples(s, nbytes); in apci3120_interrupt_dma()
Dni_mio_common.c1012 nsamples = comedi_bytes_to_samples(s, nbytes); in ni_ao_fifo_half_empty()
1039 nsamples = comedi_bytes_to_samples(s, nbytes); in ni_ao_prep_fifo()
1412 unsigned int nsamples = comedi_bytes_to_samples(s, num_bytes); in ni_ai_munge()
2520 unsigned int nsamples = comedi_bytes_to_samples(s, num_bytes); in ni_ao_munge()
Dcb_pcidas.c1000 nsamples = comedi_bytes_to_samples(s, nbytes); in cb_pcidas_ao_load_fifo()
Dcb_pcidas64.c2937 unsigned int nsamples = comedi_bytes_to_samples(s, max_bytes); in cb_pcidas64_ao_fill_buffer()
2943 return comedi_bytes_to_samples(s, actual_bytes); in cb_pcidas64_ao_fill_buffer()
/drivers/staging/comedi/
Dcomedi_buf.c568 max_samples = comedi_bytes_to_samples(s, comedi_buf_write_n_unalloc(s)); in comedi_buf_write_samples()
610 max_samples = comedi_bytes_to_samples(s, in comedi_buf_read_samples()
Ddrivers.c489 comedi_bytes_to_samples(s, async->scan_progress); in comedi_nsamples_left()
523 async->cur_chan += comedi_bytes_to_samples(s, num_bytes); in comedi_inc_scan_progress()
Dcomedidev.h810 static inline unsigned int comedi_bytes_to_samples(struct comedi_subdevice *s, in comedi_bytes_to_samples() function