Lines Matching defs:fan_div
197 u8 fan_div[3]; /* Register encoding, right justified */
290 DIV_FROM_REG(data->fan_div[nr])));
299 DIV_FROM_REG(data->fan_div[nr])));
307 return sprintf(buf, "%d\n", DIV_FROM_REG(data->fan_div[nr]));
319 data->fan_min[nr] = FAN_TO_REG(val, DIV_FROM_REG(data->fan_div[nr]));
342 DIV_FROM_REG(data->fan_div[nr]));
343 data->fan_div[nr] = DIV_TO_REG(val);
348 reg = (reg & 0xcf) | (data->fan_div[0] << 4);
354 reg = (reg & 0x3f) | (data->fan_div[1] << 6);
360 reg = (reg & 0x3f) | (data->fan_div[2] << 6);
366 FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr]));
950 data->fan_div[0] = (i >> 4) & 0x03;
951 data->fan_div[1] = (i >> 6) & 0x03;
952 data->fan_div[2] = (asb100_read_value(client,