Searched refs:FAN_DIV_FROM_REG (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/drivers/hwmon/
H A Dlm87.c138 #define FAN_DIV_FROM_REG(reg) (1 << (reg)) macro
472 FAN_DIV_FROM_REG(data->fan_div[nr]))); show_fan_input()
482 FAN_DIV_FROM_REG(data->fan_div[nr]))); show_fan_min()
492 FAN_DIV_FROM_REG(data->fan_div[nr])); show_fan_div()
510 FAN_DIV_FROM_REG(data->fan_div[nr])); set_fan_min()
539 FAN_DIV_FROM_REG(data->fan_div[nr])); set_fan_div()
H A Dadm1031.c232 #define FAN_DIV_FROM_REG(reg) (1<<(((reg)&0xc0)>>6)) macro
584 FAN_DIV_FROM_REG(data->fan_div[nr])) : 0; show_fan()
593 return sprintf(buf, "%d\n", FAN_DIV_FROM_REG(data->fan_div[nr])); show_fan_div()
602 FAN_DIV_FROM_REG(data->fan_div[nr]))); show_fan_min()
620 FAN_TO_REG(val, FAN_DIV_FROM_REG(data->fan_div[nr])); set_fan_min()
660 old_div = FAN_DIV_FROM_REG(data->fan_div[nr]); set_fan_div()
H A Dpc87360.c129 #define FAN_DIV_FROM_REG(val) (1 << (((val) >> 5) & 0x03)) macro
263 FAN_DIV_FROM_REG(data->fan_status[attr->index]))); show_fan_input()
271 FAN_DIV_FROM_REG(data->fan_status[attr->index]))); show_fan_min()
279 FAN_DIV_FROM_REG(data->fan_status[attr->index])); show_fan_div()
304 FAN_DIV_FROM_REG(data->fan_status[attr->index])); set_fan_min()
1581 FAN_DIV_FROM_REG(data->fan_status[nr]), nr + 1); pc87360_autodiv()
1593 FAN_DIV_FROM_REG(data->fan_status[nr]), pc87360_autodiv()

Completed in 136 milliseconds