Lines Matching refs:sensor_config
232 u32 sensor_config; member
239 u32 sensor_config; member
248 u32 sensor_config; member
255 u32 sensor_config; member
507 chan_val |= LTC2983_THERMOCOUPLE_CFG(thermo->sensor_config); in ltc2983_thermocouple_assign_chan()
527 chan_val |= LTC2983_RTD_CFG(rtd->sensor_config); in ltc2983_rtd_assign_chan()
549 chan_val |= LTC2983_THERMISTOR_CFG(thermistor->sensor_config); in ltc2983_thermistor_assign_chan()
571 chan_val = LTC2983_DIODE_CFG(diode->sensor_config); in ltc2983_diode_assign_chan()
615 thermo->sensor_config = LTC2983_THERMOCOUPLE_SGL(1); in ltc2983_thermocouple_new()
622 thermo->sensor_config |= in ltc2983_thermocouple_new()
626 thermo->sensor_config |= in ltc2983_thermocouple_new()
630 thermo->sensor_config |= in ltc2983_thermocouple_new()
634 thermo->sensor_config |= in ltc2983_thermocouple_new()
643 thermo->sensor_config |= LTC2983_THERMOCOUPLE_OC_CHECK(1); in ltc2983_thermocouple_new()
646 if (!(thermo->sensor_config & LTC2983_THERMOCOUPLE_DIFF_MASK) && in ltc2983_thermocouple_new()
722 rtd->sensor_config = LTC2983_RTD_N_WIRES(0); in ltc2983_rtd_new()
725 rtd->sensor_config = LTC2983_RTD_N_WIRES(1); in ltc2983_rtd_new()
728 rtd->sensor_config = LTC2983_RTD_N_WIRES(2); in ltc2983_rtd_new()
732 rtd->sensor_config = LTC2983_RTD_N_WIRES(3); in ltc2983_rtd_new()
750 rtd->sensor_config |= LTC2983_RTD_C_ROTATE(1); in ltc2983_rtd_new()
752 rtd->sensor_config |= LTC2983_RTD_R_SHARE(1); in ltc2983_rtd_new()
762 if (rtd->sensor_config & LTC2983_RTD_4_WIRE_MASK) { in ltc2983_rtd_new()
767 if (rtd->sensor_config & LTC2983_RTD_ROTATION_MASK) in ltc2983_rtd_new()
770 if (((rtd->sensor_config & LTC2983_RTD_KELVIN_R_SENSE_MASK) in ltc2983_rtd_new()
892 thermistor->sensor_config = LTC2983_THERMISTOR_SGL(1); in ltc2983_thermistor_new()
896 thermistor->sensor_config = in ltc2983_thermistor_new()
899 thermistor->sensor_config = in ltc2983_thermistor_new()
903 if (!(thermistor->sensor_config & LTC2983_THERMISTOR_DIFF_MASK) && in ltc2983_thermistor_new()
1023 diode->sensor_config = LTC2983_DIODE_SGL(1); in ltc2983_diode_new()
1026 diode->sensor_config |= LTC2983_DIODE_3_CONV_CYCLE(1); in ltc2983_diode_new()
1029 diode->sensor_config |= LTC2983_DIODE_AVERAGE_ON(1); in ltc2983_diode_new()
1032 if (!(diode->sensor_config & LTC2983_DIODE_DIFF_MASK) && in ltc2983_diode_new()