Searched refs:a_fanspeed (Results 1 – 2 of 2) sorted by relevance
793 struct envctrl_chip temp, a_fanspeed; in envctrl_ioctl() local952 if (ddi_copyin((caddr_t)arg, (caddr_t)&a_fanspeed, in envctrl_ioctl()957 if ((a_fanspeed.type != ENVCTRL_PCF8591) || in envctrl_ioctl()958 (a_fanspeed.chip_num != ENVCTRL_DEV2) || in envctrl_ioctl()959 (a_fanspeed.index != EHC_PCF8591_CH_1)) { in envctrl_ioctl()965 a_fanspeed.chip_num, a_fanspeed.index, in envctrl_ioctl()966 &a_fanspeed.val, 1); in envctrl_ioctl()981 if ((tfanspeed = ((int)a_fanspeed.val * JAV_FAN_SPEED_SF_NUM) / in envctrl_ioctl()983 a_fanspeed.val = 255; in envctrl_ioctl()985 a_fanspeed.val = tfanspeed & 0xFF; in envctrl_ioctl()[all …]
926 struct envctrl_pcf8591_chip *temp, *a_fanspeed; in envctrl_wput() local1176 a_fanspeed = (struct envctrl_pcf8591_chip *) in envctrl_wput()1179 envctrl_recv(unitp, (caddr_t *)(void *)a_fanspeed, in envctrl_wput()