Home
last modified time | relevance | path

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

/linux-6.6.21/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 …]
/linux-6.6.21/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 …]
/linux-6.6.21/drivers/firmware/arm_scmi/
Dsensors.c174 __le32 sensor_config; member
761 u32 sensor_id, u32 *sensor_config) in scmi_sensor_config_get() argument
780 *sensor_config = get_unaligned_le64(t->rx.buf); in scmi_sensor_config_get()
781 s->sensor_config = *sensor_config; in scmi_sensor_config_get()
789 u32 sensor_id, u32 sensor_config) in scmi_sensor_config_set() argument
806 msg->sensor_config = cpu_to_le32(sensor_config); in scmi_sensor_config_set()
812 s->sensor_config = sensor_config; in scmi_sensor_config_set()
/linux-6.6.21/drivers/platform/x86/intel/int3472/
Dcommon.h79 const struct int3472_sensor_config *sensor_config; member
/linux-6.6.21/include/linux/
Dscmi_protocol.h320 unsigned int sensor_config; member
489 u32 sensor_id, u32 *sensor_config);
491 u32 sensor_id, u32 sensor_config);