Home
last modified time | relevance | path

Searched refs:sensor_config (Results 1 – 4 of 4) sorted by relevance

/drivers/iio/common/scmi_sensors/
Dscmi_iio.c90 u32 sensor_config = 0; in scmi_iio_buffer_preenable() local
94 sensor_config |= FIELD_PREP(SCMI_SENS_CFG_TSTAMP_ENABLED_MASK, in scmi_iio_buffer_preenable()
97 sensor_config |= FIELD_PREP(SCMI_SENS_CFG_SENSOR_ENABLED_MASK, in scmi_iio_buffer_preenable()
101 sensor_config); in scmi_iio_buffer_preenable()
112 u32 sensor_config = 0; in scmi_iio_buffer_postdisable() local
115 sensor_config |= FIELD_PREP(SCMI_SENS_CFG_SENSOR_ENABLED_MASK, in scmi_iio_buffer_postdisable()
119 sensor_config); in scmi_iio_buffer_postdisable()
138 u32 sensor_config; in scmi_iio_set_odr_val() local
143 &sensor_config); in scmi_iio_set_odr_val()
174 sensor_config &= ~SCMI_SENS_CFG_UPDATE_SECS_MASK; in scmi_iio_set_odr_val()
[all …]
/drivers/iio/temperature/
Dltc2983.c260 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()
[all …]
/drivers/firmware/arm_scmi/
Dsensors.c177 __le32 sensor_config; member
764 u32 sensor_id, u32 *sensor_config) in scmi_sensor_config_get() argument
783 *sensor_config = get_unaligned_le64(t->rx.buf); in scmi_sensor_config_get()
784 s->sensor_config = *sensor_config; in scmi_sensor_config_get()
792 u32 sensor_id, u32 sensor_config) in scmi_sensor_config_set() argument
809 msg->sensor_config = cpu_to_le32(sensor_config); in scmi_sensor_config_set()
815 s->sensor_config = sensor_config; in scmi_sensor_config_set()
/drivers/platform/x86/intel/int3472/
Dcommon.h79 const struct int3472_sensor_config *sensor_config; member