Lines Matching defs:first
1527 int ctr, channel, first, last, stride, step = dev->CIS.line_step;
1532 first = MUSTEK_PP_CIS_CHANNEL_RED;
1538 first = MUSTEK_PP_CIS_CHANNEL_GRAY;
1555 for (channel = first; channel <= last; ++channel)
1561 dest = buf + channel - first;
1638 int i, j, pixel, channel, minExposeTime, first, last;
1667 first = MUSTEK_PP_CIS_CHANNEL_RED;
1672 first = MUSTEK_PP_CIS_CHANNEL_GRAY;
1676 dev->CIS.channel = first;
1682 for (channel = first; channel <= last; ++channel)
1695 /* Scan 4 lines, but ignore the first 3 ones. */
1698 for (channel = first; channel <= last; ++channel)
1706 for (channel = first; channel <= last; ++channel)
1734 for (channel = first; channel <= last; ++channel)
1770 SANE_Int pixels, SANE_Int first, SANE_Int last)
1782 dev->CIS.channel = first;
1784 /* Purge the banks first (there's always a 3-cycle delay) */
1785 for (channel = first; channel <= last; ++channel)
1795 for (channel = first; channel <= last; ++channel)
1814 for (channel = first; channel <= last; ++channel)
1834 SANE_Int channel, p, first, last;
1838 first = MUSTEK_PP_CIS_CHANNEL_RED;
1843 first = MUSTEK_PP_CIS_CHANNEL_GRAY;
1849 if (!cis_measure_extremes(dev, dev->calib_hi, pixels, first, last)) {
1854 for (channel=first; channel<=last; ++channel) {
1860 if (!cis_measure_extremes(dev, dev->calib_low, pixels, first, last)) {
1865 for (channel=first; channel<=last; ++channel) {
1870 for (channel = first; channel <= last; ++channel) {
1944 * tried first, and then they try the normal mode. I haven't figured out