Searched refs:FAN_DIV_FROM_REG (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | adm1031.c | 219 #define FAN_DIV_FROM_REG(reg) (1<<(((reg)&0xc0)>>6)) macro 564 FAN_DIV_FROM_REG(data->fan_div[nr])) : 0; in fan_show() 573 return sprintf(buf, "%d\n", FAN_DIV_FROM_REG(data->fan_div[nr])); in fan_div_show() 582 FAN_DIV_FROM_REG(data->fan_div[nr]))); in fan_min_show() 601 FAN_TO_REG(val, FAN_DIV_FROM_REG(data->fan_div[nr])); in fan_min_store() 642 old_div = FAN_DIV_FROM_REG(data->fan_div[nr]); in fan_div_store()
|
H A D | lm87.c | 124 #define FAN_DIV_FROM_REG(reg) (1 << (reg)) macro 469 FAN_DIV_FROM_REG(data->fan_div[nr]))); in fan_input_show() 479 FAN_DIV_FROM_REG(data->fan_div[nr]))); in fan_min_show() 489 FAN_DIV_FROM_REG(data->fan_div[nr])); in fan_div_show() 508 FAN_DIV_FROM_REG(data->fan_div[nr])); in fan_min_store() 538 FAN_DIV_FROM_REG(data->fan_div[nr])); in fan_div_store()
|
H A D | pc87360.c | 116 #define FAN_DIV_FROM_REG(val) (1 << (((val) >> 5) & 0x03)) macro 250 FAN_DIV_FROM_REG(data->fan_status[attr->index]))); in fan_input_show() 258 FAN_DIV_FROM_REG(data->fan_status[attr->index]))); in fan_min_show() 266 FAN_DIV_FROM_REG(data->fan_status[attr->index])); in fan_div_show() 291 FAN_DIV_FROM_REG(data->fan_status[attr->index])); in fan_min_store() 1549 FAN_DIV_FROM_REG(data->fan_status[nr]), nr + 1); in pc87360_autodiv() 1561 FAN_DIV_FROM_REG(data->fan_status[nr]), in pc87360_autodiv()
|
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | adm1031.c | 219 #define FAN_DIV_FROM_REG(reg) (1<<(((reg)&0xc0)>>6)) macro 563 FAN_DIV_FROM_REG(data->fan_div[nr])) : 0; in fan_show() 572 return sprintf(buf, "%d\n", FAN_DIV_FROM_REG(data->fan_div[nr])); in fan_div_show() 581 FAN_DIV_FROM_REG(data->fan_div[nr]))); in fan_min_show() 600 FAN_TO_REG(val, FAN_DIV_FROM_REG(data->fan_div[nr])); in fan_min_store() 641 old_div = FAN_DIV_FROM_REG(data->fan_div[nr]); in fan_div_store()
|
H A D | lm87.c | 124 #define FAN_DIV_FROM_REG(reg) (1 << (reg)) macro 469 FAN_DIV_FROM_REG(data->fan_div[nr]))); in fan_input_show() 479 FAN_DIV_FROM_REG(data->fan_div[nr]))); in fan_min_show() 489 FAN_DIV_FROM_REG(data->fan_div[nr])); in fan_div_show() 508 FAN_DIV_FROM_REG(data->fan_div[nr])); in fan_min_store() 538 FAN_DIV_FROM_REG(data->fan_div[nr])); in fan_div_store()
|
H A D | pc87360.c | 128 #define FAN_DIV_FROM_REG(val) (1 << (((val) >> 5) & 0x03)) macro 267 FAN_DIV_FROM_REG(data->fan_status[nr]), nr + 1); in pc87360_autodiv() 279 FAN_DIV_FROM_REG(data->fan_status[nr]), in pc87360_autodiv() 1120 FAN_DIV_FROM_REG(data->fan_status[attr->index]))); in fan_input_show() 1150 FAN_DIV_FROM_REG(data->fan_status[attr->index])); in fan_div_show() 1165 FAN_DIV_FROM_REG(data->fan_status[attr->index]))); in fan_min_show() 1183 FAN_DIV_FROM_REG(data->fan_status[attr->index])); in fan_min_store()
|
Completed in 12 milliseconds