Lines Matching refs:nscans
460 unsigned int nscans) in __comedi_nscans_left() argument
471 if (nscans > scans_left) in __comedi_nscans_left()
472 nscans = scans_left; in __comedi_nscans_left()
474 return nscans; in __comedi_nscans_left()
492 unsigned int nscans) in comedi_nscans_left() argument
494 if (nscans == 0) { in comedi_nscans_left()
497 nscans = nbytes / comedi_bytes_per_scan(s); in comedi_nscans_left()
499 return __comedi_nscans_left(s, nscans); in comedi_nscans_left()
560 unsigned int nscans = async->scan_progress / scan_length; in comedi_inc_scan_progress() local
562 if (async->scans_done < (UINT_MAX - nscans)) in comedi_inc_scan_progress()
563 async->scans_done += nscans; in comedi_inc_scan_progress()