/kernel/linux/linux-5.10/drivers/firmware/arm_scmi/ |
D | sensors.c | 77 __le32 sensor_id; member 182 u32 sensor_id, bool enable) in scmi_sensor_trip_point_notify() argument 195 cfg->id = cpu_to_le32(sensor_id); in scmi_sensor_trip_point_notify() 205 scmi_sensor_trip_point_config(const struct scmi_handle *handle, u32 sensor_id, in scmi_sensor_trip_point_config() argument 219 trip->id = cpu_to_le32(sensor_id); in scmi_sensor_trip_point_config() 231 u32 sensor_id, u64 *value) in scmi_sensor_reading_get() argument 237 struct scmi_sensor_info *s = si->sensors + sensor_id; in scmi_sensor_reading_get() 246 sensor->id = cpu_to_le32(sensor_id); in scmi_sensor_reading_get() 266 scmi_sensor_info_get(const struct scmi_handle *handle, u32 sensor_id) in scmi_sensor_info_get() argument 270 return si->sensors + sensor_id; in scmi_sensor_info_get() [all …]
|
/kernel/linux/linux-5.10/drivers/platform/chrome/ |
D | cros_ec_sensorhub_ring.c | 42 int id = sample->sensor_id; in cros_sensorhub_send_sample() 360 const u8 sensor_id = sample->sensor_id; in cros_ec_sensor_ring_check_for_past_timestamp() local 363 if (sensorhub->batch_state[sensor_id].newest_sensor_event > in cros_ec_sensor_ring_check_for_past_timestamp() 367 sensorhub->batch_state[sensor_id].last_ts; in cros_ec_sensor_ring_check_for_past_timestamp() 369 sensorhub->batch_state[sensor_id].newest_sensor_event = in cros_ec_sensor_ring_check_for_past_timestamp() 453 out->sensor_id = in->sensor_num; in cros_ec_sensor_ring_process_event() 457 sensorhub->batch_state[out->sensor_id].last_len = 0; in cros_ec_sensor_ring_process_event() 470 out->sensor_id = in->sensor_num; in cros_ec_sensor_ring_process_event() 565 if (batch_start->sensor_id != id) { in cros_ec_sensor_ring_spread_add() 609 if (s->sensor_id != id) in cros_ec_sensor_ring_spread_add() [all …]
|
/kernel/linux/linux-5.10/drivers/thermal/ti-soc-thermal/ |
D | ti-thermal-common.c | 34 int sensor_id; member 80 s = &bgp->conf->sensors[data->sensor_id]; in __ti_thermal_get_temp() 82 ret = ti_bandgap_read_temperature(bgp, data->sensor_id, &tmp); in __ti_thermal_get_temp() 124 id = data->sensor_id; in __ti_thermal_get_trend() 155 data->sensor_id = id; in ti_thermal_build_data() 187 ti_bandgap_write_update_interval(bgp, data->sensor_id, in ti_thermal_expose_sensor()
|
/kernel/linux/linux-5.10/drivers/hwmon/occ/ |
D | common.c | 34 u16 sensor_id; member 39 u32 sensor_id; member 45 u16 sensor_id; member 50 u32 sensor_id; member 55 u16 sensor_id; member 62 u32 sensor_id; member 85 u32 sensor_id; member 117 u32 sensor_id; member 241 val = get_unaligned_be16(&temp->sensor_id); in occ_show_temp_1() 277 val = get_unaligned_be32(&temp->sensor_id); in occ_show_temp_2() [all …]
|
/kernel/linux/linux-5.10/drivers/hwmon/ |
D | scpi-hwmon.c | 28 int sensor_id; member 70 struct sensor_data *sensor = &scpi_sensors->data[zone->sensor_id]; in scpi_read_temp() 74 ret = scpi_ops->sensor_get_value(sensor->info.sensor_id, &value); in scpi_read_temp() 96 ret = scpi_ops->sensor_get_value(sensor->info.sensor_id, &value); in scpi_show_sensor() 278 zone->sensor_id = i; in scpi_hwmon_probe() 281 sensor->info.sensor_id, in scpi_hwmon_probe()
|
D | ibmpowernv.c | 572 u32 sensor_id; in create_device_attrs() local 584 if (of_property_read_u32(np, "sensor-id", &sensor_id) && in create_device_attrs() 585 of_property_read_u32(np, "sensor-data", &sensor_id)) { in create_device_attrs() 592 sdata[count].id = sensor_id; in create_device_attrs() 609 populate_sensor(&sdata[count], opal_index, hw_id, sensor_id, in create_device_attrs() 624 sensor_id, "label", type, pgroups[type], in create_device_attrs() 629 if (!of_property_read_u32(np, "sensor-data-max", &sensor_id)) { in create_device_attrs() 632 sensor_id, attr_name, type, in create_device_attrs() 638 if (!of_property_read_u32(np, "sensor-data-min", &sensor_id)) { in create_device_attrs() 641 sensor_id, attr_name, type, in create_device_attrs()
|
D | ibmpex.c | 292 static int is_power_sensor(const char *sensor_id, int len) in is_power_sensor() argument 297 if (!memcmp(sensor_id, power_sensor_sig, PEX_SENSOR_TYPE_LEN)) in is_power_sensor() 302 static int is_temp_sensor(const char *sensor_id, int len) in is_temp_sensor() argument 307 if (!memcmp(sensor_id, temp_sensor_sig, PEX_SENSOR_TYPE_LEN)) in is_temp_sensor() 313 const char *sensor_id, int len) in power_sensor_multiplier() argument 321 if (!memcmp(&sensor_id[i], watt_sensor_sig, PEX_MULT_LEN)) in power_sensor_multiplier()
|
/kernel/linux/linux-5.10/include/linux/ |
D | scpi_protocol.h | 33 u16 sensor_id; member 67 int (*sensor_get_info)(u16 sensor_id, struct scpi_sensor_info *);
|
D | scmi_protocol.h | 185 (const struct scmi_handle *handle, u32 sensor_id); 187 u32 sensor_id, u8 trip_id, u64 trip_value); 188 int (*reading_get)(const struct scmi_handle *handle, u32 sensor_id, 426 unsigned int sensor_id; member
|
/kernel/linux/linux-5.10/drivers/media/usb/gspca/ |
D | ov534_9.c | 1400 u16 sensor_id; in sd_init() local 1416 sensor_id = sccb_read(gspca_dev, 0x0a) << 8; in sd_init() 1418 sensor_id |= sccb_read(gspca_dev, 0x0b); in sd_init() 1419 gspca_dbg(gspca_dev, D_PROBE, "Sensor ID: %04x\n", sensor_id); in sd_init() 1422 if ((sensor_id & 0xfff0) == 0x9650) { in sd_init() 1440 } else if ((sensor_id & 0xfff0) == 0x9710) { in sd_init() 1472 } else if ((sensor_id & 0xfff0) == 0x5620) { in sd_init() 1482 } else if ((sensor_id & 0xfff0) == 0x3610) { in sd_init() 1490 pr_err("Unknown sensor %04x", sensor_id); in sd_init()
|
D | stk1135.c | 384 u16 sensor_id; in sd_init() local 413 sensor_id = sensor_read(gspca_dev, 0x000); in sd_init() 415 switch (sensor_id) { in sd_init() 422 pr_info("Detected sensor type %s (0x%x)\n", sensor_name, sensor_id); in sd_init()
|
D | t613.c | 571 u16 sensor_id; in sd_init() local 582 sensor_id = (reg_r(gspca_dev, 0x06) << 8) in sd_init() 584 switch (sensor_id & 0xff0f) { in sd_init() 602 pr_err("unknown sensor %04x\n", sensor_id); in sd_init()
|
D | ov534.c | 1316 u16 sensor_id; in sd_init() local 1340 sensor_id = sccb_reg_read(gspca_dev, 0x0a) << 8; in sd_init() 1342 sensor_id |= sccb_reg_read(gspca_dev, 0x0b); in sd_init() 1343 gspca_dbg(gspca_dev, D_PROBE, "Sensor ID: %04x\n", sensor_id); in sd_init() 1345 if ((sensor_id & 0xfff0) == 0x7670) { in sd_init()
|
/kernel/linux/linux-5.10/drivers/thermal/ |
D | armada_thermal.c | 785 int sensor_id) in armada_configure_overheat_int() argument 802 ret = armada_select_channel(priv, sensor_id); in armada_configure_overheat_int() 810 priv->interrupt_source = sensor_id; in armada_configure_overheat_int() 824 int sensor_id, irq; in armada_thermal_probe() local 921 for (sensor_id = 0; sensor_id <= priv->data->cpu_nr; sensor_id++) { in armada_thermal_probe() 930 sensor->id = sensor_id; in armada_thermal_probe() 936 sensor_id); in armada_thermal_probe()
|
D | k3_bandgap.c | 86 int sensor_id; member 200 data[id].sensor_id = id; in k3_bandgap_probe()
|
D | thermal_of.c | 493 thermal_zone_of_sensor_register(struct device *dev, int sensor_id, void *data, in thermal_zone_of_sensor_register() argument 518 if (id == sensor_id) { in thermal_zone_of_sensor_register() 616 struct device *dev, int sensor_id, in devm_thermal_zone_of_sensor_register() argument 626 tzd = thermal_zone_of_sensor_register(dev, sensor_id, data, ops); in devm_thermal_zone_of_sensor_register()
|
D | rockchip_thermal.c | 46 enum sensor_id { enum
|
/kernel/linux/linux-5.10/include/linux/platform_data/ |
D | cros_ec_sensorhub.h | 51 u8 sensor_id; member
|
D | cros_ec_commands.h | 2630 uint8_t sensor_id; member
|
/kernel/linux/linux-5.10/drivers/firmware/ |
D | arm_scpi.c | 316 __le16 sensor_id; member 723 static int scpi_sensor_get_info(u16 sensor_id, struct scpi_sensor_info *info) in scpi_sensor_get_info() argument 725 __le16 id = cpu_to_le16(sensor_id); in scpi_sensor_get_info() 733 info->sensor_id = le16_to_cpu(_info.sensor_id); in scpi_sensor_get_info()
|
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
D | wacom_w8001.c | 77 u8 sensor_id; member 193 query->sensor_id = data[2] & 0x7; in parse_touchquery() 503 switch (touch.sensor_id) { in w8001_setup_touch()
|
/kernel/linux/linux-5.10/drivers/media/platform/exynos4-is/ |
D | fimc-is.h | 200 u32 sensor_id; member
|
/kernel/linux/linux-5.10/drivers/thermal/samsung/ |
D | exynos_tmu.c | 493 int sensor_id, cal_type; in exynos5433_tmu_initialize() local 499 sensor_id = (trim_info & EXYNOS5433_TRIMINFO_SENSOR_ID_MASK) in exynos5433_tmu_initialize() 501 dev_info(&pdev->dev, "Temperature sensor ID: 0x%x\n", sensor_id); in exynos5433_tmu_initialize()
|
/kernel/linux/linux-5.10/Documentation/driver-api/thermal/ |
D | sysfs-api.rst | 111 *thermal_zone_of_sensor_register(struct device *dev, int sensor_id, 127 sensor_id: 174 int sensor_id,
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/ |
D | 0005_linux_include.patch | 13558 u32 sensor_id, u8 trip_id, u64 trip_value); 13559 int (*reading_get)(const struct scmi_handle *handle, u32 sensor_id, 13562 + u32 sensor_id, u8 count, 13565 + u32 sensor_id, u32 *sensor_config); 13567 + u32 sensor_id, u32 sensor_config); 13692 + unsigned int sensor_id;
|