Lines Matching refs:fan_div
236 u8 fan_div[3]; /* Register encoding, shifted right */ member
320 DIV_FROM_REG(data->fan_div[attr->index]))); \
341 FAN_TO_REG(val, DIV_FROM_REG(data->fan_div[nr])); in store_fan_min()
639 (long) DIV_FROM_REG(data->fan_div[attr->index])); in show_fan_div()
668 DIV_FROM_REG(data->fan_div[nr])); in store_fan_div()
670 data->fan_div[nr] = DIV_TO_REG(val, data->type); in store_fan_div()
675 | ((data->fan_div[nr] & 0x03) << (nr == 0 ? 4 : 6)); in store_fan_div()
683 | ((data->fan_div[nr] & 0x04) << (3 + nr)); in store_fan_div()
688 data->fan_min[nr] = FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr])); in store_fan_div()
1534 data->fan_div[0] = (i >> 4) & 0x03; in w83781d_update_device()
1535 data->fan_div[1] = (i >> 6) & 0x03; in w83781d_update_device()
1536 data->fan_div[2] = (w83781d_read_value(data, in w83781d_update_device()
1540 data->fan_div[0] |= (i >> 3) & 0x04; in w83781d_update_device()
1541 data->fan_div[1] |= (i >> 4) & 0x04; in w83781d_update_device()
1542 data->fan_div[2] |= (i >> 5) & 0x04; in w83781d_update_device()