Lines Matching refs:value
96 const u64 *value;
126 /* Allow value of watchdog-resolution up to 1s (default) */
127 value = mdesc_get_property(handle, node, "watchdog-resolution", NULL);
129 if (value) {
130 if (*value == 0 ||
131 *value > WDT_DEFAULT_RESOLUTION_MS)
135 value = mdesc_get_property(handle, node, "watchdog-max-timeout", NULL);
136 if (value) {
138 * If the property value (in ms) is smaller than
141 if (*value < wdd.min_timeout * 1000)
145 * If the property value is smaller than
147 * the value of the property in seconds.
149 if (*value < wdd.max_timeout * 1000)
150 wdd.max_timeout = *value / 1000;