Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/rtc/
Drtc-cros-ec.c206 u32 current_time, alarm_offset, alarm_value; in cros_ec_rtc_alarm_irq_enable() local
236 alarm_value = current_time + alarm_offset; in cros_ec_rtc_alarm_irq_enable()
243 if (alarm_value < current_time) in cros_ec_rtc_alarm_irq_enable()
246 cros_ec_rtc->saved_alarm = alarm_value; in cros_ec_rtc_alarm_irq_enable()
/kernel/linux/linux-5.10/drivers/thermal/
Dimx_thermal.c236 int alarm_value; in imx_set_alarm_temp() local
241 alarm_value = alarm_temp / 1000 + data->c1 - 25; in imx_set_alarm_temp()
243 alarm_value = (data->c2 - alarm_temp) / data->c1; in imx_set_alarm_temp()
248 alarm_value << soc_data->high_alarm_shift); in imx_set_alarm_temp()
Drockchip_thermal.c768 u32 alarm_value; in rk_tsadcv2_alarm_temp() local
785 alarm_value = rk_tsadcv2_temp_to_code(table, temp); in rk_tsadcv2_alarm_temp()
786 if (alarm_value == table->data_mask) in rk_tsadcv2_alarm_temp()
789 writel_relaxed(alarm_value & table->data_mask, in rk_tsadcv2_alarm_temp()