Home
last modified time | relevance | path

Searched refs:temp_idx (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/sbus/char/
H A Dbbc_envctrl.c447 int temp_idx) in attach_one_temp() argument
465 tp->index = temp_idx; in attach_one_temp()
/OK3568_Linux_fs/kernel/drivers/thermal/qcom/
H A Dtsens.c582 u32 temp_idx = LAST_TEMP_0 + hw_id; in get_temp_tsens_valid() local
602 *temp = tsens_hw_to_mC(s, temp_idx); in get_temp_tsens_valid()
/OK3568_Linux_fs/kernel/drivers/power/supply/
H A Drk816_battery.c3854 static int temp_idx, temperature_sum, last_avg_temp, curr_avg_temp; in rk816_bat_update_ocv_table() local
3872 temperature_sum -= temp_record_table[temp_idx]; in rk816_bat_update_ocv_table()
3875 temp_record_table[temp_idx] = curr_temp; in rk816_bat_update_ocv_table()
3882 temp_idx = (temp_idx + 1) % TEMP_RECORD_NUM; in rk816_bat_update_ocv_table()
3885 __func__, temp_idx, curr_temp, last_avg_temp, curr_avg_temp); in rk816_bat_update_ocv_table()
/OK3568_Linux_fs/kernel/drivers/scsi/lpfc/
H A Dlpfc_init.c14073 unsigned int temp_idx; in lpfc_dmp_dbg() local
14086 temp_idx = start_idx; in lpfc_dmp_dbg()
14089 temp_idx -= 1; in lpfc_dmp_dbg()
14092 temp_idx = (start_idx + dbg_cnt) % DBG_LOG_SZ; in lpfc_dmp_dbg()
14101 start_idx, temp_idx, dbg_cnt); in lpfc_dmp_dbg()
14105 temp_idx = (start_idx + i) % DBG_LOG_SZ; in lpfc_dmp_dbg()
14107 temp_idx = j++; in lpfc_dmp_dbg()
14108 rem_nsec = do_div(phba->dbg_log[temp_idx].t_ns, NSEC_PER_SEC); in lpfc_dmp_dbg()
14110 temp_idx, in lpfc_dmp_dbg()
14111 (unsigned long)phba->dbg_log[temp_idx].t_ns, in lpfc_dmp_dbg()
[all …]