Lines Matching refs:fan_div
198 u8 fan_div[3]; /* Register encoding, right justified */ member
292 DIV_FROM_REG(data->fan_div[nr]))); in show_fan()
301 DIV_FROM_REG(data->fan_div[nr]))); in show_fan_min()
309 return sprintf(buf, "%d\n", DIV_FROM_REG(data->fan_div[nr])); in show_fan_div()
326 data->fan_min[nr] = FAN_TO_REG(val, DIV_FROM_REG(data->fan_div[nr])); in set_fan_min()
356 DIV_FROM_REG(data->fan_div[nr])); in set_fan_div()
357 data->fan_div[nr] = DIV_TO_REG(val); in set_fan_div()
362 reg = (reg & 0xcf) | (data->fan_div[0] << 4); in set_fan_div()
368 reg = (reg & 0x3f) | (data->fan_div[1] << 6); in set_fan_div()
374 reg = (reg & 0x3f) | (data->fan_div[2] << 6); in set_fan_div()
380 FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr])); in set_fan_div()
981 data->fan_div[0] = (i >> 4) & 0x03; in asb100_update_device()
982 data->fan_div[1] = (i >> 6) & 0x03; in asb100_update_device()
983 data->fan_div[2] = (asb100_read_value(client, in asb100_update_device()