Lines Matching defs:to

4  * The contents of this file are subject to the terms of the
24 * Use is subject to license terms.
30 * This module is used to monitor and control watchdog timer for
73 typedef struct { /* used to keep track of time taken for last 5 pats */
83 static int wd_fd = -1; /* fd used to send watchdog commands */
126 * This function parses wd.conf file to set the tunables
189 /* make a call to smc library to send cmd */
220 /* make a call to smc library to send cmd */
374 * Sends a command to SMC to reset the watchdog-timers
399 /* make a call to smc library to send cmd */
421 /* used to set the new values for watchdog and start the watchdog */
449 /* make a call to smc library to send cmd */
534 timestruc_t to;
546 /* reset pat-time to zero */
554 /* change the priority of thread to realtime class */
582 /* no need to pat */
600 /* no need to pat */
660 to.tv_sec = tp.tv_sec + sec;
662 to.tv_sec += 1;
663 to.tv_nsec = (nano_sec +
666 to.tv_nsec = nano_sec + (tp.tv_usec * 1000);
669 err = cond_timedwait(&patting_cv, &patting_lock, &to);
711 * Sends a cmd to SMC to stop watchdog timers
734 /* make a call to smc library to send cmd */
745 * under controller. This is used to arm, disarm the watchdog-timers
746 * in response to user actions
803 * check to see if the owner is still alive using procfs
952 /* volatile call back function to read the watchdog L1 status */
986 * this function is used to read the state of L2 timer
1022 /* volatile call back function to read the watchdog L2 status */
1207 * watchdog from os level and continue to pat
1224 * wrapper for ptree interface to create property
1235 picl_prophdl_t *propp, /* pointer to prop_handle */
1296 /* Add wd-op property to watchdog controller node */
1309 /* create L1 node and add to controller */
1317 /* create L2 node and add to controller */
1585 /* thread used to pat watchdog */
1617 /* if watchdog-enable is set to false dont intialize wd subsystem */
1643 * volatile function to read the timeout
1660 * volatile function to read the action
1700 * volatile function to write the action
1767 * volatile function to write the timeout