Lines Matching refs:nscans
461 unsigned int nscans) in __comedi_nscans_left() argument
472 if (nscans > scans_left) in __comedi_nscans_left()
473 nscans = scans_left; in __comedi_nscans_left()
475 return nscans; in __comedi_nscans_left()
493 unsigned int nscans) in comedi_nscans_left() argument
495 if (nscans == 0) { in comedi_nscans_left()
498 nscans = nbytes / comedi_bytes_per_scan(s); in comedi_nscans_left()
500 return __comedi_nscans_left(s, nscans); in comedi_nscans_left()
561 unsigned int nscans = async->scan_progress / scan_length; in comedi_inc_scan_progress() local
563 if (async->scans_done < (UINT_MAX - nscans)) in comedi_inc_scan_progress()
564 async->scans_done += nscans; in comedi_inc_scan_progress()