Home
last modified time | relevance | path

Searched refs:MAX_DOGS (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/watchdog/
Dwatchdog_core.h25 #define MAX_DOGS 32 /* Maximum number of watchdog devices */ macro
Dwatchdog_core.c236 id = ida_simple_get(&watchdog_ida, 0, MAX_DOGS, GFP_KERNEL); in __watchdog_register_device()
249 id = ida_simple_get(&watchdog_ida, 1, MAX_DOGS, GFP_KERNEL); in __watchdog_register_device()
Dwatchdog_dev.c1197 err = alloc_chrdev_region(&watchdog_devt, 0, MAX_DOGS, "watchdog"); in watchdog_dev_init()
1220 unregister_chrdev_region(watchdog_devt, MAX_DOGS); in watchdog_dev_exit()