Home
last modified time | relevance | path

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

/drivers/watchdog/
Dcpwd.c418 int setopt = 0; in cpwd_ioctl() local
438 if (copy_from_user(&setopt, argp, sizeof(unsigned int))) in cpwd_ioctl()
441 if (setopt & WDIOS_DISABLECARD) { in cpwd_ioctl()
445 } else if (setopt & WDIOS_ENABLECARD) { in cpwd_ioctl()
454 setopt = cpwd_getstatus(p, index); in cpwd_ioctl()
455 if (copy_to_user(argp, &setopt, sizeof(unsigned int))) in cpwd_ioctl()