Home
last modified time | relevance | path

Searched refs:watchdog_miscdev (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/watchdog/
Dwdt285.c189 static struct miscdevice watchdog_miscdev = { variable
202 retval = misc_register(&watchdog_miscdev); in footbridge_watchdog_init()
216 misc_deregister(&watchdog_miscdev); in footbridge_watchdog_exit()
Dwatchdog_dev.c979 static struct miscdevice watchdog_miscdev = { variable
1039 watchdog_miscdev.parent = wdd->parent; in watchdog_cdev_register()
1040 err = misc_register(&watchdog_miscdev); in watchdog_cdev_register()
1062 misc_deregister(&watchdog_miscdev); in watchdog_cdev_register()
1106 misc_deregister(&watchdog_miscdev); in watchdog_cdev_unregister()
/linux-6.1.9/drivers/hwmon/
Dfschmd.c262 struct miscdevice watchdog_miscdev; member
808 if (pos->watchdog_miscdev.minor == iminor(inode)) { in watchdog_open()
1214 data->watchdog_miscdev.name = data->watchdog_name; in fschmd_probe()
1215 data->watchdog_miscdev.fops = &watchdog_fops; in fschmd_probe()
1216 data->watchdog_miscdev.minor = watchdog_minors[i]; in fschmd_probe()
1217 err = misc_register(&data->watchdog_miscdev); in fschmd_probe()
1221 data->watchdog_miscdev.minor = 0; in fschmd_probe()
1235 data->watchdog_miscdev.minor = 0; in fschmd_probe()
1257 if (data->watchdog_miscdev.minor) { in fschmd_remove()
1258 misc_deregister(&data->watchdog_miscdev); in fschmd_remove()
Dw83793.c254 struct miscdevice watchdog_miscdev; member
1301 if (pos->watchdog_miscdev.minor == iminor(inode)) { in watchdog_open()
1476 if (data->watchdog_miscdev.minor) in watchdog_notify_sys()
1505 if (data->watchdog_miscdev.minor) { in w83793_remove()
1506 misc_deregister(&data->watchdog_miscdev); in w83793_remove()
1873 data->watchdog_miscdev.name = data->watchdog_name; in w83793_probe()
1874 data->watchdog_miscdev.fops = &watchdog_fops; in w83793_probe()
1875 data->watchdog_miscdev.minor = watchdog_minors[i]; in w83793_probe()
1877 err = misc_register(&data->watchdog_miscdev); in w83793_probe()
1881 data->watchdog_miscdev.minor = 0; in w83793_probe()
[all …]