Lines Matching refs:fan_div
135 u8 fan_div[2]; member
246 FAN_FROM_REG(data->fan[nr], DIV_FROM_REG(data->fan_div[nr]))); \
263 data->fan_min[nr] = FAN_TO_REG(val, DIV_FROM_REG(data->fan_div[nr])); in store_fan_min()
277 return sprintf(buf, "%u\n", DIV_FROM_REG(data->fan_div[nr])); in show_fan_div()
300 min = FAN_FROM_REG(data->fan_min[nr], DIV_FROM_REG(data->fan_div[nr])); in store_fan_div()
302 data->fan_div[nr] = DIV_TO_REG(simple_strtoul(buf, NULL, 10)); in store_fan_div()
318 tmp_fan_div = (data->fan_div[nr] << new_shift) & ~keep_mask; in store_fan_div()
324 data->fan_min[nr] = FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr])); in store_fan_div()
675 data->fan_div[0] = reg_tmp & 0x07; in w83l786ng_probe()
676 data->fan_div[1] = (reg_tmp >> 4) & 0x07; in w83l786ng_probe()
758 data->fan_div[0] = reg_tmp & 0x07; in w83l786ng_update_device()
759 data->fan_div[1] = (reg_tmp >> 4) & 0x07; in w83l786ng_update_device()