Home
last modified time | relevance | path

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

/openbmc/linux/drivers/thermal/
H A Drockchip_thermal.c995 u32 tshut_value, val; in rk_tsadcv2_tshut_temp() local
998 tshut_value = rk_tsadcv2_temp_to_code(table, temp); in rk_tsadcv2_tshut_temp()
999 if (tshut_value == table->data_mask) in rk_tsadcv2_tshut_temp()
1002 writel_relaxed(tshut_value, regs + TSADCV2_COMP_SHUT(chn)); in rk_tsadcv2_tshut_temp()
1014 u32 tshut_value; in rk_tsadcv3_tshut_temp() local
1017 tshut_value = rk_tsadcv2_temp_to_code(table, temp); in rk_tsadcv3_tshut_temp()
1018 if (tshut_value == table->data_mask) in rk_tsadcv3_tshut_temp()
1021 writel_relaxed(tshut_value, regs + TSADCV3_COMP_SHUT(chn)); in rk_tsadcv3_tshut_temp()