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.c79 unsigned int max_samples = comedi_bytes_to_samples(s, desc->size); in labpc_drain_dma()
95 nsamples = max_samples - comedi_bytes_to_samples(s, residue); in labpc_drain_dma()
Dpcl816.c119 unsigned int max_samples = comedi_bytes_to_samples(s, desc->maxsize); in pcl816_ai_setup_dma()
262 nsamples = comedi_bytes_to_samples(s, desc->size) - in pcl816_interrupt()
462 poll = comedi_bytes_to_samples(s, poll); in pcl816_ai_poll()
Dni_at_a2150.c173 max_points = comedi_bytes_to_samples(s, desc->size); in a2150_interrupt()
174 num_points = max_points - comedi_bytes_to_samples(s, residue); in a2150_interrupt()
181 leftover = comedi_bytes_to_samples(s, desc->size); in a2150_interrupt()
Dpcl812.c540 max_samples = comedi_bytes_to_samples(s, bytes); in pcl812_ai_setup_dma()
824 nsamples = comedi_bytes_to_samples(s, desc->size) - in pcl812_handle_dma()
874 poll = comedi_bytes_to_samples(s, poll); in pcl812_ai_poll()
Ddas16.c452 unsigned int max_samples = comedi_bytes_to_samples(s, desc->maxsize); in das16_ai_setup_dma()
502 nsamples = comedi_bytes_to_samples(s, nbytes); in das16_interrupt()
797 unsigned int num_samples = comedi_bytes_to_samples(s, num_bytes); in das16_ai_munge()
Ddas1800.c329 unsigned int num_samples = comedi_bytes_to_samples(s, num_bytes); in das1800_ai_munge()
374 nsamples = comedi_bytes_to_samples(s, nbytes); in das1800_flush_dma_channel()
751 unsigned int max_samples = comedi_bytes_to_samples(s, maxbytes); in das1800_ai_transfer_size()
Dpcl818.c308 unsigned int max_samples = comedi_bytes_to_samples(s, desc->maxsize); in pcl818_ai_setup_dma()
481 unsigned int nsamples = comedi_bytes_to_samples(s, desc->size); in pcl818_handle_dma()
Ddt282x.c429 unsigned int nsamples = comedi_bytes_to_samples(s, desc->maxsize); in dt282x_ao_setup_dma()
465 unsigned int nsamples = comedi_bytes_to_samples(s, desc->size); in dt282x_ai_dma_interrupt()
Ddas16m1.c127 unsigned int nsamples = comedi_bytes_to_samples(s, num_bytes); in das16m1_ai_munge()
Dadl_pci9111.c399 unsigned int num_samples = comedi_bytes_to_samples(s, num_bytes); in pci9111_ai_munge()
Dadl_pci9118.c605 unsigned int num_samples = comedi_bytes_to_samples(s, num_bytes); in pci9118_ai_munge()
642 unsigned int n_all = comedi_bytes_to_samples(s, dmabuf->use_size); in pci9118_ai_get_dma()
Dusbduxfast.c237 nsamples = comedi_bytes_to_samples(s, urb->actual_length); in usbduxfast_ai_handle_urb()
Daddi_apci_3120.c446 nsamples = comedi_bytes_to_samples(s, nbytes); in apci3120_interrupt_dma()
Dni_mio_common.c1003 nsamples = comedi_bytes_to_samples(s, nbytes); in ni_ao_fifo_half_empty()
1030 nsamples = comedi_bytes_to_samples(s, nbytes); in ni_ao_prep_fifo()
1403 unsigned int nsamples = comedi_bytes_to_samples(s, num_bytes); in ni_ai_munge()
2525 unsigned int nsamples = comedi_bytes_to_samples(s, num_bytes); in ni_ao_munge()
Dcb_pcidas.c991 nsamples = comedi_bytes_to_samples(s, nbytes); in cb_pcidas_ao_load_fifo()
Dcb_pcidas64.c2926 unsigned int nsamples = comedi_bytes_to_samples(s, max_bytes); in cb_pcidas64_ao_fill_buffer()
2932 return comedi_bytes_to_samples(s, actual_bytes); in cb_pcidas64_ao_fill_buffer()
/drivers/staging/comedi/
Dcomedi_buf.c633 max_samples = comedi_bytes_to_samples(s, comedi_buf_write_n_unalloc(s)); in comedi_buf_write_samples()
675 max_samples = comedi_bytes_to_samples(s, in comedi_buf_read_samples()
Ddrivers.c528 comedi_bytes_to_samples(s, async->scan_progress); in comedi_nsamples_left()
555 async->cur_chan += comedi_bytes_to_samples(s, num_bytes); in comedi_inc_scan_progress()
Dcomedidev.h825 static inline unsigned int comedi_bytes_to_samples(struct comedi_subdevice *s, in comedi_bytes_to_samples() function