Home
last modified time | relevance | path

Searched refs:fan_target (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/drivers/hwmon/
Demc2103.c70 u16 fan_target; member
161 read_fan_from_i2c(client, &data->fan_target, in emc2103_update_device()
347 if ((data->fan_target & 0x1fe0) != 0x1fe0) { in fan1_div_store()
348 u16 new_target = (data->fan_target * old_div) / new_div; in fan1_div_store()
349 data->fan_target = min(new_target, (u16)0x1fff); in fan1_div_store()
350 write_fan_target_to_i2c(client, data->fan_target); in fan1_div_store()
367 if ((data->fan_target != 0) && ((data->fan_target & 0x1fe0) != 0x1fe0)) in fan1_target_show()
369 / data->fan_target; in fan1_target_show()
392 data->fan_target = 0x1fff; in fan1_target_store()
394 data->fan_target = clamp_val( in fan1_target_store()
[all …]
Df75375s.c99 u16 fan_target[2]; member
196 data->fan_target[nr] = in f75375_update_device()
323 data->fan_target[nr] = rpm_to_reg(val); in set_fan_target()
324 f75375_write16(client, F75375_REG_FAN_EXP(nr), data->fan_target[nr]); in set_fan_target()
655 show_fan(fan_target);
Df71805f.c179 u16 fan_target[3]; member
353 data->fan_target[nr] = f71805f_read16(data, in f71805f_update_device()
590 return sprintf(buf, "%ld\n", fan_from_reg(data->fan_target[nr])); in show_fan_target()
628 data->fan_target[nr] = fan_to_reg(val); in set_fan_target()
630 data->fan_target[nr]); in set_fan_target()
Df71882fg.c267 u16 fan_target[4]; member
1327 data->fan_target[nr] = in f71882fg_update_device()
1799 val = 255 * fan_from_reg(data->fan_target[nr]) in show_pwm()
1838 data->fan_target[nr] = target; in store_pwm()
Dnct6775.c3037 SENSOR_TEMPLATE(fan_target, "fan%d_target", S_IWUSR | S_IRUGO,