Lines Matching refs:fan_div
223 u8 fan_div[3]; /* Register encoding, shifted right */ member
307 DIV_FROM_REG(data->fan_div[attr->index]))); \
328 FAN_TO_REG(val, DIV_FROM_REG(data->fan_div[nr])); in store_fan_min()
625 (long) DIV_FROM_REG(data->fan_div[attr->index])); in show_fan_div()
654 DIV_FROM_REG(data->fan_div[nr])); in store_fan_div()
656 data->fan_div[nr] = DIV_TO_REG(val, data->type); in store_fan_div()
661 | ((data->fan_div[nr] & 0x03) << (nr == 0 ? 4 : 6)); in store_fan_div()
669 | ((data->fan_div[nr] & 0x04) << (3 + nr)); in store_fan_div()
674 data->fan_min[nr] = FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr])); in store_fan_div()
1514 data->fan_div[0] = (i >> 4) & 0x03; in w83781d_update_device()
1515 data->fan_div[1] = (i >> 6) & 0x03; in w83781d_update_device()
1516 data->fan_div[2] = (w83781d_read_value(data, in w83781d_update_device()
1520 data->fan_div[0] |= (i >> 3) & 0x04; in w83781d_update_device()
1521 data->fan_div[1] |= (i >> 4) & 0x04; in w83781d_update_device()
1522 data->fan_div[2] |= (i >> 5) & 0x04; in w83781d_update_device()