Lines Matching refs:fan_div
138 u8 fan_div[2]; member
252 FAN_FROM_REG(data->fan[nr], DIV_FROM_REG(data->fan_div[nr]))); \
273 data->fan_min[nr] = FAN_TO_REG(val, DIV_FROM_REG(data->fan_div[nr])); in store_fan_min()
287 return sprintf(buf, "%u\n", DIV_FROM_REG(data->fan_div[nr])); in show_fan_div()
319 min = FAN_FROM_REG(data->fan_min[nr], DIV_FROM_REG(data->fan_div[nr])); in store_fan_div()
321 data->fan_div[nr] = DIV_TO_REG(val); in store_fan_div()
337 tmp_fan_div = (data->fan_div[nr] << new_shift) & ~keep_mask; in store_fan_div()
343 data->fan_min[nr] = FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr])); in store_fan_div()
690 data->fan_div[0] = reg_tmp & 0x07; in w83l786ng_probe()
691 data->fan_div[1] = (reg_tmp >> 4) & 0x07; in w83l786ng_probe()
770 data->fan_div[0] = reg_tmp & 0x07; in w83l786ng_update_device()
771 data->fan_div[1] = (reg_tmp >> 4) & 0x07; in w83l786ng_update_device()