Home
last modified time | relevance | path

Searched refs:tod_ops (Results 1 – 25 of 30) sorted by relevance

12

/illumos-gate/usr/src/uts/i86pc/sys/
H A Dmachclock.h38 struct tod_ops;
39 typedef struct tod_ops tod_ops_t;
47 struct tod_ops { struct
55 struct tod_ops *tod_next; argument
60 extern tod_ops_t *tod_ops;
/illumos-gate/usr/src/uts/sun4u/io/
H A Dtodopl.c171 tod_ops.tod_get = todopl_get; in _init()
172 tod_ops.tod_set = todopl_set; in _init()
173 tod_ops.tod_set_watchdog_timer = todopl_set_watchdog_timer; in _init()
174 tod_ops.tod_clear_watchdog_timer = todopl_clear_watchdog_timer; in _init()
175 tod_ops.tod_set_power_alarm = todopl_set_power_alarm; in _init()
176 tod_ops.tod_clear_power_alarm = todopl_clear_power_alarm; in _init()
177 tod_ops.tod_get_cpufrequency = todopl_get_cpufrequency; in _init()
H A Dhardclk.c68 struct tod_ops tod_ops; variable
82 ret = tod_ops.tod_set_watchdog_timer(watchdog_timeout_seconds); in clkstart()
157 timestruc_t ts = tod_ops.tod_get(); in tod_get()
168 tod_ops.tod_set(ts); in tod_set()
H A Dtodmostek.c72 tod_ops.tod_get = todm_get; in _init()
73 tod_ops.tod_set = todm_set; in _init()
74 tod_ops.tod_set_watchdog_timer = todm_set_watchdog_timer; in _init()
75 tod_ops.tod_clear_watchdog_timer = todm_clear_watchdog_timer; in _init()
76 tod_ops.tod_set_power_alarm = todm_set_power_alarm; in _init()
77 tod_ops.tod_clear_power_alarm = todm_clear_power_alarm; in _init()
78 tod_ops.tod_get_cpufrequency = todm_get_cpufrequency; in _init()
H A Dtodm5819p_rmc.c93 tod_ops.tod_get = todm5819p_rmc_get; in _init()
94 tod_ops.tod_set = todm5819p_rmc_set; in _init()
96 tod_ops.tod_set_watchdog_timer = in _init()
98 tod_ops.tod_clear_watchdog_timer = in _init()
100 tod_ops.tod_set_power_alarm = todm5819p_rmc_set_power_alarm; in _init()
101 tod_ops.tod_clear_power_alarm = todm5819p_rmc_clear_power_alarm; in _init()
102 tod_ops.tod_get_cpufrequency = todm5819p_rmc_get_cpufrequency; in _init()
149 ret = tod_ops.tod_set_watchdog_timer(0); in todm5819p_rmc_get()
H A Dtodm5819.c86 tod_ops.tod_get = todm5819_get; in _init()
87 tod_ops.tod_set = todm5819_set; in _init()
88 tod_ops.tod_set_watchdog_timer = todm5819_set_watchdog_timer; in _init()
89 tod_ops.tod_clear_watchdog_timer = in _init()
91 tod_ops.tod_set_power_alarm = todm5819_set_power_alarm; in _init()
92 tod_ops.tod_clear_power_alarm = todm5819_clear_power_alarm; in _init()
93 tod_ops.tod_get_cpufrequency = todm5819_get_cpufrequency; in _init()
H A Dtodsg.c149 tod_ops.tod_get = todsg_get; in _init()
150 tod_ops.tod_set = todsg_set; in _init()
151 tod_ops.tod_set_watchdog_timer = todsg_set_watchdog_timer; in _init()
152 tod_ops.tod_clear_watchdog_timer = todsg_clear_watchdog_timer; in _init()
153 tod_ops.tod_set_power_alarm = todsg_set_power_alarm; in _init()
154 tod_ops.tod_clear_power_alarm = todsg_clear_power_alarm; in _init()
155 tod_ops.tod_get_cpufrequency = todsg_get_cpufrequency; in _init()
H A Dtodbq4802.c110 tod_ops.tod_get = todbq4802_get; in _init()
111 tod_ops.tod_set = todbq4802_set; in _init()
112 tod_ops.tod_set_watchdog_timer = in _init()
114 tod_ops.tod_clear_watchdog_timer = in _init()
116 tod_ops.tod_set_power_alarm = todbq4802_set_power_alarm; in _init()
117 tod_ops.tod_clear_power_alarm = todbq4802_clear_power_alarm; in _init()
118 tod_ops.tod_get_cpufrequency = todbq4802_get_cpufrequency; in _init()
H A Dpmc.c152 tod_ops.tod_set_watchdog_timer = pmc_set_watchdog_timer; in _init()
153 tod_ops.tod_clear_watchdog_timer = pmc_clear_watchdog_timer; in _init()
240 ret = tod_ops.tod_set_watchdog_timer(wd_timout); in pmc_attach()
290 (void) tod_ops.tod_clear_watchdog_timer(); in pmc_detach()
H A Dtodds1287.c216 tod_ops.tod_get = todds_get; in _init()
217 tod_ops.tod_set = todds_set; in _init()
227 tod_ops.tod_set_watchdog_timer = todds_set_watchdog_timer; in _init()
228 tod_ops.tod_clear_watchdog_timer = todds_clear_watchdog_timer; in _init()
230 tod_ops.tod_set_power_alarm = todds_set_power_alarm; in _init()
231 tod_ops.tod_clear_power_alarm = todds_clear_power_alarm; in _init()
232 tod_ops.tod_get_cpufrequency = todds_get_cpufrequency; in _init()
852 ret = tod_ops.tod_set_watchdog_timer(watchdog_timeout_seconds); in todds_get()
H A Dtodds1337.c163 tod_ops.tod_get = todds1337_get; in _init()
164 tod_ops.tod_set = todds1337_set; in _init()
165 tod_ops.tod_set_watchdog_timer = todds1337_set_watchdog_timer; in _init()
166 tod_ops.tod_clear_watchdog_timer = in _init()
168 tod_ops.tod_set_power_alarm = todds1337_set_power_alarm; in _init()
169 tod_ops.tod_clear_power_alarm = todds1337_clear_power_alarm; in _init()
H A Drmc_comm.c771 if (watchdog_enable && tod_ops.tod_set_watchdog_timer != NULL && in rmc_comm_attach()
773 (void) tod_ops.tod_set_watchdog_timer(0); in rmc_comm_attach()
889 tod_ops.tod_clear_watchdog_timer != NULL) { in rmc_comm_detach()
891 (void) tod_ops.tod_clear_watchdog_timer(); in rmc_comm_detach()
/illumos-gate/usr/src/uts/i86pc/io/
H A Dhardclk.c62 TODOP_SET(tod_ops, ts); in tod_set()
78 ts = TODOP_GET(tod_ops); in tod_get()
129 ts = TODOP_GET(tod_ops); in rtcsync()
H A Dtodpc_subr.c478 tod_ops_t *tod_ops = &todpc_ops; variable
/illumos-gate/usr/src/uts/sun4u/os/
H A Dmach_cpu_states.c76 (void) tod_ops.tod_clear_watchdog_timer(); in mdboot()
351 (void) tod_ops.tod_clear_watchdog_timer(); in panic_quiesce_hw()
479 (void) tod_ops.tod_clear_watchdog_timer(); in clear_watchdog_on_exit()
497 (void) tod_ops.tod_clear_watchdog_timer(); in kdi_watchdog_disable()
509 (void) tod_ops.tod_set_watchdog_timer(watchdog_timeout_seconds); in kdi_watchdog_restore()
/illumos-gate/usr/src/uts/i86xpv/io/
H A Dxpvtod.c166 if (tod_ops->tod_version != todxen_ops.tod_version) in _init()
173 todxen_ops.tod_next = tod_ops; in _init()
174 tod_ops = &todxen_ops; in _init()
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dmachclock.h178 struct tod_ops { struct
188 extern struct tod_ops tod_ops; argument
/illumos-gate/usr/src/uts/i86pc/io/ppm/
H A Dacpisleep.c69 extern tod_ops_t *tod_ops;
117 TODOP_SETWAKE(tod_ops, acpi_rtc_wake); in acpi_enter_sleepstate()
/illumos-gate/usr/src/uts/sun4/io/
H A Dtod.c309 tod_ops.tod_clear_power_alarm(); in tod_ioctl()
333 tod_ops.tod_set_power_alarm(ts); in tod_ioctl()
339 ts = tod_ops.tod_get(); in tod_ioctl()
/illumos-gate/usr/src/uts/sun4u/boston/os/
H A Dboston.c180 tod_ops.tod_set_power_alarm = dummy_todm5823_set_power_alarm; in load_platform_drivers()
181 tod_ops.tod_clear_power_alarm = dummy_todm5823_clear_power_alarm; in load_platform_drivers()
/illumos-gate/usr/src/uts/sun4u/seattle/os/
H A Dseattle.c183 tod_ops.tod_set_power_alarm = dummy_todm5823_set_power_alarm; in load_platform_drivers()
184 tod_ops.tod_clear_power_alarm = dummy_todm5823_clear_power_alarm; in load_platform_drivers()
/illumos-gate/usr/src/uts/i86pc/os/
H A Dtimestamp.c807 extern tod_ops_t *tod_ops;
835 tsc_saved_ts = TODOP_GET(tod_ops); in tsc_suspend()
879 ts = TODOP_GET(tod_ops); in tsc_resume()
/illumos-gate/usr/src/uts/sun4u/sunfire/io/
H A Dsysctrl_quiesce.c580 (void) tod_ops.tod_set_watchdog_timer( in sysctrl_resume()
735 (void) tod_ops.tod_clear_watchdog_timer(); in sysctrl_suspend()
/illumos-gate/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp_quiesce.c718 tod_ops.tod_set_watchdog_timer(
842 saved_watchdog_seconds = tod_ops.tod_clear_watchdog_timer();
/illumos-gate/usr/src/uts/sun4u/ngdr/io/
H A Ddr_quiesce.c760 tod_ops.tod_set_watchdog_timer( in dr_resume()
924 tod_ops.tod_clear_watchdog_timer(); in dr_suspend()

12