Home
last modified time | relevance | path

Searched refs:tblock (Results 1 – 3 of 3) sorted by relevance

/bsp/w60x/drivers/
A Ddrv_rtc.c53 struct tm tblock; in wm_set_timestamp() local
55 gmtime_r(&timestamp, &tblock); in wm_set_timestamp()
61 ctrl1 |= tblock.tm_sec; in wm_set_timestamp()
62 ctrl1 |= tblock.tm_min << 8; in wm_set_timestamp()
63 ctrl1 |= tblock.tm_hour << 16; in wm_set_timestamp()
64 ctrl1 |= tblock.tm_mday << 24; in wm_set_timestamp()
68 ctrl2 |= tblock.tm_mon; in wm_set_timestamp()
69 ctrl2 |= tblock.tm_year << 8; in wm_set_timestamp()
83 struct tm tblock; in wm_alarm_set_timestamp() local
96 ctrl2 |= tblock.tm_mon; in wm_alarm_set_timestamp()
[all …]
/bsp/raspberry-pi/raspi3-64/driver/
A Ddrv_rtc.c43 struct tm tblock; in raspi_set_timestamp() local
44 gmtime_r(&timestamp, &tblock); in raspi_set_timestamp()
46 buf[1] = tblock.tm_sec; in raspi_set_timestamp()
47 buf[2] = tblock.tm_min; in raspi_set_timestamp()
48 buf[3] = tblock.tm_hour; in raspi_set_timestamp()
49 buf[4] = tblock.tm_wday; in raspi_set_timestamp()
50 buf[5] = tblock.tm_mday; in raspi_set_timestamp()
51 buf[6] = tblock.tm_mon; in raspi_set_timestamp()
52 buf[7] = tblock.tm_year; in raspi_set_timestamp()
/bsp/raspberry-pi/raspi3-32/driver/
A Ddrv_rtc.c196 struct tm tblock; in raspi_set_timestamp() local
197 gmtime_r(&timestamp, &tblock); in raspi_set_timestamp()
199 buf[1] = tblock.tm_sec; in raspi_set_timestamp()
200 buf[2] = tblock.tm_min; in raspi_set_timestamp()
201 buf[3] = tblock.tm_hour; in raspi_set_timestamp()
202 buf[4] = tblock.tm_wday; in raspi_set_timestamp()
203 buf[5] = tblock.tm_mday; in raspi_set_timestamp()
204 buf[6] = tblock.tm_mon; in raspi_set_timestamp()
205 buf[7] = tblock.tm_year; in raspi_set_timestamp()

Completed in 7 milliseconds