Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/iio/common/cros_ec_sensors/
Dcros_ec_sensors.c97 *val2 = 10000 << (CROS_EC_SENSOR_BITS - 1); in cros_ec_sensors_read()
107 *val2 = 18000 << (CROS_EC_SENSOR_BITS - 1); in cros_ec_sensors_read()
116 *val2 = 100 << (CROS_EC_SENSOR_BITS - 1); in cros_ec_sensors_read()
223 channel->scan_type.realbits = CROS_EC_SENSOR_BITS; in cros_ec_sensors_probe()
224 channel->scan_type.storagebits = CROS_EC_SENSOR_BITS; in cros_ec_sensors_probe()
/Linux-v4.19/drivers/iio/pressure/
Dcros_ec_baro.c74 *val2 = 10 << CROS_EC_SENSOR_BITS; in cros_ec_baro_read()
157 channel->scan_type.realbits = CROS_EC_SENSOR_BITS; in cros_ec_baro_probe()
158 channel->scan_type.storagebits = CROS_EC_SENSOR_BITS; in cros_ec_baro_probe()
/Linux-v4.19/include/linux/iio/common/
Dcros_ec_sensors_core.h31 #define CROS_EC_SENSOR_BITS 16 macro
/Linux-v4.19/drivers/iio/light/
Dcros_ec_light_prox.c211 channel->scan_type.realbits = CROS_EC_SENSOR_BITS; in cros_ec_light_prox_probe()
212 channel->scan_type.storagebits = CROS_EC_SENSOR_BITS; in cros_ec_light_prox_probe()