DIV_FROM_REG
data->fan_div[i] = DIV_FROM_REG(value & 0x03);
data->fan_div[i] = DIV_FROM_REG(value & 0x03);
data->fan_div[nr] = DIV_FROM_REG(new_div);
val = 1880 * 120 / DIV_FROM_REG(data->fan_div[attr->index])
return sprintf(buf, "%d\n", DIV_FROM_REG(data->fan_div[attr->index]));
DIV_FROM_REG(data->fan_div[nr])));
DIV_FROM_REG(data->fan_div[nr])));
return sprintf(buf, "%d\n", DIV_FROM_REG(data->fan_div[nr]));
data->fan_min[nr] = FAN_TO_REG(val, DIV_FROM_REG(data->fan_div[nr]));
DIV_FROM_REG(data->fan_div[nr]));
FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr]));
DIV_FROM_REG(data->fan_div[nr])));
DIV_FROM_REG(data->fan_div[nr])));
return sprintf(buf, "%d\n", DIV_FROM_REG(data->fan_div[nr]));
data->fan_min[nr] = FAN_TO_REG(val, DIV_FROM_REG(data->fan_div[nr]));
return sprintf(buf, "%d\n", DIV_FROM_REG(data->fan_div[n]));
DIV_FROM_REG(data->fan_div[nr]));
return sprintf(buf, "%lu\n", DIV_FROM_REG(data->fan_div[nr]));
FAN_TO_REG(val, DIV_FROM_REG(data->fan_div[nr]));
min = FAN_FROM_REG(data->fan[nr][1], DIV_FROM_REG(data->fan_div[nr]));
data->fan[nr][1] = FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr]));
DIV_FROM_REG(data->fan_div[nr])));
DIV_FROM_REG(data->fan_div[nr])));
data->fan_min[nr] = FAN_TO_REG(val, DIV_FROM_REG(data->fan_div[nr]));
return sprintf(buf, "%d\n", DIV_FROM_REG(data->fan_div[attr->index]));
DIV_FROM_REG(data->fan_div[nr]));
FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr]));
DIV_FROM_REG(data->fan_div[index])));
return sprintf(buf, "%d\n", DIV_FROM_REG(data->fan_div[nr]));
DIV_FROM_REG(data->fan_div[index]));
DIV_FROM_REG(data->fan_div[nr]));
data->fan[f_min][nr] = FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr]));
kscale = DIV_FROM_REG(data->config);
DIV_FROM_REG(data->count));
*val = DIV_FROM_REG(data->count);
*val = 60 * DIV_FROM_REG(data->config) * clock /
DIV_FROM_REG(data->fan_div[nr])));
DIV_FROM_REG(data->fan_div[nr])));
data->fan_min[nr] = FAN_TO_REG(val, DIV_FROM_REG(data->fan_div[nr]));
return sprintf(buf, "%d\n", DIV_FROM_REG(data->fan_div[nr]));
DIV_FROM_REG(data->fan_div[nr]));
FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr]));
DIV_FROM_REG(data->fan_div[nr]),
DIV_FROM_REG(data->fan_div[nr]));
return sprintf(buf, "%d\n", DIV_FROM_REG(data->fan_div[attr->index]));
rpmdiv = val * DIV_FROM_REG(data->fan_div[nr]);
u8 old_div = DIV_FROM_REG(data->fan_div[nr]);
DIV_FROM_REG(data->fan_div[nr])));
DIV_FROM_REG(data->fan_div[nr])));
return sprintf(buf, "%d\n", DIV_FROM_REG(data->fan_div[nr]));
data->fan_min[nr] = FAN_TO_REG(val, DIV_FROM_REG(data->fan_div[nr]));
return 1310720 / reg / DIV_FROM_REG(div);
DIV_FROM_REG(div)), 1, 254))
res = DIV_FROM_REG(data->fan_div[ix]);
DIV_FROM_REG(data->fan_div[nr])));
DIV_FROM_REG(data->fan_div[nr])));
return sprintf(buf, "%d\n", DIV_FROM_REG(data->fan_div[nr]));
data->fan_min[nr] = FAN_TO_REG(val, DIV_FROM_REG(data->fan_div[nr]));
min = fan_from_reg(data->fan_min[nr], DIV_FROM_REG(data->fan_div[nr]));
data->fan_min[nr] = FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr]));
(long)DIV_FROM_REG(data->fan_div[nr])));
(long)DIV_FROM_REG(data->fan_div[nr])));
data->fan_min[nr] = FAN_TO_REG(val, DIV_FROM_REG(data->fan_div[nr]));
(long) DIV_FROM_REG(data->fan_div[nr]));
DIV_FROM_REG(data->fan_div[nr]));
data->fan_min[nr] = FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr]));
DIV_FROM_REG(data->fan_div[attr->index]))); \
FAN_TO_REG(val, DIV_FROM_REG(data->fan_div[nr]));
(long) DIV_FROM_REG(data->fan_div[attr->index]));
DIV_FROM_REG(data->fan_div[nr]));
data->fan_min[nr] = FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr]));
fan_from_reg(data->reg[nr], DIV_FROM_REG(data->fan_div[nr]))); \
data->fan_min[nr] = fan_to_reg(val, DIV_FROM_REG(data->fan_div[nr]));
return sprintf(buf, "%u\n", DIV_FROM_REG(data->fan_div[nr]));
min = fan_from_reg(data->fan_min[nr], DIV_FROM_REG(data->fan_div[nr]));
data->fan_min[nr] = fan_to_reg(min, DIV_FROM_REG(data->fan_div[nr]));
FAN_FROM_REG(data->reg[nr], DIV_FROM_REG(data->fan_div[nr]))); \
data->fan_min[nr] = FAN_TO_REG(val, DIV_FROM_REG(data->fan_div[nr]));
return sprintf(buf, "%u\n", DIV_FROM_REG(data->fan_div[nr - 1]));
DIV_FROM_REG(data->fan_div[nr]));
data->fan_min[nr] = FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr]));
fan_from_reg(data->reg[nr], DIV_FROM_REG(data->fan_div[nr]))); \
data->fan_min[nr] = FAN_TO_REG(val, DIV_FROM_REG(data->fan_div[nr]));
return sprintf(buf, "%u\n", DIV_FROM_REG(data->fan_div[nr]));
min = fan_from_reg(data->fan_min[nr], DIV_FROM_REG(data->fan_div[nr]));
data->fan_min[nr] = FAN_TO_REG(min, DIV_FROM_REG(data->fan_div[nr]));