Searched refs:sensor_type (Results 1 - 21 of 21) sorted by relevance

/linux-master/drivers/media/usb/gspca/
H A Dmr97310a.c80 u8 sensor_type; /* We use 0 and 1 here, too. */ member in struct:sd
185 confirm_reg = sd->sensor_type ? 0x13 : 0x11;
384 * Name sd->sensor_type reported by
397 sd->sensor_type = 0;
400 sd->sensor_type = 1;
408 sd->sensor_type);
417 * Name gspca_dev->usb_buf[] sd->sensor_type
431 sd->sensor_type = 1;
435 sd->sensor_type = 2;
451 sd->sensor_type
[all...]
/linux-master/drivers/input/rmi4/
H A Drmi_2d_sensor.h39 * @sensor_type - indicates whether we're touchscreen or touchpad.
59 enum rmi_sensor_type sensor_type; member in struct:rmi_2d_sensor
H A Drmi_2d_sensor.c187 if (sensor->sensor_type == rmi_sensor_touchpad)
290 retval = rmi_of_property_read_u32(dev, (u32 *)&pdata->sensor_type,
H A Drmi_f11.c1141 f11->sensor.sensor_type = rmi_sensor_touchscreen;
1143 f11->sensor.sensor_type = rmi_sensor_touchpad;
1165 if (sensor->sensor_type == rmi_sensor_default)
1166 sensor->sensor_type =
1167 f11->sensor_pdata.sensor_type;
H A Drmi_f12.c415 if (sensor->sensor_type == rmi_sensor_default)
416 sensor->sensor_type =
417 f12->sensor_pdata.sensor_type;
/linux-master/drivers/platform/chrome/
H A Dcros_ec_sensorhub.c52 int sensor_type[MOTIONSENSE_TYPE_MAX] = { 0 }; local
106 sensor_type[sensorhub->resp->info.type]++;
109 if (sensor_type[MOTIONSENSE_TYPE_ACCEL] >= 2)
/linux-master/drivers/iio/common/ssp_sensors/
H A Dssp_spi.c479 int ssp_send_instruction(struct ssp_data *data, u8 inst, u8 sensor_type, argument
489 } else if (!(data->available_sensors & BIT(sensor_type)) &&
492 __func__, sensor_type);
500 ssp_fill_buffer(msg, 0, &sensor_type, 1);
504 __func__, inst, sensor_type, send_buf[1]);
H A Dssp.h231 int ssp_send_instruction(struct ssp_data *data, u8 inst, u8 sensor_type,
/linux-master/drivers/hwmon/
H A Dhp-wmi-sensors.c268 u32 sensor_type; member in struct:hp_wmi_numeric_sensor
717 u32 sensor_type = nsensor->sensor_type; local
723 target_modifier = sensor_type == HP_WMI_TYPE_AIR_FLOW ? 0 : -3;
738 if (sensor_type == HP_WMI_TYPE_TEMPERATURE) {
765 u32 sensor_type = nsensor->sensor_type; local
769 switch (sensor_type) {
865 nsensor->sensor_type = value;
1354 debugfs_create_u32("sensor_type", 044
[all...]
H A Dibmpex.c365 int sensor_type; local
386 sensor_type = POWER_SENSOR;
395 sensor_type = TEMP_SENSOR;
406 err = create_sensor(data, sensor_type, sensor_counter,
H A Dlm95234.c68 u8 sensor_type; /* temperature sensor type */ member in struct:lm95234_data
151 data->sensor_type = ret;
242 return sprintf(buf, data->sensor_type & mask ? "1\n" : "2\n");
265 data->sensor_type |= mask;
267 data->sensor_type &= ~mask;
270 data->sensor_type);
H A Dasus-ec-sensors.c94 #define EC_SENSOR(sensor_label, sensor_type, size, bank, index) { \
95 .label = sensor_label, .type = sensor_type, \
/linux-master/drivers/iio/proximity/
H A Dsrf08.c73 enum srf08_sensor_type sensor_type; member in struct:srf08_data
466 data->sensor_type = (enum srf08_sensor_type)id->driver_data;
468 switch (data->sensor_type) {
/linux-master/include/linux/
H A Drmi.h73 * @sensor_type - Forces the driver to treat the sensor as an indirect
92 enum rmi_sensor_type sensor_type; member in struct:rmi_2d_sensor_platform_data
/linux-master/drivers/media/i2c/s5c73m3/
H A Ds5c73m3.h410 char sensor_type[S5C73M3_SENSOR_TYPE_LEN + 2]; member in struct:s5c73m3
H A Ds5c73m3-core.c500 state->sensor_type[i * 2] = (char)(*data & 0xff);
501 state->sensor_type[i * 2 + 1] = (char)(*data >> 8);
503 state->sensor_type[S5C73M3_SENSOR_TYPE_LEN] = '\0';
513 state->sensor_type, state->sensor_fw);
/linux-master/drivers/media/usb/pwc/
H A Dpwc-if.c572 static const char *pwc_sensor_type_to_string(unsigned int sensor_type) argument
574 switch(sensor_type) {
/linux-master/drivers/hid/
H A Dhid-rmi.c579 .sensor_type = rmi_sensor_touchpad,
/linux-master/include/linux/platform_data/
H A Dcros_ec_commands.h3004 uint8_t sensor_type; member in struct:ec_params_thermal_set_threshold
3011 uint8_t sensor_type; member in struct:ec_params_thermal_get_threshold
3547 uint8_t sensor_type; member in struct:ec_response_temp_sensor_get_info
/linux-master/include/acpi/
H A Dactbl1.h225 u8 sensor_type; member in struct:acpi_asf_alert_data
/linux-master/drivers/input/mouse/
H A Dsynaptics.c1759 .sensor_type = rmi_sensor_touchpad,

Completed in 249 milliseconds