Lines Matching refs:sensor_config
260 u32 sensor_config; member
267 u32 sensor_config; member
276 u32 sensor_config; member
283 u32 sensor_config; member
545 chan_val |= LTC2983_THERMOCOUPLE_CFG(thermo->sensor_config); in ltc2983_thermocouple_assign_chan()
565 chan_val |= LTC2983_RTD_CFG(rtd->sensor_config); in ltc2983_rtd_assign_chan()
587 chan_val |= LTC2983_THERMISTOR_CFG(thermistor->sensor_config); in ltc2983_thermistor_assign_chan()
609 chan_val = LTC2983_DIODE_CFG(diode->sensor_config); in ltc2983_diode_assign_chan()
668 thermo->sensor_config = LTC2983_THERMOCOUPLE_SGL(1); in ltc2983_thermocouple_new()
674 thermo->sensor_config |= in ltc2983_thermocouple_new()
678 thermo->sensor_config |= in ltc2983_thermocouple_new()
682 thermo->sensor_config |= in ltc2983_thermocouple_new()
686 thermo->sensor_config |= in ltc2983_thermocouple_new()
695 thermo->sensor_config |= LTC2983_THERMOCOUPLE_OC_CHECK(1); in ltc2983_thermocouple_new()
698 if (!(thermo->sensor_config & LTC2983_THERMOCOUPLE_DIFF_MASK) && in ltc2983_thermocouple_new()
776 rtd->sensor_config = LTC2983_RTD_N_WIRES(0); in ltc2983_rtd_new()
779 rtd->sensor_config = LTC2983_RTD_N_WIRES(1); in ltc2983_rtd_new()
782 rtd->sensor_config = LTC2983_RTD_N_WIRES(2); in ltc2983_rtd_new()
786 rtd->sensor_config = LTC2983_RTD_N_WIRES(3); in ltc2983_rtd_new()
804 rtd->sensor_config |= LTC2983_RTD_C_ROTATE(1); in ltc2983_rtd_new()
806 rtd->sensor_config |= LTC2983_RTD_R_SHARE(1); in ltc2983_rtd_new()
816 if (rtd->sensor_config & LTC2983_RTD_4_WIRE_MASK) { in ltc2983_rtd_new()
821 if (rtd->sensor_config & LTC2983_RTD_ROTATION_MASK) in ltc2983_rtd_new()
824 if (((rtd->sensor_config & LTC2983_RTD_KELVIN_R_SENSE_MASK) in ltc2983_rtd_new()
945 thermistor->sensor_config = LTC2983_THERMISTOR_SGL(1); in ltc2983_thermistor_new()
949 thermistor->sensor_config = in ltc2983_thermistor_new()
952 thermistor->sensor_config = in ltc2983_thermistor_new()
956 if (!(thermistor->sensor_config & LTC2983_THERMISTOR_DIFF_MASK) && in ltc2983_thermistor_new()
1075 diode->sensor_config = LTC2983_DIODE_SGL(1); in ltc2983_diode_new()
1078 diode->sensor_config |= LTC2983_DIODE_3_CONV_CYCLE(1); in ltc2983_diode_new()
1081 diode->sensor_config |= LTC2983_DIODE_AVERAGE_ON(1); in ltc2983_diode_new()
1084 if (!(diode->sensor_config & LTC2983_DIODE_DIFF_MASK) && in ltc2983_diode_new()