Lines Matching refs:fan_target
70 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()
398 write_fan_target_to_i2c(client, data->fan_target); in fan1_target_store()