Home
last modified time | relevance | path

Searched refs:sensor (Results 1 – 25 of 60) sorted by relevance

123

/linux-4.19.296/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx_core.c371 static int st_lsm6dsx_set_full_scale(struct st_lsm6dsx_sensor *sensor, in st_lsm6dsx_set_full_scale() argument
374 struct st_lsm6dsx_hw *hw = sensor->hw; in st_lsm6dsx_set_full_scale()
380 if (st_lsm6dsx_fs_table[sensor->id].fs_avl[i].gain == gain) in st_lsm6dsx_set_full_scale()
386 val = st_lsm6dsx_fs_table[sensor->id].fs_avl[i].val; in st_lsm6dsx_set_full_scale()
387 reg = &st_lsm6dsx_fs_table[sensor->id].reg; in st_lsm6dsx_set_full_scale()
393 sensor->gain = gain; in st_lsm6dsx_set_full_scale()
398 static int st_lsm6dsx_check_odr(struct st_lsm6dsx_sensor *sensor, u16 odr, in st_lsm6dsx_check_odr() argument
404 if (st_lsm6dsx_odr_table[sensor->id].odr_avl[i].hz == odr) in st_lsm6dsx_check_odr()
410 *val = st_lsm6dsx_odr_table[sensor->id].odr_avl[i].val; in st_lsm6dsx_check_odr()
415 static int st_lsm6dsx_set_odr(struct st_lsm6dsx_sensor *sensor, u16 odr) in st_lsm6dsx_set_odr() argument
[all …]
Dst_lsm6dsx_buffer.c88 struct st_lsm6dsx_sensor *sensor; in st_lsm6dsx_get_max_min_odr() local
93 sensor = iio_priv(hw->iio_devs[i]); in st_lsm6dsx_get_max_min_odr()
95 if (!(hw->enable_mask & BIT(sensor->id))) in st_lsm6dsx_get_max_min_odr()
98 *max_odr = max_t(u16, *max_odr, sensor->odr); in st_lsm6dsx_get_max_min_odr()
99 *min_odr = min_t(u16, *min_odr, sensor->odr); in st_lsm6dsx_get_max_min_odr()
107 struct st_lsm6dsx_sensor *sensor; in st_lsm6dsx_update_decimators() local
116 sensor = iio_priv(hw->iio_devs[i]); in st_lsm6dsx_update_decimators()
118 if (hw->enable_mask & BIT(sensor->id)) { in st_lsm6dsx_update_decimators()
119 sensor->sip = sensor->odr / min_odr; in st_lsm6dsx_update_decimators()
120 sensor->decimator = max_odr / sensor->odr; in st_lsm6dsx_update_decimators()
[all …]
Dst_lsm6dsx.h170 int st_lsm6dsx_sensor_enable(struct st_lsm6dsx_sensor *sensor);
171 int st_lsm6dsx_sensor_disable(struct st_lsm6dsx_sensor *sensor);
173 int st_lsm6dsx_update_watermark(struct st_lsm6dsx_sensor *sensor,
/linux-4.19.296/drivers/media/usb/gspca/m5602/
Dm5602_core.c120 if (!len || len > sd->sensor->i2c_regW) in m5602_read_sensor()
128 sd->sensor->i2c_slave_id); in m5602_read_sensor()
140 if (sd->sensor->i2c_regW == 1) { in m5602_read_sensor()
173 if (len > sd->sensor->i2c_regW || !len) in m5602_write_sensor()
179 buf[11] = sd->sensor->i2c_slave_id; in m5602_write_sensor()
224 sd->sensor = &po1030; in m5602_probe_sensor()
225 if (!sd->sensor->probe(sd)) in m5602_probe_sensor()
229 sd->sensor = &mt9m111; in m5602_probe_sensor()
230 if (!sd->sensor->probe(sd)) in m5602_probe_sensor()
234 sd->sensor = &s5k4aa; in m5602_probe_sensor()
[all …]
/linux-4.19.296/drivers/iio/temperature/
DKconfig2 # Temperature sensor drivers
23 tristate "HID Environmental temperature sensor"
34 will be called hid-sensor-temperature.
37 tristate "MLX90614 contact-less infrared sensor"
41 MLX90614 contact-less infrared sensor connected with I2C.
47 tristate "MLX90632 contact-less infrared sensor with medical accuracy"
52 MLX90632 contact-less infrared sensor with medical accuracy
59 tristate "TMP006 infrared thermopile sensor"
63 TMP006 infrared thermopile sensor.
69 tristate "TMP007 infrared thermopile sensor with Integrated Math Engine"
[all …]
DMakefile6 obj-$(CONFIG_HID_SENSOR_TEMP) += hid-sensor-temperature.o
/linux-4.19.296/drivers/iio/light/
DKconfig23 tristate "ADJD-S311-CR999 digital color sensor"
29 digital color light sensor.
35 tristate "AL3320A ambient light sensor"
39 ambient light sensor.
45 tristate "APDS9300 ambient light sensor"
49 ambient light sensor.
55 tristate "Avago APDS9960 gesture/RGB/ALS/proximity sensor"
62 APDS9960 gesture/RGB/ALS/proximity sensor.
68 tristate "ROHM BH1750 ambient light sensor"
78 tristate "ROHM BH1780 ambient light sensor"
[all …]
DMakefile21 obj-$(CONFIG_HID_SENSOR_ALS) += hid-sensor-als.o
22 obj-$(CONFIG_HID_SENSOR_PROX) += hid-sensor-prox.o
/linux-4.19.296/drivers/iio/proximity/
DKconfig8 tristate "AS3935 Franklin lightning sensor"
14 Microsystems AS3935 lightning detection sensor.
24 tristate "Intersil ISL29501 Time Of Flight sensor"
31 Time of Flight sensor.
37 tristate "PulsedLight LIDAR sensor"
43 sensor.
49 tristate "RFD77402 ToF sensor"
53 sensor module with I2C interface.
59 tristate "Devantech SRF04 ultrasonic ranger sensor"
63 ranger sensor. This driver can be used to measure the distance
[all …]
/linux-4.19.296/drivers/media/usb/gspca/stv06xx/
Dstv06xx.c83 if (sd->sensor->i2c_len == 2) { in stv06xx_write_sensor()
127 buf[0x20] = sd->sensor->i2c_addr; in stv06xx_write_sensor_bytes()
160 buf[0x20] = sd->sensor->i2c_addr; in stv06xx_write_sensor_words()
180 err = stv06xx_write_bridge(sd, STV_I2C_FLUSH, sd->sensor->i2c_flush); in stv06xx_read_sensor()
188 buf[0x20] = sd->sensor->i2c_addr; in stv06xx_read_sensor()
203 0x04, 0xc0, 0x1410, 0, buf, sd->sensor->i2c_len, in stv06xx_read_sensor()
205 if (sd->sensor->i2c_len == 2) in stv06xx_read_sensor()
260 err = sd->sensor->init(sd); in stv06xx_init()
262 if (dump_sensor && sd->sensor->dump) in stv06xx_init()
263 sd->sensor->dump(sd); in stv06xx_init()
[all …]
Dstv06xx_hdcs.c368 u16 sensor; in hdcs_probe_1x00() local
371 ret = stv06xx_read_sensor(sd, HDCS_IDENT, &sensor); in hdcs_probe_1x00()
372 if (ret < 0 || sensor != 0x08) in hdcs_probe_1x00()
425 u16 sensor; in hdcs_probe_1020() local
428 ret = stv06xx_read_sensor(sd, HDCS_IDENT, &sensor); in hdcs_probe_1020()
429 if (ret < 0 || sensor != 0x10) in hdcs_probe_1020()
Dstv06xx_pb0100.c166 u16 sensor; in pb0100_probe() local
169 err = stv06xx_read_sensor(sd, PB_IDENT, &sensor); in pb0100_probe()
173 if ((sensor >> 8) != 0x64) in pb0100_probe()
204 max_packet_size = sd->sensor->max_packet_size[sd->gspca_dev.curr_mode]; in pb0100_start()
Dstv06xx_sensor.h31 #define IS_1020(sd) ((sd)->sensor == &stv06xx_sensor_hdcs1020)
/linux-4.19.296/drivers/iio/pressure/
DKconfig9 tristate "Honeywell ABP pressure sensor driver"
19 tristate "Bosch Sensortec BMP180/BMP280 pressure sensor I2C driver"
27 an additional humidity sensor channel.
49 Say yes here to build support for the Barometer sensor when
67 will be called hid-sensor-press.
70 tristate "Hope RF HP03 temperature and pressure sensor driver"
75 temperature sensor.
84 tristate "Freescale MPL115A2 pressure sensor driver"
89 pressure sensor connected via I2C.
95 tristate "Freescale MPL115A1 pressure sensor driver"
[all …]
/linux-4.19.296/drivers/iio/chemical/
DKconfig17 * pH SM sensor
18 * EC SM sensor
19 * ORP SM sensor
22 module will be called atlas-ph-sensor.
25 tristate "Bosch Sensortec BME680 sensor driver"
31 Say yes here to build support for Bosch Sensortec BME680 sensor with
48 tristate "AMS CCS811 VOC sensor"
54 CCS811 VOC (Volatile Organic Compounds) sensor
65 tristate "SGX Sensortech MiCS VZ89X VOC sensor"
DMakefile6 obj-$(CONFIG_ATLAS_PH_SENSOR) += atlas-ph-sensor.o
/linux-4.19.296/drivers/iio/humidity/
DKconfig2 # humidity sensor drivers
7 tristate "Aosong AM2315 relative humidity and temperature sensor"
13 relative humidity and ambient temperature sensor.
28 tristate "TI HDC100x relative humidity and temperature sensor"
41 tristate "HID Environmental humidity sensor"
52 will be called hid-sensor-humidity.
55 tristate "STMicroelectronics HTS221 sensor Driver"
63 temperature-humidity sensor
79 tristate "Measurement Specialties HTU21 humidity & temperature sensor"
84 HTU21 humidity and temperature sensor.
[all …]
DMakefile9 obj-$(CONFIG_HID_SENSOR_HUMIDITY) += hid-sensor-humidity.o
/linux-4.19.296/drivers/iio/common/hid-sensors/
DMakefile5 obj-$(CONFIG_HID_SENSOR_IIO_COMMON) += hid-sensor-iio-common.o
6 obj-$(CONFIG_HID_SENSOR_IIO_TRIGGER) += hid-sensor-trigger.o
7 hid-sensor-iio-common-y := hid-sensor-attributes.o
DKconfig11 Say yes here to build support for HID sensor to use
12 HID sensor common processing for attributes and IIO triggers.
14 HID sensor drivers, this module contains processing for those
26 hid-sensor-trigger.
/linux-4.19.296/drivers/media/usb/gspca/
Dvc032x.c40 u8 sensor; member
3146 sd->sensor = SENSOR_POxxxx; /* no probe */ in sd_config()
3156 int sensor; in sd_init() local
3171 if (sd->sensor != SENSOR_POxxxx) in sd_init()
3172 sensor = vc032x_probe_sensor(gspca_dev); in sd_init()
3174 sensor = sd->sensor; in sd_init()
3176 switch (sensor) { in sd_init()
3212 sd->sensor = sensor; in sd_init()
3219 switch (sensor) { in sd_init()
3242 cam->npkt = npkt[sd->sensor]; in sd_init()
[all …]
Dtopro.c136 u8 sensor; member
1415 if (sd->sensor == SENSOR_CX0342) { in setexposure()
1427 if (sd->sensor == SENSOR_CX0342) { in setexposure()
1460 if (sd->sensor == SENSOR_SOI763A) in set_dqt()
3911 if (sd->sensor == SENSOR_SOI763A) in set_resolution()
3958 sd->sensor == SENSOR_CX0342 ? 0x10 : 0x90); in setframerate()
3965 if (sd->sensor == SENSOR_CX0342) in setframerate()
3981 if (sd->sensor == SENSOR_CX0342) { in sd_setgain()
3993 if (sd->sensor == SENSOR_CX0342) in sd_setgain()
4066 sd->sensor = force_sensor; in sd_init()
[all …]
/linux-4.19.296/drivers/iio/health/
DKconfig24 tristate "TI AFE4404 heart rate and pulse oximeter sensor"
37 tristate "MAX30100 heart rate and pulse oximeter sensor"
44 MAX30100 heart rate, and pulse oximeter sensor.
50 tristate "MAX30102 heart rate and pulse oximeter sensor"
57 MAX30102 heart rate, and pulse oximeter sensor.
/linux-4.19.296/drivers/iio/orientation/
DMakefile6 obj-$(CONFIG_HID_SENSOR_INCLINOMETER_3D) += hid-sensor-incl-3d.o
7 obj-$(CONFIG_HID_SENSOR_DEVICE_ROTATION) += hid-sensor-rotation.o
/linux-4.19.296/include/media/drv-intf/
Ds3c_camif.h36 struct s3c_camif_sensor_info sensor; member

123