/drivers/media/usb/gspca/ |
D | mr97310a.c | 80 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 …]
|
/drivers/platform/chrome/ |
D | cros_ec_sensorhub.c | 52 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()
|
/drivers/iio/common/ssp_sensors/ |
D | ssp_spi.c | 479 int ssp_send_instruction(struct ssp_data *data, u8 inst, u8 sensor_type, in ssp_send_instruction() argument 489 } else if (!(data->available_sensors & BIT(sensor_type)) && in ssp_send_instruction() 492 __func__, sensor_type); in ssp_send_instruction() 500 ssp_fill_buffer(msg, 0, &sensor_type, 1); in ssp_send_instruction() 504 __func__, inst, sensor_type, send_buf[1]); in ssp_send_instruction()
|
D | ssp.h | 231 int ssp_send_instruction(struct ssp_data *data, u8 inst, u8 sensor_type,
|
/drivers/hwmon/ |
D | lm95234.c | 68 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()
|
D | hp-wmi-sensors.c | 268 u32 sensor_type; member 717 u32 sensor_type = nsensor->sensor_type; in scale_numeric_sensor() local 723 target_modifier = sensor_type == HP_WMI_TYPE_AIR_FLOW ? 0 : -3; in scale_numeric_sensor() 738 if (sensor_type == HP_WMI_TYPE_TEMPERATURE) { in scale_numeric_sensor() 765 u32 sensor_type = nsensor->sensor_type; in classify_numeric_sensor() local 769 switch (sensor_type) { in classify_numeric_sensor() 865 nsensor->sensor_type = value; in populate_numeric_sensor_from_wobj() 1355 &nsensor->sensor_type); in hp_wmi_debugfs_init()
|
D | ibmpex.c | 365 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()
|
D | asus-ec-sensors.c | 94 #define EC_SENSOR(sensor_label, sensor_type, size, bank, index) { \ argument 95 .label = sensor_label, .type = sensor_type, \
|
/drivers/iio/proximity/ |
D | srf08.c | 73 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()
|
/drivers/input/rmi4/ |
D | rmi_2d_sensor.h | 59 enum rmi_sensor_type sensor_type; member
|
D | rmi_f11.c | 1141 f11->sensor.sensor_type = rmi_sensor_touchscreen; in rmi_f11_initialize() 1143 f11->sensor.sensor_type = rmi_sensor_touchpad; in rmi_f11_initialize() 1165 if (sensor->sensor_type == rmi_sensor_default) in rmi_f11_initialize() 1166 sensor->sensor_type = in rmi_f11_initialize() 1167 f11->sensor_pdata.sensor_type; in rmi_f11_initialize()
|
D | rmi_f12.c | 415 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()
|
D | rmi_2d_sensor.c | 187 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()
|
/drivers/media/i2c/s5c73m3/ |
D | s5c73m3-core.c | 500 state->sensor_type[i * 2] = (char)(*data & 0xff); in s5c73m3_read_fw_version() 501 state->sensor_type[i * 2 + 1] = (char)(*data >> 8); in s5c73m3_read_fw_version() 503 state->sensor_type[S5C73M3_SENSOR_TYPE_LEN] = '\0'; in s5c73m3_read_fw_version() 513 state->sensor_type, state->sensor_fw); in s5c73m3_read_fw_version()
|
D | s5c73m3.h | 410 char sensor_type[S5C73M3_SENSOR_TYPE_LEN + 2]; member
|
/drivers/media/usb/pwc/ |
D | pwc-if.c | 572 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()
|
/drivers/hid/ |
D | hid-rmi.c | 581 .sensor_type = rmi_sensor_touchpad,
|
/drivers/input/mouse/ |
D | synaptics.c | 1759 .sensor_type = rmi_sensor_touchpad, in synaptics_create_intertouch()
|