Home
last modified time | relevance | path

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

/openbmc/linux/drivers/comedi/
H A Ddrivers.c466 unsigned int scans_left = 0; in __comedi_nscans_left() local
469 scans_left = cmd->stop_arg - async->scans_done; in __comedi_nscans_left()
471 if (nscans > scans_left) in __comedi_nscans_left()
472 nscans = scans_left; in __comedi_nscans_left()
516 unsigned long long scans_left; in comedi_nsamples_left() local
522 scans_left = __comedi_nscans_left(s, cmd->stop_arg); in comedi_nsamples_left()
523 if (!scans_left) in comedi_nsamples_left()
526 samples_left = scans_left * cmd->scan_end_arg - in comedi_nsamples_left()