Home
last modified time | relevance | path

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

/drivers/watchdog/
Dcpwd.c417 int setopt = 0; in cpwd_ioctl() local
437 if (copy_from_user(&setopt, argp, sizeof(unsigned int))) in cpwd_ioctl()
440 if (setopt & WDIOS_DISABLECARD) { in cpwd_ioctl()
444 } else if (setopt & WDIOS_ENABLECARD) { in cpwd_ioctl()
453 setopt = cpwd_getstatus(p, index); in cpwd_ioctl()
454 if (copy_to_user(argp, &setopt, sizeof(unsigned int))) in cpwd_ioctl()