Lines Matching refs:fan_div
178 u8 fan_div[2]; /* register value, shifted right */ member
255 data->fan_div[0] = (i >> 4) & 0x03; in lm87_update_device()
256 data->fan_div[1] = (i >> 6) & 0x03; in lm87_update_device()
472 FAN_DIV_FROM_REG(data->fan_div[nr]))); in show_fan_input()
482 FAN_DIV_FROM_REG(data->fan_div[nr]))); in show_fan_min()
492 FAN_DIV_FROM_REG(data->fan_div[nr])); in show_fan_div()
510 FAN_DIV_FROM_REG(data->fan_div[nr])); in set_fan_min()
539 FAN_DIV_FROM_REG(data->fan_div[nr])); in set_fan_div()
543 data->fan_div[nr] = 0; in set_fan_div()
546 data->fan_div[nr] = 1; in set_fan_div()
549 data->fan_div[nr] = 2; in set_fan_div()
552 data->fan_div[nr] = 3; in set_fan_div()
562 reg = (reg & 0xCF) | (data->fan_div[0] << 4); in set_fan_div()
565 reg = (reg & 0x3F) | (data->fan_div[1] << 6); in set_fan_div()