Searched refs:alarm_value (Results 1 – 3 of 3) sorted by relevance
206 u32 current_time, alarm_offset, alarm_value; in cros_ec_rtc_alarm_irq_enable() local236 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()
236 int alarm_value; in imx_set_alarm_temp() local241 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()
768 u32 alarm_value; in rk_tsadcv2_alarm_temp() local785 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()