Searched refs:num_scans (Results 1 – 2 of 2) sorted by relevance
508 unsigned int num_scans = comedi_nscans_left(s, 0); in pci224_ao_handle_fifo() local538 if (num_scans == 0) { in pci224_ao_handle_fifo()548 if (num_scans > room) in pci224_ao_handle_fifo()549 num_scans = room; in pci224_ao_handle_fifo()552 for (n = 0; n < num_scans; n++) { in pci224_ao_handle_fifo()
1096 unsigned int num_scans = comedi_nscans_left(s, 0); in pci230_handle_ao_fifo() local1105 if (cmd->stop_src == TRIG_COUNT && num_scans == 0) in pci230_handle_ao_fifo()1119 if (num_scans == 0 && in pci230_handle_ao_fifo()1138 if (num_scans > room) in pci230_handle_ao_fifo()1139 num_scans = room; in pci230_handle_ao_fifo()1141 for (n = 0; n < num_scans; n++) { in pci230_handle_ao_fifo()