Home
last modified time | relevance | path

Searched refs:am_pm (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/rtc/
Drtc-ds3232.c103 unsigned int week, twelve_hr, am_pm; in ds3232_read_time() local
121 am_pm = hour & 0x20; in ds3232_read_time()
130 if (am_pm) in ds3232_read_time()
Drtc-ds1685.c1074 unsigned char am_pm; in ds1685_rtc_probe() local
1191 am_pm = hours & RTC_HRS_AMPM_MASK; in ds1685_rtc_probe()
1194 hours = ((hours == 12) ? 0 : ((am_pm) ? hours + 12 : hours)); in ds1685_rtc_probe()
1210 am_pm = hours & RTC_HRS_AMPM_MASK; in ds1685_rtc_probe()
1213 hours = ((hours == 12) ? 0 : ((am_pm) ? hours + 12 : hours)); in ds1685_rtc_probe()