Lines Matching refs:gain
4 AFE offset/gain setting by David Stevenson <david.stevenson@zoom.co.uk>
990 /* AFE offset/gain automatic configuration */
1179 DBG (4, "%5s white=%3d, black=%3d, offset=%2d, gain=%2d, old offs=%2d, "
1180 "old gain=%2d, total_white=%5d %s\n", color_name, values->white,
1283 /** Select best AFE gain and offset parameters.
1293 * - #SANE_STATUS_GOOD - gain and offset setting completed successfully
1563 SANE_Byte *offset, *old_offset, *gain, *old_gain;
1576 gain = &afe->r_pga;
1583 gain = &afe->g_pga;
1590 gain = &afe->b_pga;
1595 g = *gain;
1663 if ((g == *gain) && (o == *offset))
1668 *old_gain = *gain;
1671 DBG (4, "%5s white=%3d, black=%3d, offset=0x%02X, gain=0x%02X, old offs=0x%02X, "
1672 "old gain=0x%02X, total_white=%5d %s\n", color_name, values->white,
1673 values->black, o, g, *offset, *gain, values->total_white,
1676 *gain = g;