Searched refs:FAN_DIV_FROM_REG (Results 1 - 6 of 6) sorted by relevance
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/hwmon/ |
H A D | adm1031.c | 167 #define FAN_DIV_FROM_REG(reg) (1<<(((reg)&0xc0)>>6)) macro 492 FAN_DIV_FROM_REG(data->fan_div[nr])) : 0; 501 return sprintf(buf, "%d\n", FAN_DIV_FROM_REG(data->fan_div[nr])); 510 FAN_DIV_FROM_REG(data->fan_div[nr]))); 523 FAN_TO_REG(val, FAN_DIV_FROM_REG(data->fan_div[nr])); 558 old_div = FAN_DIV_FROM_REG(data->fan_div[nr]);
|
H A D | lm87.c | 137 #define FAN_DIV_FROM_REG(reg) (1 << (reg)) macro 404 FAN_DIV_FROM_REG(data->fan_div[offset-1]))); \ 410 FAN_DIV_FROM_REG(data->fan_div[offset-1]))); \ 415 return sprintf(buf, "%d\n", FAN_DIV_FROM_REG(data->fan_div[offset-1])); \ 430 FAN_DIV_FROM_REG(data->fan_div[nr])); 450 FAN_DIV_FROM_REG(data->fan_div[nr]));
|
H A D | pc87360.c | 127 #define FAN_DIV_FROM_REG(val) (1 << ((val >> 5) & 0x03)) macro 261 FAN_DIV_FROM_REG(data->fan_status[attr->index]))); 268 FAN_DIV_FROM_REG(data->fan_status[attr->index]))); 275 FAN_DIV_FROM_REG(data->fan_status[attr->index])); 292 fan_min = FAN_TO_REG(fan_min, FAN_DIV_FROM_REG(data->fan_status[attr->index])); 1476 FAN_DIV_FROM_REG(data->fan_status[nr]), nr+1); 1488 FAN_DIV_FROM_REG(data->fan_status[nr]),
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/hwmon/ |
H A D | lm87.c | 137 #define FAN_DIV_FROM_REG(reg) (1 << (reg)) macro 404 FAN_DIV_FROM_REG(data->fan_div[offset-1]))); \ 410 FAN_DIV_FROM_REG(data->fan_div[offset-1]))); \ 415 return sprintf(buf, "%d\n", FAN_DIV_FROM_REG(data->fan_div[offset-1])); \ 430 FAN_DIV_FROM_REG(data->fan_div[nr])); 450 FAN_DIV_FROM_REG(data->fan_div[nr]));
|
H A D | adm1031.c | 167 #define FAN_DIV_FROM_REG(reg) (1<<(((reg)&0xc0)>>6)) macro 492 FAN_DIV_FROM_REG(data->fan_div[nr])) : 0; 501 return sprintf(buf, "%d\n", FAN_DIV_FROM_REG(data->fan_div[nr])); 510 FAN_DIV_FROM_REG(data->fan_div[nr]))); 523 FAN_TO_REG(val, FAN_DIV_FROM_REG(data->fan_div[nr])); 558 old_div = FAN_DIV_FROM_REG(data->fan_div[nr]);
|
H A D | pc87360.c | 127 #define FAN_DIV_FROM_REG(val) (1 << ((val >> 5) & 0x03)) macro 261 FAN_DIV_FROM_REG(data->fan_status[attr->index]))); 268 FAN_DIV_FROM_REG(data->fan_status[attr->index]))); 275 FAN_DIV_FROM_REG(data->fan_status[attr->index])); 292 fan_min = FAN_TO_REG(fan_min, FAN_DIV_FROM_REG(data->fan_status[attr->index])); 1476 FAN_DIV_FROM_REG(data->fan_status[nr]), nr+1); 1488 FAN_DIV_FROM_REG(data->fan_status[nr]),
|
Completed in 160 milliseconds