Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/media/usb/gspca/
Dmr97310a.c89 u8 sensor_type; /* We use 0 and 1 here, too. */ member
194 confirm_reg = sd->sensor_type ? 0x13 : 0x11; in sensor_write1()
407 sd->sensor_type = 0; in sd_config()
410 sd->sensor_type = 1; in sd_config()
418 sd->sensor_type); in sd_config()
441 sd->sensor_type = 1; in sd_config()
445 sd->sensor_type = 2; in sd_config()
461 sd->sensor_type = 0; in sd_config()
475 sd->sensor_type); in sd_config()
481 sd->sensor_type = !!force_sensor_type; in sd_config()
[all …]
/Linux-v4.19/drivers/mfd/
Dcros_ec_dev.c275 int sensor_type[MOTIONSENSE_TYPE_MAX]; in cros_ec_sensors_register() local
314 memset(sensor_type, 0, sizeof(sensor_type)); in cros_ec_sensors_register()
352 sensor_cells[id].id = sensor_type[resp->info.type]; in cros_ec_sensors_register()
357 sensor_type[resp->info.type]++; in cros_ec_sensors_register()
361 if (sensor_type[MOTIONSENSE_TYPE_ACCEL] >= 2) in cros_ec_sensors_register()
/Linux-v4.19/drivers/iio/common/ssp_sensors/
Dssp_spi.c483 int ssp_send_instruction(struct ssp_data *data, u8 inst, u8 sensor_type, in ssp_send_instruction() argument
493 } else if (!(data->available_sensors & BIT(sensor_type)) && in ssp_send_instruction()
496 __func__, sensor_type); in ssp_send_instruction()
504 ssp_fill_buffer(msg, 0, &sensor_type, 1); in ssp_send_instruction()
508 __func__, inst, sensor_type, send_buf[1]); in ssp_send_instruction()
Dssp.h242 int ssp_send_instruction(struct ssp_data *data, u8 inst, u8 sensor_type,
/Linux-v4.19/drivers/hwmon/
Dlm95234.c77 u8 sensor_type; /* temperature sensor type */ member
160 data->sensor_type = ret; in lm95234_fill_cache()
251 return sprintf(buf, data->sensor_type & mask ? "1\n" : "2\n"); in show_type()
274 data->sensor_type |= mask; in set_type()
276 data->sensor_type &= ~mask; in set_type()
279 data->sensor_type); in set_type()
Dibmpex.c380 int sensor_type; in ibmpex_find_sensors() local
401 sensor_type = POWER_SENSOR; in ibmpex_find_sensors()
410 sensor_type = TEMP_SENSOR; in ibmpex_find_sensors()
421 err = create_sensor(data, sensor_type, sensor_counter, in ibmpex_find_sensors()
/Linux-v4.19/drivers/media/i2c/soc_camera/
Dmt9v022.c31 static char *sensor_type; variable
32 module_param(sensor_type, charp, S_IRUGO);
33 MODULE_PARM_DESC(sensor_type, "Sensor type: \"colour\" or \"monochrome\"");
709 if (sensor_type && (!strcmp("colour", sensor_type) || in mt9v022_video_probe()
710 !strcmp("color", sensor_type))) { in mt9v022_video_probe()
/Linux-v4.19/drivers/iio/proximity/
Dsrf08.c76 enum srf08_sensor_type sensor_type; member
469 data->sensor_type = (enum srf08_sensor_type)id->driver_data; in srf08_probe()
471 switch (data->sensor_type) { in srf08_probe()
/Linux-v4.19/drivers/input/rmi4/
Drmi_2d_sensor.h62 enum rmi_sensor_type sensor_type; member
Drmi_f12.c396 if (sensor->sensor_type == rmi_sensor_default) in rmi_f12_probe()
397 sensor->sensor_type = in rmi_f12_probe()
398 f12->sensor_pdata.sensor_type; in rmi_f12_probe()
Drmi_f11.c1121 f11->sensor.sensor_type = rmi_sensor_touchscreen; in rmi_f11_initialize()
1123 f11->sensor.sensor_type = rmi_sensor_touchpad; in rmi_f11_initialize()
1145 if (sensor->sensor_type == rmi_sensor_default) in rmi_f11_initialize()
1146 sensor->sensor_type = in rmi_f11_initialize()
1147 f11->sensor_pdata.sensor_type; in rmi_f11_initialize()
Drmi_2d_sensor.c190 if (sensor->sensor_type == rmi_sensor_touchpad) in rmi_2d_sensor_set_input_params()
294 retval = rmi_of_property_read_u32(dev, (u32 *)&pdata->sensor_type, in rmi_2d_sensor_of_probe()
/Linux-v4.19/include/linux/
Drmi.h95 enum rmi_sensor_type sensor_type; member
/Linux-v4.19/arch/ia64/include/asm/
Dsal.h496 sensor_type : 1, member
509 u8 sensor_type; member
/Linux-v4.19/drivers/media/i2c/s5c73m3/
Ds5c73m3.h423 char sensor_type[S5C73M3_SENSOR_TYPE_LEN + 2]; member
Ds5c73m3-core.c510 state->sensor_type[i * 2] = (char)(*data & 0xff); in s5c73m3_read_fw_version()
511 state->sensor_type[i * 2 + 1] = (char)(*data >> 8); in s5c73m3_read_fw_version()
513 state->sensor_type[S5C73M3_SENSOR_TYPE_LEN] = '\0'; in s5c73m3_read_fw_version()
523 state->sensor_type, state->sensor_fw); in s5c73m3_read_fw_version()
/Linux-v4.19/include/linux/mfd/
Dcros_ec_commands.h1780 uint8_t sensor_type; member
1787 uint8_t sensor_type; member
2148 uint8_t sensor_type; member
/Linux-v4.19/drivers/media/usb/cpia2/
Dcpia2.h377 enum sensors sensor_type; member
Dcpia2_core.c2160 cam->sensor_type = CPIA2_SENSOR_500; in reset_camera_struct()
2165 cam->sensor_type = CPIA2_SENSOR_410; in reset_camera_struct()
/Linux-v4.19/drivers/media/usb/pwc/
Dpwc-if.c529 static const char *pwc_sensor_type_to_string(unsigned int sensor_type) in pwc_sensor_type_to_string() argument
531 switch(sensor_type) { in pwc_sensor_type_to_string()
/Linux-v4.19/drivers/hid/
Dhid-rmi.c576 .sensor_type = rmi_sensor_touchpad,
/Linux-v4.19/include/acpi/
Dactbl1.h174 u8 sensor_type; member
/Linux-v4.19/drivers/input/mouse/
Dsynaptics.c1740 .sensor_type = rmi_sensor_touchpad, in synaptics_create_intertouch()