Lines Matching refs:temp
108 u8 temp; in af9005_is_fecmon_available() local
114 fec_vtb_rsd_mon_en_len, &temp); in af9005_is_fecmon_available()
117 if (temp & 1) { in af9005_is_fecmon_available()
122 reg_ofsm_read_rbc_en_len, &temp); in af9005_is_fecmon_available()
125 if ((temp & 1) == 0) in af9005_is_fecmon_available()
141 u8 temp, temp0, temp1, temp2; in af9005_get_post_vit_err_cw_count() local
151 &temp); in af9005_get_post_vit_err_cw_count()
154 if (!temp) { in af9005_get_post_vit_err_cw_count()
241 u8 temp, temp0, temp1, temp2; in af9005_get_pre_vit_err_bit_count() local
248 &temp); in af9005_get_pre_vit_err_bit_count()
251 if (!temp) { in af9005_get_pre_vit_err_bit_count()
292 &temp); in af9005_get_pre_vit_err_bit_count()
295 if (temp == 0) { in af9005_get_pre_vit_err_bit_count()
298 } else if (temp == 1) { in af9005_get_pre_vit_err_bit_count()
310 &temp); in af9005_get_pre_vit_err_bit_count()
313 switch (temp) { in af9005_get_pre_vit_err_bit_count()
443 u8 temp; in af9005_fe_read_status() local
451 agc_lock_pos, agc_lock_len, &temp); in af9005_fe_read_status()
454 if (temp) in af9005_fe_read_status()
459 &temp); in af9005_fe_read_status()
462 if (temp) in af9005_fe_read_status()
468 mp2if_sync_byte_locked_pos, &temp); in af9005_fe_read_status()
471 if (temp) in af9005_fe_read_status()
479 reg_strong_sginal_detected_len, &temp); in af9005_fe_read_status()
482 if (temp != state->strong) { in af9005_fe_read_status()
483 deb_info("adjust for strong signal %d\n", temp); in af9005_fe_read_status()
484 state->strong = temp; in af9005_fe_read_status()
778 u8 temp; in af9005_fe_select_bw() local
781 temp = 0; in af9005_fe_select_bw()
784 temp = 1; in af9005_fe_select_bw()
787 temp = 2; in af9005_fe_select_bw()
794 reg_bw_len, temp); in af9005_fe_select_bw()
800 u8 temp = on; in af9005_fe_power() local
803 ret = af9005_send_command(state->d, 0x03, &temp, 1, NULL, 0); in af9005_fe_power()
820 u8 temp, temp0 = 0, temp1 = 0, temp2 = 0; in af9005_fe_init() local
839 xd_I2C_reg_ofdm_rst, &temp))) in af9005_fe_init()
841 if (temp & (regmask[reg_ofdm_rst_len - 1] << reg_ofdm_rst_pos)) in af9005_fe_init()
864 temp = 0x01; in af9005_fe_init()
865 ret = af9005_send_command(state->d, 0x03, &temp, 1, NULL, 0); in af9005_fe_init()
875 temp = regmask[reg_ofdm_rst_len - 1] << reg_ofdm_rst_pos; in af9005_fe_init()
1108 u8 temp, temp0, temp1, temp2; in af9005_fe_set_frontend() local
1199 temp = 0; in af9005_fe_set_frontend()
1200 ret = af9005_write_tuner_registers(state->d, 0xffff, &temp, 1); in af9005_fe_set_frontend()
1234 u8 temp; in af9005_fe_get_frontend() local
1240 &temp); in af9005_fe_get_frontend()
1245 switch (temp) { in af9005_fe_get_frontend()
1264 &temp); in af9005_fe_get_frontend()
1268 switch (temp) { in af9005_fe_get_frontend()
1290 reg_dec_pri_pos, reg_dec_pri_len, &temp); in af9005_fe_get_frontend()
1294 deb_info("PRIORITY %s\n", temp ? "high" : "low"); in af9005_fe_get_frontend()
1300 &temp); in af9005_fe_get_frontend()
1304 switch (temp) { in af9005_fe_get_frontend()
1331 &temp); in af9005_fe_get_frontend()
1335 switch (temp) { in af9005_fe_get_frontend()
1361 reg_tpsd_gi_pos, reg_tpsd_gi_len, &temp); in af9005_fe_get_frontend()
1365 switch (temp) { in af9005_fe_get_frontend()
1388 &temp); in af9005_fe_get_frontend()
1392 switch (temp) { in af9005_fe_get_frontend()
1406 reg_bw_len, &temp); in af9005_fe_get_frontend()
1408 switch (temp) { in af9005_fe_get_frontend()