Searched refs:setopt (Results 1 – 1 of 1) sorted by relevance
418 int setopt = 0; in cpwd_ioctl() local438 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()