Searched refs:cros_ec_rtc_set (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/rtc/ |
H A D | rtc-cros-ec.c | 56 static int cros_ec_rtc_set(struct cros_ec_device *cros_ec, u32 command, in cros_ec_rtc_set() function 103 ret = cros_ec_rtc_set(cros_ec, EC_CMD_RTC_SET_VALUE, (u32)time); in cros_ec_rtc_set_time() 183 ret = cros_ec_rtc_set(cros_ec, EC_CMD_RTC_SET_ALARM, alarm_offset); in cros_ec_rtc_set_alarm() 220 ret = cros_ec_rtc_set(cros_ec, EC_CMD_RTC_SET_ALARM, in cros_ec_rtc_alarm_irq_enable() 248 ret = cros_ec_rtc_set(cros_ec, EC_CMD_RTC_SET_ALARM, in cros_ec_rtc_alarm_irq_enable() 359 ret = cros_ec_rtc_set(cros_ec, EC_CMD_RTC_SET_ALARM, SECS_PER_DAY * 2); in cros_ec_rtc_probe() 363 (void)cros_ec_rtc_set(cros_ec, EC_CMD_RTC_SET_ALARM, in cros_ec_rtc_probe()
|