Home
last modified time | relevance | path

Searched refs:intp (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/drivers/media/dvb-frontends/
Dstv0900_sw.c34 int stv0900_check_signal_presence(struct stv0900_internal *intp, in stv0900_check_signal_presence() argument
43 carr_offset = (stv0900_read_reg(intp, CFR2) << 8) in stv0900_check_signal_presence()
44 | stv0900_read_reg(intp, CFR1); in stv0900_check_signal_presence()
46 agc2_integr = (stv0900_read_reg(intp, AGC2I1) << 8) in stv0900_check_signal_presence()
47 | stv0900_read_reg(intp, AGC2I0); in stv0900_check_signal_presence()
48 max_carrier = intp->srch_range[demod] / 1000; in stv0900_check_signal_presence()
52 max_carrier /= intp->mclk / 1000; in stv0900_check_signal_presence()
64 static void stv0900_get_sw_loop_params(struct stv0900_internal *intp, in stv0900_get_sw_loop_params() argument
73 srate = intp->symbol_rate[demod]; in stv0900_get_sw_loop_params()
74 max_carrier = intp->srch_range[demod] / 1000; in stv0900_get_sw_loop_params()
[all …]
Dstv0900_core.c128 void stv0900_write_reg(struct stv0900_internal *intp, u16 reg_addr, in stv0900_write_reg() argument
134 .addr = intp->i2c_addr, in stv0900_write_reg()
144 ret = i2c_transfer(intp->i2c_adap, &i2cmsg, 1); in stv0900_write_reg()
149 u8 stv0900_read_reg(struct stv0900_internal *intp, u16 reg) in stv0900_read_reg() argument
156 .addr = intp->i2c_addr, in stv0900_read_reg()
161 .addr = intp->i2c_addr, in stv0900_read_reg()
168 ret = i2c_transfer(intp->i2c_adap, msg, 2); in stv0900_read_reg()
190 void stv0900_write_bits(struct stv0900_internal *intp, u32 label, u8 val) in stv0900_write_bits() argument
194 reg = stv0900_read_reg(intp, (label >> 16) & 0xffff); in stv0900_write_bits()
200 stv0900_write_reg(intp, (label >> 16) & 0xffff, reg); in stv0900_write_bits()
[all …]
Dstv0900_priv.h397 stv0900_get_freq_auto(struct stv0900_internal *intp, int demod);
400 stv0900_set_tuner_auto(struct stv0900_internal *intp, u32 Frequency,
/Linux-v4.19/sound/core/
Dcontrol_compat.c255 s32 __user *intp = valuep; in copy_ctl_value_from_user() local
257 if (get_user(val, &intp[i])) in copy_ctl_value_from_user()
287 s32 __user *intp = valuep; in copy_ctl_value_to_user() local
290 if (put_user(val, &intp[i])) in copy_ctl_value_to_user()
/Linux-v4.19/drivers/input/mouse/
Dcyapa_gen5.c2221 s32 *intp; in cyapa_gen5_read_panel_scan_raw_data() local
2230 intp = (s32 *)buffer; in cyapa_gen5_read_panel_scan_raw_data()
2278 if (intp) in cyapa_gen5_read_panel_scan_raw_data()
2279 put_unaligned_le32(value, &intp[count]); in cyapa_gen5_read_panel_scan_raw_data()