Lines Matching refs:rdata

29 	u8 rdata = 0x00;  in cxd2880_tnrdmd_dvbt_mon_sync_stat()  local
48 0x10, &rdata, 1); in cxd2880_tnrdmd_dvbt_mon_sync_stat()
52 *unlock_detected = (rdata & 0x10) ? 1 : 0; in cxd2880_tnrdmd_dvbt_mon_sync_stat()
53 *sync_stat = rdata & 0x07; in cxd2880_tnrdmd_dvbt_mon_sync_stat()
54 *ts_lock_stat = (rdata & 0x20) ? 1 : 0; in cxd2880_tnrdmd_dvbt_mon_sync_stat()
87 u8 rdata = 0x00; in cxd2880_tnrdmd_dvbt_mon_mode_guard() local
125 0x1b, &rdata, 1); in cxd2880_tnrdmd_dvbt_mon_mode_guard()
133 *mode = (enum cxd2880_dvbt_mode)((rdata >> 2) & 0x03); in cxd2880_tnrdmd_dvbt_mon_mode_guard()
134 *guard = (enum cxd2880_dvbt_guard)(rdata & 0x03); in cxd2880_tnrdmd_dvbt_mon_mode_guard()
142 u8 rdata[4]; in cxd2880_tnrdmd_dvbt_mon_carrier_offset() local
175 0x1d, rdata, 4); in cxd2880_tnrdmd_dvbt_mon_carrier_offset()
184 ((rdata[0] & 0x1f) << 24) | (rdata[1] << 16) | (rdata[2] << 8) | in cxd2880_tnrdmd_dvbt_mon_carrier_offset()
185 (rdata[3]); in cxd2880_tnrdmd_dvbt_mon_carrier_offset()
212 u8 rdata[7]; in cxd2880_tnrdmd_dvbt_mon_tps_info() local
251 0x29, rdata, 7); in cxd2880_tnrdmd_dvbt_mon_tps_info()
276 (enum cxd2880_dvbt_constellation)((rdata[0] >> 6) & 0x03); in cxd2880_tnrdmd_dvbt_mon_tps_info()
277 info->hierarchy = (enum cxd2880_dvbt_hierarchy)((rdata[0] >> 3) & 0x07); in cxd2880_tnrdmd_dvbt_mon_tps_info()
278 info->rate_hp = (enum cxd2880_dvbt_coderate)(rdata[0] & 0x07); in cxd2880_tnrdmd_dvbt_mon_tps_info()
279 info->rate_lp = (enum cxd2880_dvbt_coderate)((rdata[1] >> 5) & 0x07); in cxd2880_tnrdmd_dvbt_mon_tps_info()
280 info->guard = (enum cxd2880_dvbt_guard)((rdata[1] >> 3) & 0x03); in cxd2880_tnrdmd_dvbt_mon_tps_info()
281 info->mode = (enum cxd2880_dvbt_mode)((rdata[1] >> 1) & 0x03); in cxd2880_tnrdmd_dvbt_mon_tps_info()
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()
284 info->cell_id = (rdata[3] << 8) | rdata[4]; in cxd2880_tnrdmd_dvbt_mon_tps_info()
285 info->reserved_even = rdata[5] & 0x3f; in cxd2880_tnrdmd_dvbt_mon_tps_info()
286 info->reserved_odd = rdata[6] & 0x3f; in cxd2880_tnrdmd_dvbt_mon_tps_info()
298 u8 rdata[3]; in cxd2880_tnrdmd_dvbt_mon_packet_error_number() local
321 0x26, rdata, 3); in cxd2880_tnrdmd_dvbt_mon_packet_error_number()
325 if (!(rdata[0] & 0x01)) in cxd2880_tnrdmd_dvbt_mon_packet_error_number()
328 *pen = (rdata[1] << 8) | rdata[2]; in cxd2880_tnrdmd_dvbt_mon_packet_error_number()
394 u8 rdata[2]; in dvbt_read_snr_reg() local
420 0x13, rdata, 2); in dvbt_read_snr_reg()
428 *reg_value = (rdata[0] << 8) | rdata[1]; in dvbt_read_snr_reg()