alarm_tm 173 drivers/rtc/rtc-88pm80x.c struct rtc_time now_tm, alarm_tm; alarm_tm 195 drivers/rtc/rtc-88pm80x.c rtc_next_alarm_time(&alarm_tm, &now_tm, &alrm->time); alarm_tm 197 drivers/rtc/rtc-88pm80x.c ticks = rtc_tm_to_time64(&alarm_tm); alarm_tm 193 drivers/rtc/rtc-88pm860x.c struct rtc_time now_tm, alarm_tm; alarm_tm 215 drivers/rtc/rtc-88pm860x.c rtc_next_alarm_time(&alarm_tm, &now_tm, &alrm->time); alarm_tm 217 drivers/rtc/rtc-88pm860x.c rtc_tm_to_time(&alarm_tm, &ticks); alarm_tm 301 drivers/rtc/rtc-ab-b5ze-s3.c struct rtc_time rtc_tm, *alarm_tm = &alarm->time; alarm_tm 335 drivers/rtc/rtc-ab-b5ze-s3.c rtc_time64_to_tm(rtc_secs + timer_secs, alarm_tm); alarm_tm 354 drivers/rtc/rtc-ab-b5ze-s3.c struct rtc_time rtc_tm, *alarm_tm = &alarm->time; alarm_tm 368 drivers/rtc/rtc-ab-b5ze-s3.c alarm_tm->tm_sec = 0; alarm_tm 369 drivers/rtc/rtc-ab-b5ze-s3.c alarm_tm->tm_min = bcd2bin(regs[0] & 0x7f); alarm_tm 370 drivers/rtc/rtc-ab-b5ze-s3.c alarm_tm->tm_hour = bcd2bin(regs[1] & 0x3f); alarm_tm 371 drivers/rtc/rtc-ab-b5ze-s3.c alarm_tm->tm_mday = bcd2bin(regs[2] & 0x3f); alarm_tm 372 drivers/rtc/rtc-ab-b5ze-s3.c alarm_tm->tm_wday = -1; alarm_tm 383 drivers/rtc/rtc-ab-b5ze-s3.c alarm_tm->tm_year = rtc_tm.tm_year; alarm_tm 384 drivers/rtc/rtc-ab-b5ze-s3.c alarm_tm->tm_mon = rtc_tm.tm_mon; alarm_tm 387 drivers/rtc/rtc-ab-b5ze-s3.c alarm_secs = rtc_tm_to_time64(alarm_tm); alarm_tm 390 drivers/rtc/rtc-ab-b5ze-s3.c if (alarm_tm->tm_mon == 11) { alarm_tm 391 drivers/rtc/rtc-ab-b5ze-s3.c alarm_tm->tm_mon = 0; alarm_tm 392 drivers/rtc/rtc-ab-b5ze-s3.c alarm_tm->tm_year += 1; alarm_tm 394 drivers/rtc/rtc-ab-b5ze-s3.c alarm_tm->tm_mon += 1; alarm_tm 440 drivers/rtc/rtc-ab-b5ze-s3.c struct rtc_time *alarm_tm = &alarm->time; alarm_tm 468 drivers/rtc/rtc-ab-b5ze-s3.c alarm_secs = rtc_tm_to_time64(alarm_tm); alarm_tm 481 drivers/rtc/rtc-ab-b5ze-s3.c regs[0] = bin2bcd(alarm_tm->tm_min) & 0x7f; alarm_tm 482 drivers/rtc/rtc-ab-b5ze-s3.c regs[1] = bin2bcd(alarm_tm->tm_hour) & 0x3f; alarm_tm 483 drivers/rtc/rtc-ab-b5ze-s3.c regs[2] = bin2bcd(alarm_tm->tm_mday) & 0x3f; alarm_tm 544 drivers/rtc/rtc-ab-b5ze-s3.c struct rtc_time *alarm_tm = &alarm->time; alarm_tm 554 drivers/rtc/rtc-ab-b5ze-s3.c alarm_secs = rtc_tm_to_time64(alarm_tm); alarm_tm 396 drivers/rtc/rtc-isl1208.c struct rtc_time *alarm_tm = &alarm->time; alarm_tm 407 drivers/rtc/rtc-isl1208.c if (!alarm->enabled || rtc_tm_sub(alarm_tm, &rtc_tm) <= 0) alarm_tm 413 drivers/rtc/rtc-isl1208.c regs[ISL1208_REG_SCA - offs] = bin2bcd(alarm_tm->tm_sec) | enable; alarm_tm 414 drivers/rtc/rtc-isl1208.c regs[ISL1208_REG_MNA - offs] = bin2bcd(alarm_tm->tm_min) | enable; alarm_tm 415 drivers/rtc/rtc-isl1208.c regs[ISL1208_REG_HRA - offs] = bin2bcd(alarm_tm->tm_hour) | alarm_tm 418 drivers/rtc/rtc-isl1208.c regs[ISL1208_REG_DTA - offs] = bin2bcd(alarm_tm->tm_mday) | enable; alarm_tm 419 drivers/rtc/rtc-isl1208.c regs[ISL1208_REG_MOA - offs] = bin2bcd(alarm_tm->tm_mon + 1) | enable; alarm_tm 420 drivers/rtc/rtc-isl1208.c regs[ISL1208_REG_DWA - offs] = bin2bcd(alarm_tm->tm_wday & 7) | enable;