Lines Matching refs:fan_div
204 u8 fan_div[3]; /* Register encoding, right justified */
306 DIV_FROM_REG(data->fan_div[nr])));
313 DIV_FROM_REG(data->fan_div[nr])));
319 return sprintf(buf, "%d\n", DIV_FROM_REG(data->fan_div[nr]));
330 data->fan_min[nr] = FAN_TO_REG(val, DIV_FROM_REG(data->fan_div[nr]));
352 DIV_FROM_REG(data->fan_div[nr]));
353 data->fan_div[nr] = DIV_TO_REG(val);
358 reg = (reg & 0xcf) | (data->fan_div[0] << 4);
364 reg = (reg & 0x3f) | (data->fan_div[1] << 6);
370 reg = (reg & 0x3f) | (data->fan_div[2] << 6);
376 FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr]));
1042 data->fan_div[0] = (i >> 4) & 0x03;
1043 data->fan_div[1] = (i >> 6) & 0x03;
1044 data->fan_div[2] = (asb100_read_value(client,