Lines Matching refs:conf1
77 u8 conf1; member
166 data->conf1 = adm1031_read_value(client, ADM1031_REG_CONF1); in adm1031_update_device()
256 (*(data)->chan_select_table)[FAN_CHAN_FROM_REG((data)->conf1)][idx % 2]
344 old_fan_mode = data->conf1; in fan_auto_channel_store()
348 ret = get_fan_auto_nearest(data, nr, val, data->conf1); in fan_auto_channel_store()
354 data->conf1 = FAN_CHAN_TO_REG(reg, data->conf1); in fan_auto_channel_store()
355 if ((data->conf1 & ADM1031_CONF1_AUTO_MODE) ^ in fan_auto_channel_store()
357 if (data->conf1 & ADM1031_CONF1_AUTO_MODE) { in fan_auto_channel_store()
375 data->conf1 = FAN_CHAN_TO_REG(reg, data->conf1); in fan_auto_channel_store()
376 adm1031_write_value(client, ADM1031_REG_CONF1, data->conf1); in fan_auto_channel_store()
487 if ((data->conf1 & ADM1031_CONF1_AUTO_MODE) && in pwm_store()
518 if (data->conf1 & ADM1031_CONF1_AUTO_MODE) { in trust_fan_readings()
519 switch (data->conf1 & 0x60) { in trust_fan_readings()