Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/sun4u/io/
H A Dtodmostek.c129 CLOCK->clk_ctrl |= CLK_CTRL_READ; in todm_get()
130 tod.tod_year = BCD_TO_BYTE(CLOCK->clk_year) + YRBASE; in todm_get()
131 tod.tod_month = BCD_TO_BYTE(CLOCK->clk_month & 0x1f); in todm_get()
132 tod.tod_day = BCD_TO_BYTE(CLOCK->clk_day & 0x3f); in todm_get()
133 tod.tod_dow = BCD_TO_BYTE(CLOCK->clk_weekday & 0x7); in todm_get()
134 tod.tod_hour = BCD_TO_BYTE(CLOCK->clk_hour & 0x3f); in todm_get()
135 tod.tod_min = BCD_TO_BYTE(CLOCK->clk_min & 0x7f); in todm_get()
136 tod.tod_sec = BCD_TO_BYTE(CLOCK->clk_sec & 0x7f); in todm_get()
137 CLOCK->clk_ctrl &= ~CLK_CTRL_READ; in todm_get()
146 CLOCK->clk_watchdog = watchdog_bits; in todm_get()
[all …]
/titanic_41/usr/src/uts/sun4u/sys/
H A Dtodmostek.h71 #define CLOCK ((struct mostek48T59 *)(V_TODCLKADDR)) macro