/Linux-v5.4/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() 398 sd->sensor_type = 0; in sd_config() 401 sd->sensor_type = 1; in sd_config() 409 sd->sensor_type); in sd_config() 432 sd->sensor_type = 1; in sd_config() 436 sd->sensor_type = 2; in sd_config() 452 sd->sensor_type = 0; in sd_config() 466 sd->sensor_type); in sd_config() 472 sd->sensor_type = !!force_sensor_type; in sd_config() [all …]
|
/Linux-v5.4/drivers/mfd/ |
D | cros_ec_dev.c | 161 int sensor_type[MOTIONSENSE_TYPE_MAX]; in cros_ec_sensors_register() local 202 memset(sensor_type, 0, sizeof(sensor_type)); in cros_ec_sensors_register() 240 sensor_cells[id].id = sensor_type[resp->info.type]; in cros_ec_sensors_register() 245 sensor_type[resp->info.type]++; in cros_ec_sensors_register() 249 if (sensor_type[MOTIONSENSE_TYPE_ACCEL] >= 2) in cros_ec_sensors_register()
|
/Linux-v5.4/drivers/iio/common/ssp_sensors/ |
D | ssp_spi.c | 473 int ssp_send_instruction(struct ssp_data *data, u8 inst, u8 sensor_type, in ssp_send_instruction() argument 483 } else if (!(data->available_sensors & BIT(sensor_type)) && in ssp_send_instruction() 486 __func__, sensor_type); in ssp_send_instruction() 494 ssp_fill_buffer(msg, 0, &sensor_type, 1); in ssp_send_instruction() 498 __func__, inst, sensor_type, send_buf[1]); in ssp_send_instruction()
|
D | ssp.h | 232 int ssp_send_instruction(struct ssp_data *data, u8 inst, u8 sensor_type,
|
/Linux-v5.4/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 | 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()
|
/Linux-v5.4/drivers/staging/media/soc_camera/ |
D | soc_mt9v022.c | 27 static char *sensor_type; variable 28 module_param(sensor_type, charp, S_IRUGO); 29 MODULE_PARM_DESC(sensor_type, "Sensor type: \"colour\" or \"monochrome\""); 704 if (sensor_type && (!strcmp("colour", sensor_type) || in mt9v022_video_probe() 705 !strcmp("color", sensor_type))) { in mt9v022_video_probe()
|
/Linux-v5.4/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()
|
/Linux-v5.4/drivers/input/rmi4/ |
D | rmi_2d_sensor.h | 59 enum rmi_sensor_type sensor_type; member
|
D | rmi_f11.c | 1115 f11->sensor.sensor_type = rmi_sensor_touchscreen; in rmi_f11_initialize() 1117 f11->sensor.sensor_type = rmi_sensor_touchpad; in rmi_f11_initialize() 1139 if (sensor->sensor_type == rmi_sensor_default) in rmi_f11_initialize() 1140 sensor->sensor_type = in rmi_f11_initialize() 1141 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()
|
/Linux-v5.4/include/linux/ |
D | rmi.h | 92 enum rmi_sensor_type sensor_type; member
|
/Linux-v5.4/arch/ia64/include/asm/ |
D | sal.h | 497 sensor_type : 1, member 510 u8 sensor_type; member
|
/Linux-v5.4/drivers/media/i2c/s5c73m3/ |
D | s5c73m3.h | 415 char sensor_type[S5C73M3_SENSOR_TYPE_LEN + 2]; member
|
D | s5c73m3-core.c | 502 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()
|
/Linux-v5.4/drivers/media/usb/cpia2/ |
D | cpia2.h | 368 enum sensors sensor_type; member
|
D | cpia2_core.c | 2151 cam->sensor_type = CPIA2_SENSOR_500; in reset_camera_struct() 2156 cam->sensor_type = CPIA2_SENSOR_410; in reset_camera_struct()
|
/Linux-v5.4/drivers/media/usb/pwc/ |
D | pwc-if.c | 560 static const char *pwc_sensor_type_to_string(unsigned int sensor_type) in pwc_sensor_type_to_string() argument 562 switch(sensor_type) { in pwc_sensor_type_to_string()
|
/Linux-v5.4/include/linux/platform_data/ |
D | cros_ec_commands.h | 2975 uint8_t sensor_type; member 2982 uint8_t sensor_type; member 3511 uint8_t sensor_type; member
|
/Linux-v5.4/drivers/hid/ |
D | hid-rmi.c | 583 .sensor_type = rmi_sensor_touchpad,
|
/Linux-v5.4/include/acpi/ |
D | actbl1.h | 174 u8 sensor_type; member
|
/Linux-v5.4/drivers/input/mouse/ |
D | synaptics.c | 1744 .sensor_type = rmi_sensor_touchpad, in synaptics_create_intertouch()
|