tnrdmd 28 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c struct cxd2880_tnrdmd tnrdmd; tnrdmd 45 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c static int cxd2880_pre_bit_err_t(struct cxd2880_tnrdmd *tnrdmd, tnrdmd 51 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (!tnrdmd || !pre_bit_err || !pre_bit_count) tnrdmd 54 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (tnrdmd->diver_mode == CXD2880_TNRDMD_DIVERMODE_SUB) tnrdmd 57 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (tnrdmd->state != CXD2880_TNRDMD_STATE_ACTIVE) tnrdmd 60 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (tnrdmd->sys != CXD2880_DTV_SYS_DVBT) tnrdmd 63 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = slvt_freeze_reg(tnrdmd); tnrdmd 67 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = tnrdmd->io->write_reg(tnrdmd->io, tnrdmd 71 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c slvt_unfreeze_reg(tnrdmd); tnrdmd 75 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = tnrdmd->io->read_regs(tnrdmd->io, tnrdmd 79 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c slvt_unfreeze_reg(tnrdmd); tnrdmd 84 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c slvt_unfreeze_reg(tnrdmd); tnrdmd 88 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = tnrdmd->io->read_regs(tnrdmd->io, tnrdmd 92 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c slvt_unfreeze_reg(tnrdmd); tnrdmd 98 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = tnrdmd->io->read_regs(tnrdmd->io, tnrdmd 102 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c slvt_unfreeze_reg(tnrdmd); tnrdmd 106 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c slvt_unfreeze_reg(tnrdmd); tnrdmd 114 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c static int cxd2880_pre_bit_err_t2(struct cxd2880_tnrdmd *tnrdmd, tnrdmd 123 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (!tnrdmd || !pre_bit_err || !pre_bit_count) tnrdmd 126 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (tnrdmd->diver_mode == CXD2880_TNRDMD_DIVERMODE_SUB) tnrdmd 129 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (tnrdmd->state != CXD2880_TNRDMD_STATE_ACTIVE) tnrdmd 132 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (tnrdmd->sys != CXD2880_DTV_SYS_DVBT2) tnrdmd 135 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = slvt_freeze_reg(tnrdmd); tnrdmd 139 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = tnrdmd->io->write_reg(tnrdmd->io, tnrdmd 143 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c slvt_unfreeze_reg(tnrdmd); tnrdmd 147 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = tnrdmd->io->read_regs(tnrdmd->io, tnrdmd 151 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c slvt_unfreeze_reg(tnrdmd); tnrdmd 156 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c slvt_unfreeze_reg(tnrdmd); tnrdmd 162 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = tnrdmd->io->read_regs(tnrdmd->io, tnrdmd 166 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c slvt_unfreeze_reg(tnrdmd); tnrdmd 175 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c slvt_unfreeze_reg(tnrdmd); tnrdmd 177 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = tnrdmd->io->write_reg(tnrdmd->io, tnrdmd 183 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = tnrdmd->io->read_regs(tnrdmd->io, tnrdmd 196 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c static int cxd2880_post_bit_err_t(struct cxd2880_tnrdmd *tnrdmd, tnrdmd 205 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (!tnrdmd || !post_bit_err || !post_bit_count) tnrdmd 208 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (tnrdmd->diver_mode == CXD2880_TNRDMD_DIVERMODE_SUB) tnrdmd 211 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (tnrdmd->state != CXD2880_TNRDMD_STATE_ACTIVE) tnrdmd 214 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (tnrdmd->sys != CXD2880_DTV_SYS_DVBT) tnrdmd 217 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = tnrdmd->io->write_reg(tnrdmd->io, tnrdmd 223 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = tnrdmd->io->read_regs(tnrdmd->io, tnrdmd 234 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = tnrdmd->io->write_reg(tnrdmd->io, tnrdmd 240 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = tnrdmd->io->read_regs(tnrdmd->io, tnrdmd 256 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c static int cxd2880_post_bit_err_t2(struct cxd2880_tnrdmd *tnrdmd, tnrdmd 273 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (!tnrdmd || !post_bit_err || !post_bit_count) tnrdmd 276 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (tnrdmd->diver_mode == CXD2880_TNRDMD_DIVERMODE_SUB) tnrdmd 279 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (tnrdmd->state != CXD2880_TNRDMD_STATE_ACTIVE) tnrdmd 282 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (tnrdmd->sys != CXD2880_DTV_SYS_DVBT2) tnrdmd 285 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = slvt_freeze_reg(tnrdmd); tnrdmd 289 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = tnrdmd->io->write_reg(tnrdmd->io, tnrdmd 293 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c slvt_unfreeze_reg(tnrdmd); tnrdmd 297 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = tnrdmd->io->read_regs(tnrdmd->io, tnrdmd 301 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c slvt_unfreeze_reg(tnrdmd); tnrdmd 306 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c slvt_unfreeze_reg(tnrdmd); tnrdmd 313 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = tnrdmd->io->read_regs(tnrdmd->io, tnrdmd 317 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c slvt_unfreeze_reg(tnrdmd); tnrdmd 324 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = tnrdmd->io->read_regs(tnrdmd->io, tnrdmd 328 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c slvt_unfreeze_reg(tnrdmd); tnrdmd 334 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c slvt_unfreeze_reg(tnrdmd); tnrdmd 336 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = tnrdmd->io->write_reg(tnrdmd->io, tnrdmd 342 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = tnrdmd->io->read_regs(tnrdmd->io, tnrdmd 364 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c static int cxd2880_read_block_err_t(struct cxd2880_tnrdmd *tnrdmd, tnrdmd 371 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (!tnrdmd || !block_err || !block_count) tnrdmd 374 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (tnrdmd->diver_mode == CXD2880_TNRDMD_DIVERMODE_SUB) tnrdmd 377 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (tnrdmd->state != CXD2880_TNRDMD_STATE_ACTIVE) tnrdmd 380 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (tnrdmd->sys != CXD2880_DTV_SYS_DVBT) tnrdmd 383 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = tnrdmd->io->write_reg(tnrdmd->io, tnrdmd 389 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = tnrdmd->io->read_regs(tnrdmd->io, tnrdmd 400 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = tnrdmd->io->write_reg(tnrdmd->io, tnrdmd 406 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = tnrdmd->io->read_regs(tnrdmd->io, tnrdmd 420 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c static int cxd2880_read_block_err_t2(struct cxd2880_tnrdmd *tnrdmd, tnrdmd 427 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (!tnrdmd || !block_err || !block_count) tnrdmd 430 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (tnrdmd->diver_mode == CXD2880_TNRDMD_DIVERMODE_SUB) tnrdmd 433 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (tnrdmd->state != CXD2880_TNRDMD_STATE_ACTIVE) tnrdmd 435 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (tnrdmd->sys != CXD2880_DTV_SYS_DVBT2) tnrdmd 438 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = tnrdmd->io->write_reg(tnrdmd->io, tnrdmd 444 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = tnrdmd->io->read_regs(tnrdmd->io, tnrdmd 455 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = tnrdmd->io->write_reg(tnrdmd->io, tnrdmd 461 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = tnrdmd->io->read_regs(tnrdmd->io, tnrdmd 508 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (priv->tnrdmd.io != &priv->regio) { tnrdmd 509 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_tnrdmd_create(&priv->tnrdmd, tnrdmd 517 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_integ_init(&priv->tnrdmd); tnrdmd 524 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_tnrdmd_set_cfg(&priv->tnrdmd, tnrdmd 552 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_tnrdmd_sleep(&priv->tnrdmd); tnrdmd 579 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_tnrdmd_mon_rf_lvl(&priv->tnrdmd, &level); tnrdmd 620 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_tnrdmd_dvbt_mon_snr(&priv->tnrdmd, tnrdmd 623 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_tnrdmd_dvbt2_mon_snr(&priv->tnrdmd, tnrdmd 658 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_tnrdmd_dvbt_mon_packet_error_number(&priv->tnrdmd, tnrdmd 661 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_tnrdmd_dvbt2_mon_packet_error_number(&priv->tnrdmd, tnrdmd 704 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_tnrdmd_dvbt_mon_tps_info(&priv->tnrdmd, tnrdmd 728 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c struct cxd2880_tnrdmd *tnrdmd = &priv->tnrdmd; tnrdmd 730 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = tnrdmd->io->write_reg(tnrdmd->io, tnrdmd 734 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = tnrdmd->io->read_regs(tnrdmd->io, tnrdmd 771 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c cxd2880_tnrdmd_set_cfg(&priv->tnrdmd, tnrdmd 779 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c cxd2880_tnrdmd_set_cfg(&priv->tnrdmd, tnrdmd 787 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c cxd2880_tnrdmd_set_cfg(&priv->tnrdmd, tnrdmd 826 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_tnrdmd_dvbt2_mon_l1_pre(&priv->tnrdmd, &l1pre); tnrdmd 832 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_tnrdmd_dvbt2_mon_active_plp(&priv->tnrdmd, tnrdmd 839 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_tnrdmd_dvbt2_mon_l1_post(&priv->tnrdmd, &l1post); tnrdmd 893 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c cxd2880_tnrdmd_set_cfg(&priv->tnrdmd, tnrdmd 901 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c cxd2880_tnrdmd_set_cfg(&priv->tnrdmd, tnrdmd 905 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_tnrdmd_dvbt2_mon_bbheader(&priv->tnrdmd, tnrdmd 936 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c cxd2880_tnrdmd_set_cfg(&priv->tnrdmd, tnrdmd 944 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c cxd2880_tnrdmd_set_cfg(&priv->tnrdmd, tnrdmd 948 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c cxd2880_tnrdmd_set_cfg(&priv->tnrdmd, tnrdmd 953 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c cxd2880_tnrdmd_set_cfg(&priv->tnrdmd, tnrdmd 1094 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c priv->tnrdmd.sys = CXD2880_DTV_SYS_DVBT; tnrdmd 1098 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_dvbt_tune(&priv->tnrdmd, tnrdmd 1101 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c priv->tnrdmd.sys = CXD2880_DTV_SYS_DVBT2; tnrdmd 1106 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_dvbt2_tune(&priv->tnrdmd, tnrdmd 1160 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_pre_bit_err_t(&priv->tnrdmd, tnrdmd 1166 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_pre_bit_err_t2(&priv->tnrdmd, tnrdmd 1195 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_post_bit_err_t(&priv->tnrdmd, tnrdmd 1201 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_post_bit_err_t2(&priv->tnrdmd, tnrdmd 1232 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_read_block_err_t(&priv->tnrdmd, tnrdmd 1238 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_read_block_err_t2(&priv->tnrdmd, tnrdmd 1278 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_tnrdmd_dvbt2_check_l1post_valid(&priv->tnrdmd, tnrdmd 1286 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_tnrdmd_dvbt2_mon_data_plp_error(&priv->tnrdmd, tnrdmd 1321 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c if (priv->tnrdmd.state == CXD2880_TNRDMD_STATE_ACTIVE) { tnrdmd 1324 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_tnrdmd_dvbt_mon_sync_stat(&priv->tnrdmd, tnrdmd 1329 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_tnrdmd_dvbt2_mon_sync_stat(&priv->tnrdmd, tnrdmd 1341 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c pr_err("failed. sys = %d\n", priv->tnrdmd.sys); tnrdmd 1427 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_tnrdmd_dvbt_mon_mode_guard(&priv->tnrdmd, tnrdmd 1469 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_tnrdmd_dvbt_mon_tps_info(&priv->tnrdmd, &tps); tnrdmd 1561 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_tnrdmd_dvbt_mon_spectrum_sense(&priv->tnrdmd, &sense); tnrdmd 1582 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_tnrdmd_mon_rf_lvl(&priv->tnrdmd, &strength); tnrdmd 1628 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_tnrdmd_dvbt2_mon_l1_pre(&priv->tnrdmd, &l1pre); tnrdmd 1691 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_tnrdmd_dvbt2_mon_code_rate(&priv->tnrdmd, tnrdmd 1726 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_tnrdmd_dvbt2_mon_qam(&priv->tnrdmd, tnrdmd 1755 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_tnrdmd_dvbt2_mon_spectrum_sense(&priv->tnrdmd, &sense); tnrdmd 1776 drivers/media/dvb-frontends/cxd2880/cxd2880_top.c ret = cxd2880_tnrdmd_mon_rf_lvl(&priv->tnrdmd, &strength);