Lines Matching +full:smi +full:- +full:based
1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * Based off i8xx_tco.c:
13 * based on softdog.c by Alan Cox <alan@redhat.com>
121 return -EINVAL; in tco_timer_set_heartbeat()
124 /* "Values of 0h-3h are ignored and should not be attempted" */ in tco_timer_set_heartbeat()
126 return -EINVAL; in tco_timer_set_heartbeat()
137 ret = -EINVAL; in tco_timer_set_heartbeat()
155 return -EBUSY; in nv_tco_open()
198 return -EFAULT; in nv_tco_write()
213 int new_options, retval = -EINVAL; in nv_tco_ioctl()
227 return copy_to_user(argp, &ident, sizeof(ident)) ? -EFAULT : 0; in nv_tco_ioctl()
233 return -EFAULT; in nv_tco_ioctl()
249 return -EFAULT; in nv_tco_ioctl()
251 return -EINVAL; in nv_tco_ioctl()
257 return -ENOTTY; in nv_tco_ioctl()
348 /* Disable SMI caused by TCO */ in nv_tco_getdevice()
360 pr_err("Could not disable SMI caused by TCO\n"); in nv_tco_getdevice()
386 return -ENODEV; in nv_tco_init()
488 TCO_MODULE_NAME, -1, NULL, 0); in nv_tco_init_module()