Lines Matching refs:threshold
466 int threshold;
504 /* Now it's time to program the FIFO threshold, basically the
511 * threshold set at half the FIFO size, we have a margin of
523 * the stop count itself as the threshold, the card interrupts
529 * interrupt response) and use that as the threshold. So, if
531 * get 1000 samples, use that as the threshold, take four
535 * samples are requested, we could set the threshold to 1500
538 * Instead, it'll set the threshold at 1266 and take 64
544 * threshold (1500 = 3 * 5^3 * 2^2) and an interrupt count (54
566 * compute the FIFO threshold (in bytes, not samples - that's
579 threshold = nbytes;
581 threshold = DAQP_FIFO_SIZE / 2;
588 /* Set FIFO threshold. First two bytes are near-empty
589 * threshold, which is unused; next two bytes are near-full
590 * threshold. We computed the number of bytes we want in the
599 outb((DAQP_FIFO_SIZE - threshold) & 0xff,
601 outb((DAQP_FIFO_SIZE - threshold) >> 8, dev->iobase + DAQP_AI_FIFO_REG);