Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/iio/common/scmi_sensors/
Dscmi_iio.c87 u32 sensor_config = 0; in scmi_iio_buffer_preenable() local
91 sensor_config |= FIELD_PREP(SCMI_SENS_CFG_TSTAMP_ENABLED_MASK, in scmi_iio_buffer_preenable()
94 sensor_config |= FIELD_PREP(SCMI_SENS_CFG_SENSOR_ENABLED_MASK, in scmi_iio_buffer_preenable()
98 sensor_config); in scmi_iio_buffer_preenable()
109 u32 sensor_config = 0; in scmi_iio_buffer_postdisable() local
112 sensor_config |= FIELD_PREP(SCMI_SENS_CFG_SENSOR_ENABLED_MASK, in scmi_iio_buffer_postdisable()
116 sensor_config); in scmi_iio_buffer_postdisable()
135 u32 sensor_config; in scmi_iio_set_odr_val() local
140 &sensor_config); in scmi_iio_set_odr_val()
171 sensor_config &= ~SCMI_SENS_CFG_UPDATE_SECS_MASK; in scmi_iio_set_odr_val()
[all …]
/Linux-v6.1/drivers/platform/x86/intel/int3472/
Dclk_and_regulator.c142 const struct int3472_sensor_config *sensor_config; in skl_int3472_register_regulator() local
149 sensor_config = int3472->sensor_config; in skl_int3472_register_regulator()
150 if (IS_ERR(sensor_config)) { in skl_int3472_register_regulator()
152 return PTR_ERR(sensor_config); in skl_int3472_register_regulator()
155 if (!sensor_config->supply_map.supply) { in skl_int3472_register_regulator()
162 supply_map = sensor_config->supply_map; in skl_int3472_register_regulator()
Ddiscrete.c109 const struct int3472_sensor_config *sensor_config; in skl_int3472_map_gpio_to_sensor() local
121 sensor_config = int3472->sensor_config; in skl_int3472_map_gpio_to_sensor()
122 if (!IS_ERR(sensor_config) && sensor_config->function_maps) { in skl_int3472_map_gpio_to_sensor()
125 for (remap = sensor_config->function_maps; remap->documented; remap++) { in skl_int3472_map_gpio_to_sensor()
303 int3472->sensor_config = skl_int3472_get_sensor_module_config(int3472); in skl_int3472_parse_crs()
Dcommon.h84 const struct int3472_sensor_config *sensor_config; member
/Linux-v6.1/drivers/iio/temperature/
Dltc2983.c236 u32 sensor_config; member
243 u32 sensor_config; member
252 u32 sensor_config; member
259 u32 sensor_config; member
516 chan_val |= LTC2983_THERMOCOUPLE_CFG(thermo->sensor_config); in ltc2983_thermocouple_assign_chan()
536 chan_val |= LTC2983_RTD_CFG(rtd->sensor_config); in ltc2983_rtd_assign_chan()
558 chan_val |= LTC2983_THERMISTOR_CFG(thermistor->sensor_config); in ltc2983_thermistor_assign_chan()
580 chan_val = LTC2983_DIODE_CFG(diode->sensor_config); in ltc2983_diode_assign_chan()
623 thermo->sensor_config = LTC2983_THERMOCOUPLE_SGL(1); in ltc2983_thermocouple_new()
629 thermo->sensor_config |= in ltc2983_thermocouple_new()
[all …]
/Linux-v6.1/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-v6.1/include/linux/
Dscmi_protocol.h310 unsigned int sensor_config; member
479 u32 sensor_id, u32 *sensor_config);
481 u32 sensor_id, u32 sensor_config);