Lines Matching refs:nscans
460 unsigned int nscans)
471 if (nscans > scans_left)
472 nscans = scans_left;
474 return nscans;
480 * @nscans: The expected number of scans or 0 for all available scans.
482 * If @nscans is 0, it is set to the number of scans available in the
485 * If the async command has a stop_src of %TRIG_COUNT, the @nscans will be
492 unsigned int nscans)
494 if (nscans == 0) {
497 nscans = nbytes / comedi_bytes_per_scan(s);
499 return __comedi_nscans_left(s, nscans);
560 unsigned int nscans = async->scan_progress / scan_length;
562 if (async->scans_done < (UINT_MAX - nscans))
563 async->scans_done += nscans;