Home
last modified time | relevance | path

Searched refs:tnr_dmd (Results 1 – 15 of 15) sorted by relevance

/linux-5.19.10/drivers/media/dvb-frontends/cxd2880/
Dcxd2880_tnrdmd.c204 static int p_init1(struct cxd2880_tnrdmd *tnr_dmd) in p_init1() argument
209 if (!tnr_dmd) in p_init1()
212 ret = tnr_dmd->io->write_reg(tnr_dmd->io, in p_init1()
218 if (tnr_dmd->diver_mode == CXD2880_TNRDMD_DIVERMODE_SINGLE || in p_init1()
219 tnr_dmd->diver_mode == CXD2880_TNRDMD_DIVERMODE_MAIN) { in p_init1()
220 switch (tnr_dmd->create_param.ts_output_if) { in p_init1()
233 ret = tnr_dmd->io->write_reg(tnr_dmd->io, in p_init1()
240 ret = cxd2880_io_write_multi_regs(tnr_dmd->io, in p_init1()
247 switch (tnr_dmd->chip_id) { in p_init1()
258 ret = tnr_dmd->io->write_reg(tnr_dmd->io, in p_init1()
[all …]
Dcxd2880_tnrdmd_dvbt2_mon.c24 *tnr_dmd, u8 *sync_stat, in cxd2880_tnrdmd_dvbt2_mon_sync_stat()
31 if (!tnr_dmd || !sync_stat || !ts_lock_stat || !unlock_detected) in cxd2880_tnrdmd_dvbt2_mon_sync_stat()
34 if (tnr_dmd->state != CXD2880_TNRDMD_STATE_ACTIVE) in cxd2880_tnrdmd_dvbt2_mon_sync_stat()
37 if (tnr_dmd->sys != CXD2880_DTV_SYS_DVBT2) in cxd2880_tnrdmd_dvbt2_mon_sync_stat()
40 ret = tnr_dmd->io->write_reg(tnr_dmd->io, in cxd2880_tnrdmd_dvbt2_mon_sync_stat()
46 ret = tnr_dmd->io->read_regs(tnr_dmd->io, in cxd2880_tnrdmd_dvbt2_mon_sync_stat()
63 *tnr_dmd, in cxd2880_tnrdmd_dvbt2_mon_sync_stat_sub()
69 if (!tnr_dmd || !sync_stat || !unlock_detected) in cxd2880_tnrdmd_dvbt2_mon_sync_stat_sub()
72 if (tnr_dmd->diver_mode != CXD2880_TNRDMD_DIVERMODE_MAIN) in cxd2880_tnrdmd_dvbt2_mon_sync_stat_sub()
75 return cxd2880_tnrdmd_dvbt2_mon_sync_stat(tnr_dmd->diver_sub, in cxd2880_tnrdmd_dvbt2_mon_sync_stat_sub()
[all …]
Dcxd2880_tnrdmd_dvbt_mon.c22 static int is_tps_locked(struct cxd2880_tnrdmd *tnr_dmd);
25 *tnr_dmd, u8 *sync_stat, in cxd2880_tnrdmd_dvbt_mon_sync_stat()
32 if (!tnr_dmd || !sync_stat || !ts_lock_stat || !unlock_detected) in cxd2880_tnrdmd_dvbt_mon_sync_stat()
35 if (tnr_dmd->state != CXD2880_TNRDMD_STATE_ACTIVE) in cxd2880_tnrdmd_dvbt_mon_sync_stat()
37 if (tnr_dmd->sys != CXD2880_DTV_SYS_DVBT) in cxd2880_tnrdmd_dvbt_mon_sync_stat()
40 ret = tnr_dmd->io->write_reg(tnr_dmd->io, in cxd2880_tnrdmd_dvbt_mon_sync_stat()
46 ret = tnr_dmd->io->read_regs(tnr_dmd->io, in cxd2880_tnrdmd_dvbt_mon_sync_stat()
63 *tnr_dmd, u8 *sync_stat, in cxd2880_tnrdmd_dvbt_mon_sync_stat_sub()
68 if (!tnr_dmd || !sync_stat || !unlock_detected) in cxd2880_tnrdmd_dvbt_mon_sync_stat_sub()
71 if (tnr_dmd->diver_mode != CXD2880_TNRDMD_DIVERMODE_MAIN) in cxd2880_tnrdmd_dvbt_mon_sync_stat_sub()
[all …]
Dcxd2880_tnrdmd_dvbt2.c24 *tnr_dmd, in x_tune_dvbt2_demod_setting()
162 if (!tnr_dmd) in x_tune_dvbt2_demod_setting()
165 ret = cxd2880_io_write_multi_regs(tnr_dmd->io, in x_tune_dvbt2_demod_setting()
172 ret = cxd2880_io_write_multi_regs(tnr_dmd->io, in x_tune_dvbt2_demod_setting()
179 if (tnr_dmd->diver_mode != CXD2880_TNRDMD_DIVERMODE_SUB) { in x_tune_dvbt2_demod_setting()
180 ret = tnr_dmd->io->write_reg(tnr_dmd->io, in x_tune_dvbt2_demod_setting()
186 ret = tnr_dmd->io->write_regs(tnr_dmd->io, in x_tune_dvbt2_demod_setting()
193 ret = tnr_dmd->io->write_reg(tnr_dmd->io, in x_tune_dvbt2_demod_setting()
199 ret = tnr_dmd->io->write_reg(tnr_dmd->io, in x_tune_dvbt2_demod_setting()
205 ret = tnr_dmd->io->write_reg(tnr_dmd->io, in x_tune_dvbt2_demod_setting()
[all …]
Dcxd2880_tnrdmd_dvbt.c45 *tnr_dmd, in x_tune_dvbt_demod_setting()
102 if (!tnr_dmd) in x_tune_dvbt_demod_setting()
105 ret = cxd2880_io_write_multi_regs(tnr_dmd->io, in x_tune_dvbt_demod_setting()
112 ret = tnr_dmd->io->write_reg(tnr_dmd->io, in x_tune_dvbt_demod_setting()
132 ret = tnr_dmd->io->write_regs(tnr_dmd->io, in x_tune_dvbt_demod_setting()
138 ret = tnr_dmd->io->write_reg(tnr_dmd->io, in x_tune_dvbt_demod_setting()
144 if (tnr_dmd->diver_mode != CXD2880_TNRDMD_DIVERMODE_SUB) { in x_tune_dvbt_demod_setting()
147 ret = tnr_dmd->io->write_reg(tnr_dmd->io, in x_tune_dvbt_demod_setting()
153 ret = tnr_dmd->io->write_regs(tnr_dmd->io, in x_tune_dvbt_demod_setting()
160 ret = cxd2880_io_write_multi_regs(tnr_dmd->io, in x_tune_dvbt_demod_setting()
[all …]
Dcxd2880_tnrdmd_mon.c17 int cxd2880_tnrdmd_mon_rf_lvl(struct cxd2880_tnrdmd *tnr_dmd, in cxd2880_tnrdmd_mon_rf_lvl() argument
23 if (!tnr_dmd || !rf_lvl_db) in cxd2880_tnrdmd_mon_rf_lvl()
26 if (tnr_dmd->state != CXD2880_TNRDMD_STATE_ACTIVE) in cxd2880_tnrdmd_mon_rf_lvl()
29 ret = tnr_dmd->io->write_reg(tnr_dmd->io, in cxd2880_tnrdmd_mon_rf_lvl()
35 ret = tnr_dmd->io->write_reg(tnr_dmd->io, in cxd2880_tnrdmd_mon_rf_lvl()
41 ret = tnr_dmd->io->write_reg(tnr_dmd->io, in cxd2880_tnrdmd_mon_rf_lvl()
47 ret = tnr_dmd->io->write_regs(tnr_dmd->io, in cxd2880_tnrdmd_mon_rf_lvl()
55 ret = tnr_dmd->io->write_reg(tnr_dmd->io, in cxd2880_tnrdmd_mon_rf_lvl()
61 ret = tnr_dmd->io->read_regs(tnr_dmd->io, in cxd2880_tnrdmd_mon_rf_lvl()
70 ret = tnr_dmd->io->read_regs(tnr_dmd->io, in cxd2880_tnrdmd_mon_rf_lvl()
[all …]
Dcxd2880_tnrdmd_dvbt2_mon.h17 *tnr_dmd, u8 *sync_stat,
22 *tnr_dmd,
27 *tnr_dmd, int *offset);
31 *tnr_dmd,
34 int cxd2880_tnrdmd_dvbt2_mon_l1_pre(struct cxd2880_tnrdmd *tnr_dmd,
39 *tnr_dmd,
43 int cxd2880_tnrdmd_dvbt2_mon_ofdm(struct cxd2880_tnrdmd *tnr_dmd,
47 *tnr_dmd, u8 *plp_ids,
51 *tnr_dmd,
59 *tnr_dmd,
[all …]
Dcxd2880_tnrdmd.h23 #define slvt_unfreeze_reg(tnr_dmd) ((void)((tnr_dmd)->io->write_reg\ argument
24 ((tnr_dmd)->io, CXD2880_IO_TGT_DMD, 0x01, 0x00)))
213 int (*rf_lvl_cmpstn)(struct cxd2880_tnrdmd *tnr_dmd,
236 int cxd2880_tnrdmd_create(struct cxd2880_tnrdmd *tnr_dmd,
250 int cxd2880_tnrdmd_init1(struct cxd2880_tnrdmd *tnr_dmd);
252 int cxd2880_tnrdmd_init2(struct cxd2880_tnrdmd *tnr_dmd);
255 *tnr_dmd,
259 *tnr_dmd,
267 *tnr_dmd,
271 int cxd2880_tnrdmd_sleep(struct cxd2880_tnrdmd *tnr_dmd);
[all …]
Dcxd2880_tnrdmd_dvbt_mon.h17 *tnr_dmd, u8 *sync_stat,
22 *tnr_dmd, u8 *sync_stat,
26 *tnr_dmd,
33 *tnr_dmd, int *offset);
37 *tnr_dmd,
41 *tnr_dmd,
47 *tnr_dmd,
51 *tnr_dmd,
56 int cxd2880_tnrdmd_dvbt_mon_snr(struct cxd2880_tnrdmd *tnr_dmd,
60 *tnr_dmd, int *snr,
[all …]
Dcxd2880_integ.c17 int cxd2880_integ_init(struct cxd2880_tnrdmd *tnr_dmd) in cxd2880_integ_init() argument
23 if (!tnr_dmd) in cxd2880_integ_init()
26 ret = cxd2880_tnrdmd_init1(tnr_dmd); in cxd2880_integ_init()
34 cxd2880_tnrdmd_check_internal_cpu_status(tnr_dmd, in cxd2880_integ_init()
50 return cxd2880_tnrdmd_init2(tnr_dmd); in cxd2880_integ_init()
53 int cxd2880_integ_cancel(struct cxd2880_tnrdmd *tnr_dmd) in cxd2880_integ_cancel() argument
55 if (!tnr_dmd) in cxd2880_integ_cancel()
58 atomic_set(&tnr_dmd->cancel, 1); in cxd2880_integ_cancel()
63 int cxd2880_integ_check_cancellation(struct cxd2880_tnrdmd *tnr_dmd) in cxd2880_integ_check_cancellation() argument
65 if (!tnr_dmd) in cxd2880_integ_check_cancellation()
[all …]
Dcxd2880_tnrdmd_dvbt2.h31 int cxd2880_tnrdmd_dvbt2_tune1(struct cxd2880_tnrdmd *tnr_dmd,
35 int cxd2880_tnrdmd_dvbt2_tune2(struct cxd2880_tnrdmd *tnr_dmd,
40 *tnr_dmd);
43 *tnr_dmd,
49 *tnr_dmd,
55 *tnr_dmd, u8 auto_plp,
59 *tnr_dmd);
62 *tnr_dmd,
Dcxd2880_tnrdmd_dvbt.h22 int cxd2880_tnrdmd_dvbt_tune1(struct cxd2880_tnrdmd *tnr_dmd,
26 int cxd2880_tnrdmd_dvbt_tune2(struct cxd2880_tnrdmd *tnr_dmd,
31 *tnr_dmd);
34 *tnr_dmd,
40 *tnr_dmd,
Dcxd2880_tnrdmd_mon.h16 int cxd2880_tnrdmd_mon_rf_lvl(struct cxd2880_tnrdmd *tnr_dmd,
19 int cxd2880_tnrdmd_mon_rf_lvl_sub(struct cxd2880_tnrdmd *tnr_dmd,
23 *tnr_dmd, u16 *status);
27 *tnr_dmd,
Dcxd2880_integ.h20 int cxd2880_integ_init(struct cxd2880_tnrdmd *tnr_dmd);
22 int cxd2880_integ_cancel(struct cxd2880_tnrdmd *tnr_dmd);
25 *tnr_dmd);
Dcxd2880_top.c959 static int cxd2880_dvbt_tune(struct cxd2880_tnrdmd *tnr_dmd, in cxd2880_dvbt_tune() argument
965 if (!tnr_dmd || !tune_param) in cxd2880_dvbt_tune()
968 if (tnr_dmd->diver_mode == CXD2880_TNRDMD_DIVERMODE_SUB) in cxd2880_dvbt_tune()
971 if (tnr_dmd->state != CXD2880_TNRDMD_STATE_SLEEP && in cxd2880_dvbt_tune()
972 tnr_dmd->state != CXD2880_TNRDMD_STATE_ACTIVE) in cxd2880_dvbt_tune()
975 atomic_set(&tnr_dmd->cancel, 0); in cxd2880_dvbt_tune()
984 ret = cxd2880_tnrdmd_dvbt_tune1(tnr_dmd, tune_param); in cxd2880_dvbt_tune()
991 return cxd2880_tnrdmd_dvbt_tune2(tnr_dmd, tune_param); in cxd2880_dvbt_tune()
994 static int cxd2880_dvbt2_tune(struct cxd2880_tnrdmd *tnr_dmd, in cxd2880_dvbt2_tune() argument
1000 if (!tnr_dmd || !tune_param) in cxd2880_dvbt2_tune()
[all …]