adc_diff           50 drivers/media/dvb-frontends/dib0070.c 	u16 adc_diff;
adc_diff          178 drivers/media/dvb-frontends/dib0070.c 		state->adc_diff = 3000;
adc_diff          202 drivers/media/dvb-frontends/dib0070.c 		if (adc < state->adc_diff) {
adc_diff          203 drivers/media/dvb-frontends/dib0070.c 			dprintk("CAPTRIM=%hd is closer to target (%hd/%hd)\n", state->captrim, adc, state->adc_diff);
adc_diff          204 drivers/media/dvb-frontends/dib0070.c 			state->adc_diff = adc;
adc_diff          151 drivers/media/dvb-frontends/dib0090.c 	s16 adc_diff;
adc_diff         1606 drivers/media/dvb-frontends/dib0090.c 		state->adc_diff = dib0090_read_reg(state, 0x1d);
adc_diff         1614 drivers/media/dvb-frontends/dib0090.c 		state->adc_diff -= dib0090_read_reg(state, 0x1d);
adc_diff         1721 drivers/media/dvb-frontends/dib0090.c 		dprintk("adc_diff = %d, current step= %d\n", (u32) state->adc_diff, state->step);
adc_diff         1722 drivers/media/dvb-frontends/dib0090.c 		if (state->step == 0 && state->adc_diff < 0) {
adc_diff         1727 drivers/media/dvb-frontends/dib0090.c 		dprintk("adc_diff = %d, min_adc_diff = %d current_step = %d\n", state->adc_diff, state->min_adc_diff, state->step);
adc_diff         1731 drivers/media/dvb-frontends/dib0090.c 			if (state->dc->pga && state->adc_diff < 0)
adc_diff         1733 drivers/media/dvb-frontends/dib0090.c 			if (state->dc->pga == 0 && state->adc_diff > 0)
adc_diff         1738 drivers/media/dvb-frontends/dib0090.c 		if ((state->adc_diff & 0x8000) == (state->min_adc_diff & 0x8000) && steps(state->step) < 15) {
adc_diff         1741 drivers/media/dvb-frontends/dib0090.c 			state->min_adc_diff = state->adc_diff;
adc_diff         1745 drivers/media/dvb-frontends/dib0090.c 			if (abs(state->adc_diff) > abs(state->min_adc_diff)) {
adc_diff         1746 drivers/media/dvb-frontends/dib0090.c 				dprintk("Since adc_diff N = %d  > adc_diff step N-1 = %d, Come back one step\n", state->adc_diff, state->min_adc_diff);
adc_diff         1751 drivers/media/dvb-frontends/dib0090.c 			dprintk("BB Offset Cal, BBreg=%hd,Offset=%hd,Value Set=%hd\n", state->dc->addr, state->adc_diff, state->step);
adc_diff         2104 drivers/media/dvb-frontends/dib0090.c 		state->adc_diff = 3000;
adc_diff         2150 drivers/media/dvb-frontends/dib0090.c 			if (adc < state->adc_diff) {
adc_diff         2151 drivers/media/dvb-frontends/dib0090.c 				dprintk("CAPTRIM=%d is closer to target (%d/%d)\n", (u32) state->captrim, (u32) adc, (u32) state->adc_diff);
adc_diff         2152 drivers/media/dvb-frontends/dib0090.c 				state->adc_diff = adc;
adc_diff         2196 drivers/media/dvb-frontends/dib0090.c 		state->adc_diff = dib0090_get_slow_adc_val(state);
adc_diff         2203 drivers/media/dvb-frontends/dib0090.c 		state->temperature = ((s16) ((val - state->adc_diff) * 180) >> 8) + 55;