Searched refs:DIV_FROM_REG (Results 1 – 1 of 1) sorted by relevance
332 #define DIV_FROM_REG(val) (1 << (val)) macro1102 (long)DIV_FROM_REG(data->fan_div[nr]))); in fan_input_show()1111 (long)DIV_FROM_REG(data->fan_div[nr]))); in fan_min_show()1128 data->fan_min[nr] = FAN_TO_REG(val, DIV_FROM_REG(data->fan_div[nr])); in fan_min_store()1149 (long) DIV_FROM_REG(data->fan_div[nr])); in fan_div_show()1177 DIV_FROM_REG(data->fan_div[nr])); in fan_div_store()1192 data->fan_min[nr] = FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr])); in fan_div_store()