Searched refs:max_samples (Results 1 – 8 of 8) sorted by relevance
/linux-5.19.10/drivers/comedi/drivers/ |
D | ni_labpc_isadma.c | 78 unsigned int max_samples = comedi_bytes_to_samples(s, desc->size); in labpc_drain_dma() local 94 nsamples = max_samples - comedi_bytes_to_samples(s, residue); in labpc_drain_dma() 101 if (leftover > max_samples) in labpc_drain_dma() 102 leftover = max_samples; in labpc_drain_dma() 106 leftover = max_samples; in labpc_drain_dma()
|
D | das1800.c | 749 unsigned int max_samples = comedi_bytes_to_samples(s, maxbytes); in das1800_ai_transfer_size() local 752 samples = max_samples; in das1800_ai_transfer_size() 768 if (samples > max_samples) in das1800_ai_transfer_size() 769 samples = max_samples; in das1800_ai_transfer_size()
|
D | adv_pci1710.c | 169 unsigned int max_samples; member 456 for (i = 0; i < devpriv->max_samples; i++) { in pci1710_handle_fifo() 874 devpriv->max_samples = (board->is_pci1711) ? 512 : 2048; in pci1710_auto_attach()
|
D | pcl812.c | 531 unsigned int max_samples; in pcl812_ai_setup_dma() local 538 max_samples = comedi_bytes_to_samples(s, bytes); in pcl812_ai_setup_dma() 544 nsamples = comedi_nsamples_left(s, max_samples + unread_samples); in pcl812_ai_setup_dma()
|
D | pcl816.c | 117 unsigned int max_samples = comedi_bytes_to_samples(s, desc->maxsize); in pcl816_ai_setup_dma() local 126 nsamples = comedi_nsamples_left(s, max_samples + unread_samples); in pcl816_ai_setup_dma()
|
D | pcl818.c | 306 unsigned int max_samples = comedi_bytes_to_samples(s, desc->maxsize); in pcl818_ai_setup_dma() local 315 nsamples = comedi_nsamples_left(s, max_samples + unread_samples); in pcl818_ai_setup_dma()
|
D | das16.c | 450 unsigned int max_samples = comedi_bytes_to_samples(s, desc->maxsize); in das16_ai_setup_dma() local 457 nsamples = comedi_nsamples_left(s, max_samples + unread_samples); in das16_ai_setup_dma()
|
/linux-5.19.10/drivers/comedi/ |
D | comedi_buf.c | 624 unsigned int max_samples; in comedi_buf_write_samples() local 632 max_samples = comedi_bytes_to_samples(s, comedi_buf_write_n_unalloc(s)); in comedi_buf_write_samples() 633 if (nsamples > max_samples) { in comedi_buf_write_samples() 636 nsamples = max_samples; in comedi_buf_write_samples() 670 unsigned int max_samples; in comedi_buf_read_samples() local 674 max_samples = comedi_bytes_to_samples(s, in comedi_buf_read_samples() 676 if (nsamples > max_samples) in comedi_buf_read_samples() 677 nsamples = max_samples; in comedi_buf_read_samples()
|