Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/media/usb/gspca/
H A Dmr97310a.c80 u8 sensor_type; /* We use 0 and 1 here, too. */ member
185 confirm_reg = sd->sensor_type ? 0x13 : 0x11; in sensor_write1()
397 sd->sensor_type = 0; in sd_config()
400 sd->sensor_type = 1; in sd_config()
408 sd->sensor_type); in sd_config()
431 sd->sensor_type = 1; in sd_config()
435 sd->sensor_type = 2; in sd_config()
451 sd->sensor_type = 0; in sd_config()
465 sd->sensor_type); in sd_config()
471 sd->sensor_type = !!force_sensor_type; in sd_config()
[all …]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkisp_demo/demo/iio/demo/
H A Drkiio_aiq_api_test.c27 mems_sensor_type_t sensor_type; member
73 mems_sensor_type_t sensor_type, in rkiio_aiq_sensors_list_get() argument
81 switch (sensor_type) { in rkiio_aiq_sensors_list_get()
115 mems_sensor_type_t sensor_type, in rkiio_aiq_sensor_cap_get() argument
125 caps->type = sensor_type; in rkiio_aiq_sensor_cap_get()
126 switch (sensor_type) { in rkiio_aiq_sensor_cap_get()
157 mems_sensor_type_t sensor_type, in rkiio_aiq_sensor_config_get() argument
171 switch (sensor_type) { in rkiio_aiq_sensor_config_get()
196 mems_sensor_type_t sensor_type, in rkiio_aiq_sensor_config_set() argument
209 switch (sensor_type) { in rkiio_aiq_sensor_config_set()
[all …]
/OK3568_Linux_fs/kernel/drivers/platform/chrome/
H A Dcros_ec_sensorhub.c52 int sensor_type[MOTIONSENSE_TYPE_MAX] = { 0 }; in cros_ec_sensorhub_register() local
106 sensor_type[sensorhub->resp->info.type]++; in cros_ec_sensorhub_register()
109 if (sensor_type[MOTIONSENSE_TYPE_ACCEL] >= 2) in cros_ec_sensorhub_register()
/OK3568_Linux_fs/kernel/drivers/iio/common/ssp_sensors/
H A Dssp_spi.c480 int ssp_send_instruction(struct ssp_data *data, u8 inst, u8 sensor_type, in ssp_send_instruction() argument
490 } else if (!(data->available_sensors & BIT(sensor_type)) && in ssp_send_instruction()
493 __func__, sensor_type); in ssp_send_instruction()
501 ssp_fill_buffer(msg, 0, &sensor_type, 1); in ssp_send_instruction()
505 __func__, inst, sensor_type, send_buf[1]); in ssp_send_instruction()
H A Dssp.h232 int ssp_send_instruction(struct ssp_data *data, u8 inst, u8 sensor_type,
/OK3568_Linux_fs/kernel/drivers/hwmon/
H A Dlm95234.c68 u8 sensor_type; /* temperature sensor type */ member
151 data->sensor_type = ret; in lm95234_fill_cache()
242 return sprintf(buf, data->sensor_type & mask ? "1\n" : "2\n"); in type_show()
265 data->sensor_type |= mask; in type_store()
267 data->sensor_type &= ~mask; in type_store()
270 data->sensor_type); in type_store()
H A Dibmpex.c365 int sensor_type; in ibmpex_find_sensors() local
386 sensor_type = POWER_SENSOR; in ibmpex_find_sensors()
395 sensor_type = TEMP_SENSOR; in ibmpex_find_sensors()
406 err = create_sensor(data, sensor_type, sensor_counter, in ibmpex_find_sensors()
/OK3568_Linux_fs/kernel/drivers/iio/proximity/
H A Dsrf08.c73 enum srf08_sensor_type sensor_type; member
466 data->sensor_type = (enum srf08_sensor_type)id->driver_data; in srf08_probe()
468 switch (data->sensor_type) { in srf08_probe()
/OK3568_Linux_fs/kernel/drivers/input/rmi4/
H A Drmi_2d_sensor.h59 enum rmi_sensor_type sensor_type; member
H A Drmi_f11.c1119 f11->sensor.sensor_type = rmi_sensor_touchscreen; in rmi_f11_initialize()
1121 f11->sensor.sensor_type = rmi_sensor_touchpad; in rmi_f11_initialize()
1143 if (sensor->sensor_type == rmi_sensor_default) in rmi_f11_initialize()
1144 sensor->sensor_type = in rmi_f11_initialize()
1145 f11->sensor_pdata.sensor_type; in rmi_f11_initialize()
H A Drmi_f12.c415 if (sensor->sensor_type == rmi_sensor_default) in rmi_f12_probe()
416 sensor->sensor_type = in rmi_f12_probe()
417 f12->sensor_pdata.sensor_type; in rmi_f12_probe()
H A Drmi_2d_sensor.c187 if (sensor->sensor_type == rmi_sensor_touchpad) in rmi_2d_sensor_set_input_params()
290 retval = rmi_of_property_read_u32(dev, (u32 *)&pdata->sensor_type, in rmi_2d_sensor_of_probe()
/OK3568_Linux_fs/u-boot/include/
H A Dec_commands.h1066 uint8_t sensor_type; member
1075 uint8_t sensor_type; member
1259 uint8_t sensor_type; member
/OK3568_Linux_fs/kernel/include/linux/
H A Drmi.h92 enum rmi_sensor_type sensor_type; member
/OK3568_Linux_fs/kernel/arch/ia64/include/asm/
H A Dsal.h497 sensor_type : 1, member
510 u8 sensor_type; member
/OK3568_Linux_fs/kernel/drivers/media/i2c/s5c73m3/
H A Ds5c73m3-core.c502 state->sensor_type[i * 2] = (char)(*data & 0xff); in s5c73m3_read_fw_version()
503 state->sensor_type[i * 2 + 1] = (char)(*data >> 8); in s5c73m3_read_fw_version()
505 state->sensor_type[S5C73M3_SENSOR_TYPE_LEN] = '\0'; in s5c73m3_read_fw_version()
515 state->sensor_type, state->sensor_fw); in s5c73m3_read_fw_version()
H A Ds5c73m3.h415 char sensor_type[S5C73M3_SENSOR_TYPE_LEN + 2]; member
/OK3568_Linux_fs/kernel/drivers/media/usb/cpia2/
H A Dcpia2.h368 enum sensors sensor_type; member
H A Dcpia2_core.c2151 cam->sensor_type = CPIA2_SENSOR_500; in reset_camera_struct()
2156 cam->sensor_type = CPIA2_SENSOR_410; in reset_camera_struct()
/OK3568_Linux_fs/kernel/drivers/media/usb/pwc/
H A Dpwc-if.c572 static const char *pwc_sensor_type_to_string(unsigned int sensor_type) in pwc_sensor_type_to_string() argument
574 switch(sensor_type) { in pwc_sensor_type_to_string()
/OK3568_Linux_fs/external/rk_pcba_test/rk_pcba_test/
H A Dtest_config.cfg168 sensor_type = 39
/OK3568_Linux_fs/kernel/include/linux/platform_data/
H A Dcros_ec_commands.h2976 uint8_t sensor_type; member
2983 uint8_t sensor_type; member
3512 uint8_t sensor_type; member
/OK3568_Linux_fs/kernel/drivers/hid/
H A Dhid-rmi.c581 .sensor_type = rmi_sensor_touchpad,
/OK3568_Linux_fs/kernel/include/acpi/
H A Dactbl1.h174 u8 sensor_type; member
/OK3568_Linux_fs/kernel/drivers/input/mouse/
H A Dsynaptics.c1753 .sensor_type = rmi_sensor_touchpad, in synaptics_create_intertouch()