Lines Matching refs:fan_div
125 u8 fan_div[2]; member
182 data->fan_div[0] = reg_tmp & 0x07; in w83l786ng_update_device()
183 data->fan_div[1] = (reg_tmp >> 4) & 0x07; in w83l786ng_update_device()
284 FAN_FROM_REG(data->reg[nr], DIV_FROM_REG(data->fan_div[nr]))); \
305 data->fan_min[nr] = FAN_TO_REG(val, DIV_FROM_REG(data->fan_div[nr])); in store_fan_min()
319 return sprintf(buf, "%u\n", DIV_FROM_REG(data->fan_div[nr])); in show_fan_div()
351 min = FAN_FROM_REG(data->fan_min[nr], DIV_FROM_REG(data->fan_div[nr])); in store_fan_div()
353 data->fan_div[nr] = DIV_TO_REG(val); in store_fan_div()
369 tmp_fan_div = (data->fan_div[nr] << new_shift) & ~keep_mask; in store_fan_div()
375 data->fan_min[nr] = FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr])); in store_fan_div()
735 data->fan_div[0] = reg_tmp & 0x07; in w83l786ng_probe()
736 data->fan_div[1] = (reg_tmp >> 4) & 0x07; in w83l786ng_probe()