Lines Matching refs:wdval
790 uint8_t wdval, tempr; in envctrl_ioctl() local
820 if (ddi_copyin((caddr_t)arg, (caddr_t)&wdval, sizeof (uint8_t), in envctrl_ioctl()
825 if (wdval == ENVCTRL_DIAG_MODE || in envctrl_ioctl()
826 wdval == ENVCTRL_NORMAL_MODE) { in envctrl_ioctl()
828 unitp->current_mode = wdval; in envctrl_ioctl()
830 wdval == ENVCTRL_DIAG_MODE) { in envctrl_ioctl()
836 if (wdval == ENVCTRL_NORMAL_MODE) { in envctrl_ioctl()
866 wdval = unitp->current_mode; in envctrl_ioctl()
867 if (ddi_copyout((caddr_t)&wdval, (caddr_t)arg, in envctrl_ioctl()
1003 wdval = envcchip.val; in envctrl_ioctl()
1013 if (wdval & ~ENVCTRL_UE250_FSP_USRMASK) { in envctrl_ioctl()
1019 if (wdval & ENVCTRL_UE250_FSP_PS_ERR) in envctrl_ioctl()
1021 status = envctrl_set_fsp(unitp, &wdval); in envctrl_ioctl()
1042 status = envctrl_get_fpm_status(unitp, &wdval); in envctrl_ioctl()
1050 envcchip.val = wdval; in envctrl_ioctl()