Lines Matching refs:sensor_config

230 	u32 sensor_config;  member
237 u32 sensor_config; member
246 u32 sensor_config; member
253 u32 sensor_config; member
505 chan_val |= LTC2983_THERMOCOUPLE_CFG(thermo->sensor_config); in ltc2983_thermocouple_assign_chan()
525 chan_val |= LTC2983_RTD_CFG(rtd->sensor_config); in ltc2983_rtd_assign_chan()
547 chan_val |= LTC2983_THERMISTOR_CFG(thermistor->sensor_config); in ltc2983_thermistor_assign_chan()
569 chan_val = LTC2983_DIODE_CFG(diode->sensor_config); in ltc2983_diode_assign_chan()
613 thermo->sensor_config = LTC2983_THERMOCOUPLE_SGL(1); in ltc2983_thermocouple_new()
620 thermo->sensor_config |= in ltc2983_thermocouple_new()
624 thermo->sensor_config |= in ltc2983_thermocouple_new()
628 thermo->sensor_config |= in ltc2983_thermocouple_new()
632 thermo->sensor_config |= in ltc2983_thermocouple_new()
641 thermo->sensor_config |= LTC2983_THERMOCOUPLE_OC_CHECK(1); in ltc2983_thermocouple_new()
644 if (!(thermo->sensor_config & LTC2983_THERMOCOUPLE_DIFF_MASK) && in ltc2983_thermocouple_new()
720 rtd->sensor_config = LTC2983_RTD_N_WIRES(0); in ltc2983_rtd_new()
723 rtd->sensor_config = LTC2983_RTD_N_WIRES(1); in ltc2983_rtd_new()
726 rtd->sensor_config = LTC2983_RTD_N_WIRES(2); in ltc2983_rtd_new()
730 rtd->sensor_config = LTC2983_RTD_N_WIRES(3); in ltc2983_rtd_new()
748 rtd->sensor_config |= LTC2983_RTD_C_ROTATE(1); in ltc2983_rtd_new()
750 rtd->sensor_config |= LTC2983_RTD_R_SHARE(1); in ltc2983_rtd_new()
760 if (rtd->sensor_config & LTC2983_RTD_4_WIRE_MASK) { in ltc2983_rtd_new()
765 if (rtd->sensor_config & LTC2983_RTD_ROTATION_MASK) in ltc2983_rtd_new()
768 if (((rtd->sensor_config & LTC2983_RTD_KELVIN_R_SENSE_MASK) in ltc2983_rtd_new()
890 thermistor->sensor_config = LTC2983_THERMISTOR_SGL(1); in ltc2983_thermistor_new()
894 thermistor->sensor_config = in ltc2983_thermistor_new()
897 thermistor->sensor_config = in ltc2983_thermistor_new()
901 if (!(thermistor->sensor_config & LTC2983_THERMISTOR_DIFF_MASK) && in ltc2983_thermistor_new()
1021 diode->sensor_config = LTC2983_DIODE_SGL(1); in ltc2983_diode_new()
1024 diode->sensor_config |= LTC2983_DIODE_3_CONV_CYCLE(1); in ltc2983_diode_new()
1027 diode->sensor_config |= LTC2983_DIODE_AVERAGE_ON(1); in ltc2983_diode_new()
1030 if (!(diode->sensor_config & LTC2983_DIODE_DIFF_MASK) && in ltc2983_diode_new()