Searched refs:intp (Results 1 – 3 of 3) sorted by relevance
/linux-2.6.39/drivers/media/dvb/frontends/ |
D | stv0900_sw.c | 38 int stv0900_check_signal_presence(struct stv0900_internal *intp, in stv0900_check_signal_presence() argument 47 carr_offset = (stv0900_read_reg(intp, CFR2) << 8) in stv0900_check_signal_presence() 48 | stv0900_read_reg(intp, CFR1); in stv0900_check_signal_presence() 50 agc2_integr = (stv0900_read_reg(intp, AGC2I1) << 8) in stv0900_check_signal_presence() 51 | stv0900_read_reg(intp, AGC2I0); in stv0900_check_signal_presence() 52 max_carrier = intp->srch_range[demod] / 1000; in stv0900_check_signal_presence() 56 max_carrier /= intp->mclk / 1000; in stv0900_check_signal_presence() 68 static void stv0900_get_sw_loop_params(struct stv0900_internal *intp, in stv0900_get_sw_loop_params() argument 77 srate = intp->symbol_rate[demod]; in stv0900_get_sw_loop_params() 78 max_carrier = intp->srch_range[demod] / 1000; in stv0900_get_sw_loop_params() [all …]
|
D | stv0900_core.c | 132 void stv0900_write_reg(struct stv0900_internal *intp, u16 reg_addr, in stv0900_write_reg() argument 138 .addr = intp->i2c_addr, in stv0900_write_reg() 148 ret = i2c_transfer(intp->i2c_adap, &i2cmsg, 1); in stv0900_write_reg() 153 u8 stv0900_read_reg(struct stv0900_internal *intp, u16 reg) in stv0900_read_reg() argument 160 .addr = intp->i2c_addr, in stv0900_read_reg() 165 .addr = intp->i2c_addr, in stv0900_read_reg() 172 ret = i2c_transfer(intp->i2c_adap, msg, 2); in stv0900_read_reg() 194 void stv0900_write_bits(struct stv0900_internal *intp, u32 label, u8 val) in stv0900_write_bits() argument 198 reg = stv0900_read_reg(intp, (label >> 16) & 0xffff); in stv0900_write_bits() 204 stv0900_write_reg(intp, (label >> 16) & 0xffff, reg); in stv0900_write_bits() [all …]
|
D | stv0900_priv.h | 402 stv0900_get_freq_auto(struct stv0900_internal *intp, int demod); 405 stv0900_set_tuner_auto(struct stv0900_internal *intp, u32 Frequency,
|