/linux-6.6.21/drivers/firmware/arm_scmi/ |
D | sensors.c | 203 __le32 sensor_id; member 209 __le32 sensor_id; member 695 scmi_sensor_request_notify(const struct scmi_protocol_handle *ph, u32 sensor_id, in scmi_sensor_request_notify() argument 708 cfg->id = cpu_to_le32(sensor_id); in scmi_sensor_request_notify() 718 u32 sensor_id, bool enable) in scmi_sensor_trip_point_notify() argument 720 return scmi_sensor_request_notify(ph, sensor_id, in scmi_sensor_trip_point_notify() 727 u32 sensor_id, bool enable) in scmi_sensor_continuous_update_notify() argument 729 return scmi_sensor_request_notify(ph, sensor_id, in scmi_sensor_continuous_update_notify() 736 u32 sensor_id, u8 trip_id, u64 trip_value) in scmi_sensor_trip_point_config() argument 749 trip->id = cpu_to_le32(sensor_id); in scmi_sensor_trip_point_config() [all …]
|
/linux-6.6.21/drivers/hid/amd-sfh-hid/ |
D | amd_sfh_pcie.c | 46 cmd_resp.response_v2.sensor_id == sid)), 500, 1600000)) in amd_sfh_wait_response_v2() 60 cmd_base.cmd_v2.sensor_id = info.sensor_idx; in amd_start_sensor_v2() 78 cmd_base.cmd_v2.sensor_id = sensor_idx; in amd_stop_sensor_v2() 92 cmd_base.cmd_v2.sensor_id = 0; in amd_stop_all_sensor_v2() 150 cmd_base.s.sensor_id = info.sensor_idx; in amd_start_sensor() 170 cmd_base.s.sensor_id = sensor_idx; in amd_stop_sensor() 184 cmd_base.s.sensor_id = 0; in amd_stop_all_sensors() 205 int amd_mp2_get_sensor_num(struct amd_mp2_dev *privdata, u8 *sensor_id) in amd_mp2_get_sensor_num() argument 223 sensor_id[num_of_sensors++] = accel_idx; in amd_mp2_get_sensor_num() 226 sensor_id[num_of_sensors++] = gyro_idx; in amd_mp2_get_sensor_num() [all …]
|
D | amd_sfh_pcie.h | 36 u32 sensor_id : 8; member 45 u32 sensor_id : 8; member 58 u32 sensor_id : 6; member 102 int amd_mp2_get_sensor_num(struct amd_mp2_dev *privdata, u8 *sensor_id);
|
/linux-6.6.21/drivers/hid/amd-sfh-hid/sfh1_1/ |
D | amd_sfh_interface.c | 23 cmd_resp.response.sensor_id == sid)), 500, 10000000)) in amd_sfh_wait_response() 37 cmd_base.cmd.sensor_id = info.sensor_idx; in amd_start_sensor() 50 cmd_base.cmd.sensor_id = sensor_idx; in amd_stop_sensor() 64 cmd_base.cmd.sensor_id = 0xf; in amd_stop_all_sensor()
|
D | amd_sfh_interface.h | 34 u32 sensor_id : 4; member 49 u32 sensor_id : 4; member
|
D | amd_sfh_init.c | 18 static int amd_sfh_get_sensor_num(struct amd_mp2_dev *mp2, u8 *sensor_id) in amd_sfh_get_sensor_num() argument 36 sensor_id[num_of_sensors++] = i; in amd_sfh_get_sensor_num()
|
/linux-6.6.21/drivers/platform/chrome/ |
D | cros_ec_sensorhub_ring.c | 43 int id = sample->sensor_id; in cros_sensorhub_send_sample() 361 const u8 sensor_id = sample->sensor_id; in cros_ec_sensor_ring_check_for_past_timestamp() local 364 if (sensorhub->batch_state[sensor_id].newest_sensor_event > in cros_ec_sensor_ring_check_for_past_timestamp() 368 sensorhub->batch_state[sensor_id].last_ts; in cros_ec_sensor_ring_check_for_past_timestamp() 370 sensorhub->batch_state[sensor_id].newest_sensor_event = in cros_ec_sensor_ring_check_for_past_timestamp() 454 out->sensor_id = in->sensor_num; in cros_ec_sensor_ring_process_event() 458 sensorhub->batch_state[out->sensor_id].last_len = 0; in cros_ec_sensor_ring_process_event() 471 out->sensor_id = in->sensor_num; in cros_ec_sensor_ring_process_event() 566 if (batch_start->sensor_id != id) { in cros_ec_sensor_ring_spread_add() 610 if (s->sensor_id != id) in cros_ec_sensor_ring_spread_add() [all …]
|
/linux-6.6.21/drivers/thermal/ti-soc-thermal/ |
D | ti-thermal-common.c | 37 int sensor_id; member 83 s = &bgp->conf->sensors[data->sensor_id]; in __ti_thermal_get_temp() 85 ret = ti_bandgap_read_temperature(bgp, data->sensor_id, &tmp); in __ti_thermal_get_temp() 121 id = data->sensor_id; in __ti_thermal_get_trend() 152 data->sensor_id = id; in ti_thermal_build_data() 184 ti_bandgap_write_update_interval(bgp, data->sensor_id, in ti_thermal_expose_sensor()
|
/linux-6.6.21/drivers/hwmon/occ/ |
D | common.c | 35 u16 sensor_id; member 40 u32 sensor_id; member 46 u32 sensor_id; member 54 u16 sensor_id; member 59 u32 sensor_id; member 64 u16 sensor_id; member 71 u32 sensor_id; member 94 u32 sensor_id; member 126 u32 sensor_id; member 247 val = get_unaligned_be16(&temp->sensor_id); in occ_show_temp_1() [all …]
|
/linux-6.6.21/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() 276 zone->sensor_id = i; in scpi_hwmon_probe() 279 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()
|
/linux-6.6.21/include/linux/ |
D | scmi_protocol.h | 480 (const struct scmi_protocol_handle *ph, u32 sensor_id); 482 u32 sensor_id, u8 trip_id, u64 trip_value); 483 int (*reading_get)(const struct scmi_protocol_handle *ph, u32 sensor_id, 486 u32 sensor_id, u8 count, 489 u32 sensor_id, u32 *sensor_config); 491 u32 sensor_id, u32 sensor_config); 955 unsigned int sensor_id; member 962 unsigned int sensor_id; member
|
D | scpi_protocol.h | 33 u16 sensor_id; member 75 int (*sensor_get_info)(u16 sensor_id, struct scpi_sensor_info *);
|
/linux-6.6.21/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()
|
/linux-6.6.21/drivers/thermal/ |
D | armada_thermal.c | 802 int sensor_id) in armada_configure_overheat_int() argument 812 ret = armada_select_channel(priv, sensor_id); in armada_configure_overheat_int() 821 priv->interrupt_source = sensor_id; in armada_configure_overheat_int() 834 int sensor_id, irq; in armada_thermal_probe() local 932 for (sensor_id = 0; sensor_id <= priv->data->cpu_nr; sensor_id++) { in armada_thermal_probe() 941 sensor->id = sensor_id; in armada_thermal_probe() 947 sensor_id); in armada_thermal_probe()
|
D | k3_bandgap.c | 88 int sensor_id; member 202 data[id].sensor_id = id; in k3_bandgap_probe()
|
D | thermal_of.c | 567 struct thermal_zone_device *devm_thermal_of_zone_register(struct device *dev, int sensor_id, void *… in devm_thermal_of_zone_register() argument 577 tzd = thermal_of_zone_register(dev->of_node, sensor_id, data, ops); in devm_thermal_of_zone_register()
|
/linux-6.6.21/include/linux/platform_data/ |
D | cros_ec_sensorhub.h | 51 u8 sensor_id; member
|
/linux-6.6.21/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()
|
/linux-6.6.21/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()
|
/linux-6.6.21/drivers/media/platform/samsung/exynos4-is/ |
D | fimc-is.h | 199 u32 sensor_id; member
|