Searched refs:captrim (Results 1 - 2 of 2) sorted by relevance
/linux-4.1.27/drivers/media/dvb-frontends/ |
H A D | dib0070.c | 64 /* for the captrim binary search */ 68 s8 captrim; member in struct:dib0070_state 194 state->step = state->captrim = state->fcaptrim = 64; dib0070_captrim() 201 dib0070_write_reg(state, 0x14, state->lo4 | state->captrim); dib0070_captrim() 209 dprintk("CAPTRIM=%hd; ADC = %hd (ADC) & %dmV", state->captrim, adc, (u32) adc*(u32)1800/(u32)1024); dib0070_captrim() 220 dprintk("CAPTRIM=%hd is closer to target (%hd/%hd)", state->captrim, adc, state->adc_diff); dib0070_captrim() 222 state->fcaptrim = state->captrim; dib0070_captrim() 227 state->captrim += (step_sign * state->step); dib0070_captrim()
|
H A D | dib0090.c | 165 /* for the captrim/dc-offset search */ 170 s8 captrim; member in struct:dib0090_state 2096 /* prepare a complete captrim */ dib0090_captrim_search() 2098 state->step = state->captrim = state->fcaptrim = 64; dib0090_captrim_search() 2103 /* do a minimal captrim even if the frequency has not changed */ dib0090_captrim_search() 2105 state->captrim = state->fcaptrim = dib0090_read_reg(state, 0x18) & 0x7f; dib0090_captrim_search() 2120 dib0090_write_reg(state, 0x18, lo4 | state->captrim); dib0090_captrim_search() 2139 dprintk("CAPTRIM=%d; ADC = %d (ADC) & %dmV", (u32) state->captrim, (u32) adc, (u32) (adc) * (u32) 1800 / (u32) 1024); dib0090_captrim_search() 2141 if (state->rest == 0 || state->identity.in_soc) { /* Just for 8090P SOCS where auto captrim HW bug : TO CHECK IN ACI for SOCS !!! if 400 for 8090p SOC => tune issue !!! */ dib0090_captrim_search() 2155 dprintk("CAPTRIM=%d is closer to target (%d/%d)", (u32) state->captrim, (u32) adc, (u32) state->adc_diff); dib0090_captrim_search() 2157 state->fcaptrim = state->captrim; dib0090_captrim_search() 2160 state->captrim += step_sign * state->step; dib0090_captrim_search() 2461 state->calibrate = CAPTRIM_CAL; /* captrim serach now */ dib0090_tune() 2464 else if (*tune_state == CT_TUNER_STEP_0) { /* Warning : because of captrim cal, if you change this step, change it also in _cal.c file because it is the step following captrim cal state machine */ dib0090_tune()
|
Completed in 92 milliseconds