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

/drivers/hwmon/
H A Dlm87.c138 #define FAN_DIV_FROM_REG(reg) (1 << (reg)) macro
472 FAN_DIV_FROM_REG(data->fan_div[nr])));
482 FAN_DIV_FROM_REG(data->fan_div[nr])));
492 FAN_DIV_FROM_REG(data->fan_div[nr]));
510 FAN_DIV_FROM_REG(data->fan_div[nr]));
539 FAN_DIV_FROM_REG(data->fan_div[nr]));
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;
593 return sprintf(buf, "%d\n", FAN_DIV_FROM_REG(data->fan_div[nr]));
602 FAN_DIV_FROM_REG(data->fan_div[nr])));
620 FAN_TO_REG(val, FAN_DIV_FROM_REG(data->fan_div[nr]));
660 old_div = FAN_DIV_FROM_REG(data->fan_div[nr]);
H A Dpc87360.c129 #define FAN_DIV_FROM_REG(val) (1 << (((val) >> 5) & 0x03)) macro
264 FAN_DIV_FROM_REG(data->fan_status[attr->index])));
272 FAN_DIV_FROM_REG(data->fan_status[attr->index])));
280 FAN_DIV_FROM_REG(data->fan_status[attr->index]));
305 FAN_DIV_FROM_REG(data->fan_status[attr->index]));
1582 FAN_DIV_FROM_REG(data->fan_status[nr]), nr + 1);
1594 FAN_DIV_FROM_REG(data->fan_status[nr]),

Completed in 59 milliseconds