Lines Matching +full:2 +full:ppm
133 *mode = (enum cxd2880_dvbt_mode)((rdata >> 2) & 0x03); in cxd2880_tnrdmd_dvbt_mon_mode_guard()
184 ((rdata[0] & 0x1f) << 24) | (rdata[1] << 16) | (rdata[2] << 8) | in cxd2880_tnrdmd_dvbt_mon_carrier_offset()
282 info->fnum = (rdata[2] >> 6) & 0x03; in cxd2880_tnrdmd_dvbt_mon_tps_info()
283 info->length_indicator = rdata[2] & 0x3f; in cxd2880_tnrdmd_dvbt_mon_tps_info()
328 *pen = (rdata[1] << 8) | rdata[2]; in cxd2880_tnrdmd_dvbt_mon_packet_error_number()
394 u8 rdata[2]; in dvbt_read_snr_reg()
420 0x13, rdata, 2); in dvbt_read_snr_reg()
543 *tnr_dmd, int *ppm) in cxd2880_tnrdmd_dvbt_mon_sampling_offset() argument
554 if (!tnr_dmd || !ppm) in cxd2880_tnrdmd_dvbt_mon_sampling_offset()
616 trl_ctl_val |= ctl_val_reg[2] << 16; in cxd2880_tnrdmd_dvbt_mon_sampling_offset()
621 trcg_nominal_rate |= nominal_rate_reg[2] << 16; in cxd2880_tnrdmd_dvbt_mon_sampling_offset()
641 den |= nominal_rate_reg[2] << 8; in cxd2880_tnrdmd_dvbt_mon_sampling_offset()
643 den = (den + (390625 / 2)) / 390625; in cxd2880_tnrdmd_dvbt_mon_sampling_offset()
648 *ppm = (num + (den / 2)) / den; in cxd2880_tnrdmd_dvbt_mon_sampling_offset()
650 *ppm = (num - (den / 2)) / den; in cxd2880_tnrdmd_dvbt_mon_sampling_offset()
657 *tnr_dmd, int *ppm) in cxd2880_tnrdmd_dvbt_mon_sampling_offset_sub() argument
659 if (!tnr_dmd || !ppm) in cxd2880_tnrdmd_dvbt_mon_sampling_offset_sub()
665 return cxd2880_tnrdmd_dvbt_mon_sampling_offset(tnr_dmd->diver_sub, ppm); in cxd2880_tnrdmd_dvbt_mon_sampling_offset_sub()
692 temp_ssi = ((2 * (prel + 15000)) + 1500) / 3000; in dvbt_calc_ssi()
696 temp_ssi = (((2 * (prel - 20000)) + 1500) / 3000) + 90; in dvbt_calc_ssi()