h_m_s_ms 21 arch/powerpc/platforms/powernv/opal-rtc.c static void opal_to_tm(u32 y_m_d, u64 h_m_s_ms, struct rtc_time *tm) h_m_s_ms 27 arch/powerpc/platforms/powernv/opal-rtc.c tm->tm_hour = bcd2bin((h_m_s_ms >> 56) & 0xff); h_m_s_ms 28 arch/powerpc/platforms/powernv/opal-rtc.c tm->tm_min = bcd2bin((h_m_s_ms >> 48) & 0xff); h_m_s_ms 29 arch/powerpc/platforms/powernv/opal-rtc.c tm->tm_sec = bcd2bin((h_m_s_ms >> 40) & 0xff); h_m_s_ms 37 arch/powerpc/platforms/powernv/opal-rtc.c u64 h_m_s_ms; h_m_s_ms 58 arch/powerpc/platforms/powernv/opal-rtc.c h_m_s_ms = be64_to_cpu(__h_m_s_ms); h_m_s_ms 59 arch/powerpc/platforms/powernv/opal-rtc.c opal_to_tm(y_m_d, h_m_s_ms, &tm); h_m_s_ms 21 drivers/rtc/rtc-opal.c static void opal_to_tm(u32 y_m_d, u64 h_m_s_ms, struct rtc_time *tm) h_m_s_ms 27 drivers/rtc/rtc-opal.c tm->tm_hour = bcd2bin((h_m_s_ms >> 56) & 0xff); h_m_s_ms 28 drivers/rtc/rtc-opal.c tm->tm_min = bcd2bin((h_m_s_ms >> 48) & 0xff); h_m_s_ms 29 drivers/rtc/rtc-opal.c tm->tm_sec = bcd2bin((h_m_s_ms >> 40) & 0xff); h_m_s_ms 34 drivers/rtc/rtc-opal.c static void tm_to_opal(struct rtc_time *tm, u32 *y_m_d, u64 *h_m_s_ms) h_m_s_ms 41 drivers/rtc/rtc-opal.c *h_m_s_ms |= ((u64)bin2bcd(tm->tm_hour)) << 56; h_m_s_ms 42 drivers/rtc/rtc-opal.c *h_m_s_ms |= ((u64)bin2bcd(tm->tm_min)) << 48; h_m_s_ms 43 drivers/rtc/rtc-opal.c *h_m_s_ms |= ((u64)bin2bcd(tm->tm_sec)) << 40; h_m_s_ms 51 drivers/rtc/rtc-opal.c u64 h_m_s_ms; h_m_s_ms 74 drivers/rtc/rtc-opal.c h_m_s_ms = be64_to_cpu(__h_m_s_ms); h_m_s_ms 75 drivers/rtc/rtc-opal.c opal_to_tm(y_m_d, h_m_s_ms, tm); h_m_s_ms 85 drivers/rtc/rtc-opal.c u64 h_m_s_ms = 0; h_m_s_ms 87 drivers/rtc/rtc-opal.c tm_to_opal(tm, &y_m_d, &h_m_s_ms); h_m_s_ms 90 drivers/rtc/rtc-opal.c rc = opal_rtc_write(y_m_d, h_m_s_ms); h_m_s_ms 119 drivers/rtc/rtc-opal.c u64 h_m_s_ms; h_m_s_ms 149 drivers/rtc/rtc-opal.c h_m_s_ms = ((u64)be32_to_cpu(__h_m) << 32); h_m_s_ms 152 drivers/rtc/rtc-opal.c if (y_m_d == 0 && h_m_s_ms == 0) { h_m_s_ms 157 drivers/rtc/rtc-opal.c pr_debug("Alarm set to %x %llx\n", y_m_d, h_m_s_ms); h_m_s_ms 160 drivers/rtc/rtc-opal.c opal_to_tm(y_m_d, h_m_s_ms, &alarm->time); h_m_s_ms 170 drivers/rtc/rtc-opal.c u64 h_m_s_ms = 0; h_m_s_ms 177 drivers/rtc/rtc-opal.c tm_to_opal(&alarm->time, &y_m_d, &h_m_s_ms); h_m_s_ms 178 drivers/rtc/rtc-opal.c pr_debug("Alarm set to %x %llx\n", y_m_d, h_m_s_ms); h_m_s_ms 194 drivers/rtc/rtc-opal.c (u32)((h_m_s_ms >> 32) & 0xffff0000));