sensors 92 arch/mips/include/asm/mach-loongson64/boot_param.h struct sensor_device sensors[MAX_SENSORS]; sensors 214 arch/mips/include/asm/mach-loongson64/boot_param.h struct sensor_device sensors[MAX_SENSORS]; sensors 183 arch/mips/loongson64/common/env.c memcpy(loongson_sysconf.sensors, esys->sensors, sensors 26 arch/mips/loongson64/loongson-3/platform.c if (loongson_sysconf.sensors[i].type > SENSOR_FAN) sensors 33 arch/mips/loongson64/loongson-3/platform.c pdev->name = loongson_sysconf.sensors[i].name; sensors 34 arch/mips/loongson64/loongson-3/platform.c pdev->id = loongson_sysconf.sensors[i].id; sensors 35 arch/mips/loongson64/loongson-3/platform.c pdev->dev.platform_data = &loongson_sysconf.sensors[i]; sensors 128 arch/powerpc/kernel/rtas-proc.c static struct rtas_sensors sensors; sensors 404 arch/powerpc/kernel/rtas-proc.c for (i=0; i<sensors.quant; i++) { sensors 405 arch/powerpc/kernel/rtas-proc.c struct individual_sensor *p = &sensors.sensor[i]; sensors 444 arch/powerpc/kernel/rtas-proc.c sensors.quant = len / 8; /* int + int */ sensors 446 arch/powerpc/kernel/rtas-proc.c for (i=0; i<sensors.quant; i++) { sensors 447 arch/powerpc/kernel/rtas-proc.c sensors.sensor[i].token = *utmp++; sensors 448 arch/powerpc/kernel/rtas-proc.c sensors.sensor[i].quant = *utmp++; sensors 75 drivers/firmware/arm_scmi/sensors.c struct scmi_sensor_info *sensors; sensors 144 drivers/firmware/arm_scmi/sensors.c s = &si->sensors[desc_index + cnt]; sensors 223 drivers/firmware/arm_scmi/sensors.c struct scmi_sensor_info *s = si->sensors + sensor_id; sensors 256 drivers/firmware/arm_scmi/sensors.c return si->sensors + sensor_id; sensors 290 drivers/firmware/arm_scmi/sensors.c sinfo->sensors = devm_kcalloc(handle->dev, sinfo->num_sensors, sensors 291 drivers/firmware/arm_scmi/sensors.c sizeof(*sinfo->sensors), GFP_KERNEL); sensors 292 drivers/firmware/arm_scmi/sensors.c if (!sinfo->sensors) sensors 708 drivers/firmware/arm_scpi.c static int scpi_sensor_get_capability(u16 *sensors) sensors 716 drivers/firmware/arm_scpi.c *sensors = le16_to_cpu(cap); sensors 10 drivers/gpu/drm/nouveau/include/nvkm/subdev/iccsense.h struct list_head sensors; sensors 137 drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/base.c list_for_each_entry_safe(sensor, tmps, &iccsense->sensors, head) { sensors 195 drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/base.c list_add_tail(&sensor->head, &iccsense->sensors); sensors 208 drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/base.c list_for_each_entry(sensor, &iccsense->sensors, head) { sensors 302 drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/base.c list_for_each_entry(sensor, &iccsense->sensors, head) sensors 327 drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/base.c INIT_LIST_HEAD(&(*iccsense)->sensors); sensors 136 drivers/hwmon/abituguru3.c struct abituguru3_sensor_info sensors[ABIT_UGURU3_MAX_NO_SENSORS + 1]; sensors 162 drivers/hwmon/abituguru3.c const struct abituguru3_sensor_info *sensors; sensors 836 drivers/hwmon/abituguru3.c sensor = &data->sensors[attr->index]; sensors 868 drivers/hwmon/abituguru3.c port = data->sensors[attr->index].port; sensors 889 drivers/hwmon/abituguru3.c if (data->settings[data->sensors[attr->index].port][0] & attr->nr) sensors 901 drivers/hwmon/abituguru3.c return sprintf(buf, "%s\n", data->sensors[attr->index].name); sensors 997 drivers/hwmon/abituguru3.c data->sensors = abituguru3_motherboards[i].sensors; sensors 1005 drivers/hwmon/abituguru3.c for (i = 0; data->sensors[i].name; i++) { sensors 1013 drivers/hwmon/abituguru3.c type = data->sensors[i].type; sensors 89 drivers/hwmon/acpi_power_meter.c struct sensor_device_attribute sensors[NUM_SENSORS]; sensors 622 drivers/hwmon/acpi_power_meter.c struct sensor_device_attribute *sensors = sensors 623 drivers/hwmon/acpi_power_meter.c &resource->sensors[resource->num_sensors]; sensors 627 drivers/hwmon/acpi_power_meter.c sensors->dev_attr.attr.name = attrs->label; sensors 628 drivers/hwmon/acpi_power_meter.c sensors->dev_attr.attr.mode = 0444; sensors 629 drivers/hwmon/acpi_power_meter.c sensors->dev_attr.show = attrs->show; sensors 630 drivers/hwmon/acpi_power_meter.c sensors->index = attrs->index; sensors 633 drivers/hwmon/acpi_power_meter.c sensors->dev_attr.attr.mode |= 0200; sensors 634 drivers/hwmon/acpi_power_meter.c sensors->dev_attr.store = attrs->set; sensors 637 drivers/hwmon/acpi_power_meter.c sysfs_attr_init(&sensors->dev_attr.attr); sensors 638 drivers/hwmon/acpi_power_meter.c res = device_create_file(dev, &sensors->dev_attr); sensors 640 drivers/hwmon/acpi_power_meter.c sensors->dev_attr.attr.name = NULL; sensors 643 drivers/hwmon/acpi_power_meter.c sensors++; sensors 657 drivers/hwmon/acpi_power_meter.c if (!resource->sensors[i].dev_attr.attr.name) sensors 660 drivers/hwmon/acpi_power_meter.c &resource->sensors[i].dev_attr); sensors 156 drivers/hwmon/ibmaem.c struct sensor_device_attribute sensors[AEM_NUM_SENSORS]; sensors 913 drivers/hwmon/ibmaem.c struct sensor_device_attribute *sensors = data->sensors; sensors 918 drivers/hwmon/ibmaem.c sysfs_attr_init(&sensors->dev_attr.attr); sensors 919 drivers/hwmon/ibmaem.c sensors->dev_attr.attr.name = ro->label; sensors 920 drivers/hwmon/ibmaem.c sensors->dev_attr.attr.mode = 0444; sensors 921 drivers/hwmon/ibmaem.c sensors->dev_attr.show = ro->show; sensors 922 drivers/hwmon/ibmaem.c sensors->index = ro->index; sensors 924 drivers/hwmon/ibmaem.c err = device_create_file(dev, &sensors->dev_attr); sensors 926 drivers/hwmon/ibmaem.c sensors->dev_attr.attr.name = NULL; sensors 929 drivers/hwmon/ibmaem.c sensors++; sensors 935 drivers/hwmon/ibmaem.c sysfs_attr_init(&sensors->dev_attr.attr); sensors 936 drivers/hwmon/ibmaem.c sensors->dev_attr.attr.name = rw->label; sensors 937 drivers/hwmon/ibmaem.c sensors->dev_attr.attr.mode = 0644; sensors 938 drivers/hwmon/ibmaem.c sensors->dev_attr.show = rw->show; sensors 939 drivers/hwmon/ibmaem.c sensors->dev_attr.store = rw->set; sensors 940 drivers/hwmon/ibmaem.c sensors->index = rw->index; sensors 942 drivers/hwmon/ibmaem.c err = device_create_file(dev, &sensors->dev_attr); sensors 944 drivers/hwmon/ibmaem.c sensors->dev_attr.attr.name = NULL; sensors 947 drivers/hwmon/ibmaem.c sensors++; sensors 994 drivers/hwmon/ibmaem.c if (!data->sensors[i].dev_attr.attr.name) sensors 997 drivers/hwmon/ibmaem.c &data->sensors[i].dev_attr); sensors 90 drivers/hwmon/ibmpex.c struct ibmpex_sensor_data *sensors; sensors 228 drivers/hwmon/ibmpex.c if (!data->sensors[i].in_use) sensors 233 drivers/hwmon/ibmpex.c data->sensors[i].values[0] = sensors 235 drivers/hwmon/ibmpex.c data->sensors[i].values[1] = sensors 237 drivers/hwmon/ibmpex.c data->sensors[i].values[2] = sensors 272 drivers/hwmon/ibmpex.c int mult = data->sensors[attr->index].multiplier; sensors 276 drivers/hwmon/ibmpex.c data->sensors[attr->index].values[attr->nr] * mult); sensors 344 drivers/hwmon/ibmpex.c sysfs_attr_init(&data->sensors[sensor].attr[func].dev_attr.attr); sensors 345 drivers/hwmon/ibmpex.c data->sensors[sensor].attr[func].dev_attr.attr.name = n; sensors 346 drivers/hwmon/ibmpex.c data->sensors[sensor].attr[func].dev_attr.attr.mode = 0444; sensors 347 drivers/hwmon/ibmpex.c data->sensors[sensor].attr[func].dev_attr.show = ibmpex_show_sensor; sensors 348 drivers/hwmon/ibmpex.c data->sensors[sensor].attr[func].index = sensor; sensors 349 drivers/hwmon/ibmpex.c data->sensors[sensor].attr[func].nr = func; sensors 352 drivers/hwmon/ibmpex.c &data->sensors[sensor].attr[func].dev_attr); sensors 354 drivers/hwmon/ibmpex.c data->sensors[sensor].attr[func].dev_attr.attr.name = NULL; sensors 375 drivers/hwmon/ibmpex.c data->sensors = kcalloc(data->num_sensors, sizeof(*data->sensors), sensors 377 drivers/hwmon/ibmpex.c if (!data->sensors) sensors 389 drivers/hwmon/ibmpex.c data->sensors[i].multiplier = sensors 398 drivers/hwmon/ibmpex.c data->sensors[i].multiplier = 1000; sensors 402 drivers/hwmon/ibmpex.c data->sensors[i].in_use = 1; sensors 431 drivers/hwmon/ibmpex.c if (!data->sensors[i].attr[j].dev_attr.attr.name) sensors 434 drivers/hwmon/ibmpex.c &data->sensors[i].attr[j].dev_attr); sensors 435 drivers/hwmon/ibmpex.c kfree(data->sensors[i].attr[j].dev_attr.attr.name); sensors 438 drivers/hwmon/ibmpex.c kfree(data->sensors); sensors 521 drivers/hwmon/ibmpex.c if (!data->sensors[i].attr[j].dev_attr.attr.name) sensors 524 drivers/hwmon/ibmpex.c &data->sensors[i].attr[j].dev_attr); sensors 525 drivers/hwmon/ibmpex.c kfree(data->sensors[i].attr[j].dev_attr.attr.name); sensors 532 drivers/hwmon/ibmpex.c kfree(data->sensors); sensors 77 drivers/hwmon/ibmpowernv.c enum sensors type; sensors 248 drivers/hwmon/ibmpowernv.c static const char *convert_opal_attr_name(enum sensors type, sensors 274 drivers/hwmon/ibmpowernv.c enum sensors type, u32 *index) sensors 293 drivers/hwmon/ibmpowernv.c enum sensors type; sensors 340 drivers/hwmon/ibmpowernv.c enum sensors type; sensors 389 drivers/hwmon/ibmpowernv.c enum sensors gtype) sensors 402 drivers/hwmon/ibmpowernv.c enum sensors type; sensors 437 drivers/hwmon/ibmpowernv.c enum sensors type; sensors 507 drivers/hwmon/ibmpowernv.c const char *attr_name, enum sensors type, sensors 526 drivers/hwmon/ibmpowernv.c static char *get_max_attr(enum sensors type) sensors 536 drivers/hwmon/ibmpowernv.c static char *get_min_attr(enum sensors type) sensors 574 drivers/hwmon/ibmpowernv.c enum sensors type; sensors 230 drivers/hwmon/occ/common.c struct occ_sensors *sensors = &occ->sensors; sensors 237 drivers/hwmon/occ/common.c temp = ((struct temp_sensor_1 *)sensors->temp.data) + sattr->index; sensors 266 drivers/hwmon/occ/common.c struct occ_sensors *sensors = &occ->sensors; sensors 273 drivers/hwmon/occ/common.c temp = ((struct temp_sensor_2 *)sensors->temp.data) + sattr->index; sensors 317 drivers/hwmon/occ/common.c struct occ_sensors *sensors = &occ->sensors; sensors 324 drivers/hwmon/occ/common.c freq = ((struct freq_sensor_1 *)sensors->freq.data) + sattr->index; sensors 347 drivers/hwmon/occ/common.c struct occ_sensors *sensors = &occ->sensors; sensors 354 drivers/hwmon/occ/common.c freq = ((struct freq_sensor_2 *)sensors->freq.data) + sattr->index; sensors 377 drivers/hwmon/occ/common.c struct occ_sensors *sensors = &occ->sensors; sensors 384 drivers/hwmon/occ/common.c power = ((struct power_sensor_1 *)sensors->power.data) + sattr->index; sensors 424 drivers/hwmon/occ/common.c struct occ_sensors *sensors = &occ->sensors; sensors 431 drivers/hwmon/occ/common.c power = ((struct power_sensor_2 *)sensors->power.data) + sattr->index; sensors 463 drivers/hwmon/occ/common.c struct occ_sensors *sensors = &occ->sensors; sensors 470 drivers/hwmon/occ/common.c power = ((struct power_sensor_a0 *)sensors->power.data) + sattr->index; sensors 543 drivers/hwmon/occ/common.c struct occ_sensors *sensors = &occ->sensors; sensors 550 drivers/hwmon/occ/common.c caps = ((struct caps_sensor_2 *)sensors->caps.data) + sattr->index; sensors 574 drivers/hwmon/occ/common.c if (occ->sensors.caps.version == 1) sensors 593 drivers/hwmon/occ/common.c struct occ_sensors *sensors = &occ->sensors; sensors 600 drivers/hwmon/occ/common.c caps = ((struct caps_sensor_3 *)sensors->caps.data) + sattr->index; sensors 661 drivers/hwmon/occ/common.c struct occ_sensors *sensors = &occ->sensors; sensors 668 drivers/hwmon/occ/common.c extn = ((struct extended_sensor *)sensors->extended.data) + sensors 728 drivers/hwmon/occ/common.c struct occ_sensors *sensors = &occ->sensors; sensors 740 drivers/hwmon/occ/common.c switch (sensors->temp.version) { sensors 742 drivers/hwmon/occ/common.c num_attrs += (sensors->temp.num_sensors * 2); sensors 745 drivers/hwmon/occ/common.c num_attrs += (sensors->temp.num_sensors * 4); sensors 749 drivers/hwmon/occ/common.c sensors->temp.num_sensors = 0; sensors 752 drivers/hwmon/occ/common.c switch (sensors->freq.version) { sensors 757 drivers/hwmon/occ/common.c num_attrs += (sensors->freq.num_sensors * 2); sensors 760 drivers/hwmon/occ/common.c sensors->freq.num_sensors = 0; sensors 763 drivers/hwmon/occ/common.c switch (sensors->power.version) { sensors 768 drivers/hwmon/occ/common.c num_attrs += (sensors->power.num_sensors * 4); sensors 771 drivers/hwmon/occ/common.c num_attrs += (sensors->power.num_sensors * 16); sensors 775 drivers/hwmon/occ/common.c sensors->power.num_sensors = 0; sensors 778 drivers/hwmon/occ/common.c switch (sensors->caps.version) { sensors 780 drivers/hwmon/occ/common.c num_attrs += (sensors->caps.num_sensors * 7); sensors 786 drivers/hwmon/occ/common.c num_attrs += (sensors->caps.num_sensors * 8); sensors 789 drivers/hwmon/occ/common.c sensors->caps.num_sensors = 0; sensors 792 drivers/hwmon/occ/common.c switch (sensors->extended.version) { sensors 794 drivers/hwmon/occ/common.c num_attrs += (sensors->extended.num_sensors * 3); sensors 797 drivers/hwmon/occ/common.c sensors->extended.num_sensors = 0; sensors 813 drivers/hwmon/occ/common.c for (i = 0; i < sensors->temp.num_sensors; ++i) { sensors 815 drivers/hwmon/occ/common.c temp = ((struct temp_sensor_2 *)sensors->temp.data) + i; sensors 822 drivers/hwmon/occ/common.c if (sensors->temp.version > 1 && sensors 835 drivers/hwmon/occ/common.c if (sensors->temp.version > 1) { sensors 850 drivers/hwmon/occ/common.c for (i = 0; i < sensors->freq.num_sensors; ++i) { sensors 864 drivers/hwmon/occ/common.c if (sensors->power.version == 0xA0) { sensors 869 drivers/hwmon/occ/common.c for (i = 0; i < sensors->power.num_sensors; ++i) { sensors 908 drivers/hwmon/occ/common.c s = (sensors->power.num_sensors * 4) + 1; sensors 910 drivers/hwmon/occ/common.c for (i = 0; i < sensors->power.num_sensors; ++i) { sensors 938 drivers/hwmon/occ/common.c s = sensors->power.num_sensors + 1; sensors 941 drivers/hwmon/occ/common.c if (sensors->caps.num_sensors >= 1) { sensors 979 drivers/hwmon/occ/common.c if (sensors->caps.version > 1) { sensors 988 drivers/hwmon/occ/common.c for (i = 0; i < sensors->extended.num_sensors; ++i) { sensors 1021 drivers/hwmon/occ/common.c struct occ_sensors *sensors = &occ->sensors; sensors 1050 drivers/hwmon/occ/common.c sensor = &sensors->temp; sensors 1052 drivers/hwmon/occ/common.c sensor = &sensors->freq; sensors 1054 drivers/hwmon/occ/common.c sensor = &sensors->power; sensors 1056 drivers/hwmon/occ/common.c sensor = &sensors->caps; sensors 1058 drivers/hwmon/occ/common.c sensor = &sensors->extended; sensors 95 drivers/hwmon/occ/common.h struct occ_sensors sensors; sensors 96 drivers/hwmon/pmbus/pmbus_core.c struct pmbus_sensor *sensors; sensors 407 drivers/hwmon/pmbus/pmbus_core.c for (sensor = data->sensors; sensor; sensor = sensor->next) { sensors 593 drivers/hwmon/pmbus/pmbus_core.c for (sensor = data->sensors; sensor; sensor = sensor->next) { sensors 1103 drivers/hwmon/pmbus/pmbus_core.c sensor->next = data->sensors; sensors 1104 drivers/hwmon/pmbus/pmbus_core.c data->sensors = sensor; sensors 38 drivers/iio/humidity/hts221.h struct hts221_sensor sensors[HTS221_SENSOR_MAX]; sensors 196 drivers/iio/humidity/hts221_core.c hw->sensors[type].cur_avg_idx = i; sensors 297 drivers/iio/humidity/hts221_core.c slope = &hw->sensors[HTS221_SENSOR_T].slope; sensors 298 drivers/iio/humidity/hts221_core.c b_gen = &hw->sensors[HTS221_SENSOR_T].b_gen; sensors 336 drivers/iio/humidity/hts221_core.c slope = &hw->sensors[HTS221_SENSOR_H].slope; sensors 337 drivers/iio/humidity/hts221_core.c b_gen = &hw->sensors[HTS221_SENSOR_H].b_gen; sensors 356 drivers/iio/humidity/hts221_core.c data = hw->sensors[HTS221_SENSOR_H].slope; sensors 360 drivers/iio/humidity/hts221_core.c data = hw->sensors[HTS221_SENSOR_T].slope; sensors 385 drivers/iio/humidity/hts221_core.c data = hw->sensors[HTS221_SENSOR_H].b_gen; sensors 386 drivers/iio/humidity/hts221_core.c div = hw->sensors[HTS221_SENSOR_H].slope; sensors 389 drivers/iio/humidity/hts221_core.c data = hw->sensors[HTS221_SENSOR_T].b_gen; sensors 390 drivers/iio/humidity/hts221_core.c div = hw->sensors[HTS221_SENSOR_T].slope; sensors 459 drivers/iio/humidity/hts221_core.c idx = hw->sensors[HTS221_SENSOR_H].cur_avg_idx; sensors 465 drivers/iio/humidity/hts221_core.c idx = hw->sensors[HTS221_SENSOR_T].cur_avg_idx; sensors 32 drivers/macintosh/windfarm_ad7417_sensor.c struct wf_sensor sensors[5]; sensors 102 drivers/macintosh/windfarm_ad7417_sensor.c int chan = sr - pv->sensors; sensors 183 drivers/macintosh/windfarm_ad7417_sensor.c pv->sensors[index].name = kasprintf(GFP_KERNEL, "%s-%d", name, pv->cpu); sensors 184 drivers/macintosh/windfarm_ad7417_sensor.c pv->sensors[index].priv = pv; sensors 185 drivers/macintosh/windfarm_ad7417_sensor.c pv->sensors[index].ops = ops; sensors 186 drivers/macintosh/windfarm_ad7417_sensor.c if (!wf_register_sensor(&pv->sensors[index])) sensors 302 drivers/macintosh/windfarm_ad7417_sensor.c wf_unregister_sensor(&pv->sensors[i]); sensors 33 drivers/macintosh/windfarm_smu_sat.c struct list_head sensors; sensors 214 drivers/macintosh/windfarm_smu_sat.c INIT_LIST_HEAD(&sat->sensors); sensors 282 drivers/macintosh/windfarm_smu_sat.c list_add(&sens->link, &sat->sensors); sensors 309 drivers/macintosh/windfarm_smu_sat.c list_add(&sens->link, &sat->sensors); sensors 326 drivers/macintosh/windfarm_smu_sat.c while(!list_empty(&sat->sensors)) { sensors 327 drivers/macintosh/windfarm_smu_sat.c sens = list_first_entry(&sat->sensors, sensors 410 drivers/macintosh/windfarm_smu_sensors.c struct device_node *smu, *sensors, *s; sensors 424 drivers/macintosh/windfarm_smu_sensors.c for (sensors = NULL; sensors 425 drivers/macintosh/windfarm_smu_sensors.c (sensors = of_get_next_child(smu, sensors)) != NULL;) sensors 426 drivers/macintosh/windfarm_smu_sensors.c if (of_node_name_eq(sensors, "sensors")) sensors 433 drivers/macintosh/windfarm_smu_sensors.c sensors && (s = of_get_next_child(sensors, s)) != NULL;) { sensors 447 drivers/macintosh/windfarm_smu_sensors.c of_node_put(sensors); sensors 368 drivers/media/usb/cpia2/cpia2.h enum sensors sensor_type; sensors 235 drivers/misc/habanalabs/firmware_if.c rc = hl_build_hwmon_channel_info(hdev, prop->armcp_info.sensors); sensors 338 drivers/misc/habanalabs/include/armcp_if.h struct armcp_sensor sensors[ARMCP_MAX_SENSORS]; sensors 1977 drivers/net/ethernet/chelsio/cxgb4/cxgb4_debugfs.c DEFINE_SHOW_ATTRIBUTE(sensors); sensors 872 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c struct nfp_nsp_command_buf_arg sensors = { sensors 881 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c return nfp_nsp_command_buf(state, &sensors); sensors 79 drivers/thermal/intel/intel_soc_dts_iosf.c struct intel_soc_dts_sensors *sensors; sensors 82 drivers/thermal/intel/intel_soc_dts_iosf.c sensors = dts->sensors; sensors 83 drivers/thermal/intel/intel_soc_dts_iosf.c mutex_lock(&sensors->dts_update_lock); sensors 86 drivers/thermal/intel/intel_soc_dts_iosf.c mutex_unlock(&sensors->dts_update_lock); sensors 94 drivers/thermal/intel/intel_soc_dts_iosf.c *temp = sensors->tj_max - out * 1000; sensors 111 drivers/thermal/intel/intel_soc_dts_iosf.c struct intel_soc_dts_sensors *sensors = dts->sensors; sensors 113 drivers/thermal/intel/intel_soc_dts_iosf.c if (sensors->intr_type == INTEL_SOC_DTS_INTERRUPT_MSI) sensors 116 drivers/thermal/intel/intel_soc_dts_iosf.c temp_out = (sensors->tj_max - temp) / 1000; sensors 193 drivers/thermal/intel/intel_soc_dts_iosf.c struct intel_soc_dts_sensors *sensors = dts->sensors; sensors 196 drivers/thermal/intel/intel_soc_dts_iosf.c if (temp > sensors->tj_max) sensors 199 drivers/thermal/intel/intel_soc_dts_iosf.c mutex_lock(&sensors->dts_update_lock); sensors 202 drivers/thermal/intel/intel_soc_dts_iosf.c mutex_unlock(&sensors->dts_update_lock); sensors 225 drivers/thermal/intel/intel_soc_dts_iosf.c struct intel_soc_dts_sensors *sensors; sensors 228 drivers/thermal/intel/intel_soc_dts_iosf.c sensors = dts->sensors; sensors 236 drivers/thermal/intel/intel_soc_dts_iosf.c *temp = sensors->tj_max - out * 1000; sensors 340 drivers/thermal/intel/intel_soc_dts_iosf.c struct intel_soc_dts_sensors *sensors, int critical_offset) sensors 345 drivers/thermal/intel/intel_soc_dts_iosf.c for (j = 0; j < sensors->soc_dts[i].trip_count; ++j) { sensors 346 drivers/thermal/intel/intel_soc_dts_iosf.c if (!(sensors->soc_dts[i].trip_mask & BIT(j))) { sensors 347 drivers/thermal/intel/intel_soc_dts_iosf.c return update_trip_temp(&sensors->soc_dts[i], j, sensors 348 drivers/thermal/intel/intel_soc_dts_iosf.c sensors->tj_max - critical_offset, sensors 358 drivers/thermal/intel/intel_soc_dts_iosf.c void intel_soc_dts_iosf_interrupt_handler(struct intel_soc_dts_sensors *sensors) sensors 365 drivers/thermal/intel/intel_soc_dts_iosf.c spin_lock_irqsave(&sensors->intr_notify_lock, flags); sensors 381 drivers/thermal/intel/intel_soc_dts_iosf.c spin_unlock_irqrestore(&sensors->intr_notify_lock, flags); sensors 385 drivers/thermal/intel/intel_soc_dts_iosf.c thermal_zone_device_update(sensors->soc_dts[i].tzone, sensors 389 drivers/thermal/intel/intel_soc_dts_iosf.c spin_unlock_irqrestore(&sensors->intr_notify_lock, flags); sensors 397 drivers/thermal/intel/intel_soc_dts_iosf.c struct intel_soc_dts_sensors *sensors; sensors 412 drivers/thermal/intel/intel_soc_dts_iosf.c sensors = kzalloc(sizeof(*sensors), GFP_KERNEL); sensors 413 drivers/thermal/intel/intel_soc_dts_iosf.c if (!sensors) sensors 416 drivers/thermal/intel/intel_soc_dts_iosf.c spin_lock_init(&sensors->intr_notify_lock); sensors 417 drivers/thermal/intel/intel_soc_dts_iosf.c mutex_init(&sensors->dts_update_lock); sensors 418 drivers/thermal/intel/intel_soc_dts_iosf.c sensors->intr_type = intr_type; sensors 419 drivers/thermal/intel/intel_soc_dts_iosf.c sensors->tj_max = tj_max; sensors 425 drivers/thermal/intel/intel_soc_dts_iosf.c sensors->soc_dts[i].sensors = sensors; sensors 426 drivers/thermal/intel/intel_soc_dts_iosf.c ret = add_dts_thermal_zone(i, &sensors->soc_dts[i], sensors 434 drivers/thermal/intel/intel_soc_dts_iosf.c ret = update_trip_temp(&sensors->soc_dts[i], 0, 0, sensors 439 drivers/thermal/intel/intel_soc_dts_iosf.c ret = update_trip_temp(&sensors->soc_dts[i], 1, 0, sensors 445 drivers/thermal/intel/intel_soc_dts_iosf.c return sensors; sensors 448 drivers/thermal/intel/intel_soc_dts_iosf.c remove_dts_thermal_zone(&sensors->soc_dts[i]); sensors 451 drivers/thermal/intel/intel_soc_dts_iosf.c kfree(sensors); sensors 456 drivers/thermal/intel/intel_soc_dts_iosf.c void intel_soc_dts_iosf_exit(struct intel_soc_dts_sensors *sensors) sensors 461 drivers/thermal/intel/intel_soc_dts_iosf.c update_trip_temp(&sensors->soc_dts[i], 0, 0, 0); sensors 462 drivers/thermal/intel/intel_soc_dts_iosf.c update_trip_temp(&sensors->soc_dts[i], 1, 0, 0); sensors 463 drivers/thermal/intel/intel_soc_dts_iosf.c remove_dts_thermal_zone(&sensors->soc_dts[i]); sensors 465 drivers/thermal/intel/intel_soc_dts_iosf.c kfree(sensors); sensors 34 drivers/thermal/intel/intel_soc_dts_iosf.h struct intel_soc_dts_sensors *sensors; sensors 48 drivers/thermal/intel/intel_soc_dts_iosf.h void intel_soc_dts_iosf_exit(struct intel_soc_dts_sensors *sensors); sensors 50 drivers/thermal/intel/intel_soc_dts_iosf.h struct intel_soc_dts_sensors *sensors); sensors 52 drivers/thermal/intel/intel_soc_dts_iosf.h struct intel_soc_dts_sensors *sensors, int critical_offset); sensors 227 drivers/thermal/mtk_thermal.c const int *sensors; sensors 386 drivers/thermal/mtk_thermal.c .sensors = mt8173_bank_data[0], sensors 389 drivers/thermal/mtk_thermal.c .sensors = mt8173_bank_data[1], sensors 392 drivers/thermal/mtk_thermal.c .sensors = mt8173_bank_data[2], sensors 395 drivers/thermal/mtk_thermal.c .sensors = mt8173_bank_data[3], sensors 425 drivers/thermal/mtk_thermal.c .sensors = mt2701_bank_data, sensors 455 drivers/thermal/mtk_thermal.c .sensors = mt2712_bank_data, sensors 479 drivers/thermal/mtk_thermal.c .sensors = mt7622_bank_data, sensors 511 drivers/thermal/mtk_thermal.c .sensors = mt8183_bank_data, sensors 595 drivers/thermal/mtk_thermal.c conf->msr[conf->bank_data[bank->id].sensors[i]]); sensors 598 drivers/thermal/mtk_thermal.c conf->bank_data[bank->id].sensors[i], sensors 735 drivers/thermal/mtk_thermal.c writel(conf->sensor_mux_values[conf->bank_data[num].sensors[i]], sensors 737 drivers/thermal/mtk_thermal.c conf->adcpnp[conf->bank_data[num].sensors[i]]); sensors 156 drivers/thermal/rockchip_thermal.c struct rockchip_thermal_sensor sensors[SOC_MAX_SENSORS]; sensors 1074 drivers/thermal/rockchip_thermal.c thermal_zone_device_update(thermal->sensors[i].tzd, sensors 1302 drivers/thermal/rockchip_thermal.c &thermal->sensors[i], sensors 1325 drivers/thermal/rockchip_thermal.c rockchip_thermal_toggle_sensor(&thermal->sensors[i], true); sensors 1345 drivers/thermal/rockchip_thermal.c struct rockchip_thermal_sensor *sensor = &thermal->sensors[i]; sensors 1364 drivers/thermal/rockchip_thermal.c rockchip_thermal_toggle_sensor(&thermal->sensors[i], false); sensors 1398 drivers/thermal/rockchip_thermal.c int id = thermal->sensors[i].id; sensors 1414 drivers/thermal/rockchip_thermal.c rockchip_thermal_toggle_sensor(&thermal->sensors[i], true); sensors 332 drivers/thermal/ti-soc-thermal/dra752-thermal-data.c .sensors = { sensors 78 drivers/thermal/ti-soc-thermal/omap3-thermal-data.c .sensors = { sensors 146 drivers/thermal/ti-soc-thermal/omap3-thermal-data.c .sensors = { sensors 68 drivers/thermal/ti-soc-thermal/omap4-thermal-data.c .sensors = { sensors 199 drivers/thermal/ti-soc-thermal/omap4-thermal-data.c .sensors = { sensors 230 drivers/thermal/ti-soc-thermal/omap4-thermal-data.c .sensors = { sensors 279 drivers/thermal/ti-soc-thermal/omap5-thermal-data.c .sensors = { sensors 73 drivers/thermal/ti-soc-thermal/ti-bandgap.c t = bgp->conf->sensors[(id)].registers; \ sensors 153 drivers/thermal/ti-soc-thermal/ti-bandgap.c tsr = bgp->conf->sensors[id].registers; sensors 203 drivers/thermal/ti-soc-thermal/ti-bandgap.c tsr = bgp->conf->sensors[i].registers; sensors 233 drivers/thermal/ti-soc-thermal/ti-bandgap.c __func__, bgp->conf->sensors[i].domain, sensors 333 drivers/thermal/ti-soc-thermal/ti-bandgap.c tsr = bgp->conf->sensors[id].registers; sensors 353 drivers/thermal/ti-soc-thermal/ti-bandgap.c tsr = bgp->conf->sensors[id].registers; sensors 606 drivers/thermal/ti-soc-thermal/ti-bandgap.c tsr = bgp->conf->sensors[id].registers; sensors 685 drivers/thermal/ti-soc-thermal/ti-bandgap.c tsr = bgp->conf->sensors[id].registers; sensors 920 drivers/thermal/ti-soc-thermal/ti-bandgap.c tsr = bgp->conf->sensors[i].registers; sensors 933 drivers/thermal/ti-soc-thermal/ti-bandgap.c bgp->conf->sensors[0].ts_data->max_freq); sensors 934 drivers/thermal/ti-soc-thermal/ti-bandgap.c if (clk_rate < bgp->conf->sensors[0].ts_data->min_freq || sensors 965 drivers/thermal/ti-soc-thermal/ti-bandgap.c ts_data = bgp->conf->sensors[i].ts_data; sensors 1000 drivers/thermal/ti-soc-thermal/ti-bandgap.c if (bgp->conf->sensors[i].register_cooling) { sensors 1001 drivers/thermal/ti-soc-thermal/ti-bandgap.c ret = bgp->conf->sensors[i].register_cooling(bgp, i); sensors 1007 drivers/thermal/ti-soc-thermal/ti-bandgap.c domain = bgp->conf->sensors[i].domain; sensors 1031 drivers/thermal/ti-soc-thermal/ti-bandgap.c if (bgp->conf->sensors[i].unregister_cooling) sensors 1032 drivers/thermal/ti-soc-thermal/ti-bandgap.c bgp->conf->sensors[i].unregister_cooling(bgp, i); sensors 1035 drivers/thermal/ti-soc-thermal/ti-bandgap.c if (bgp->conf->sensors[i].unregister_cooling) sensors 1036 drivers/thermal/ti-soc-thermal/ti-bandgap.c bgp->conf->sensors[i].unregister_cooling(bgp, i); sensors 1065 drivers/thermal/ti-soc-thermal/ti-bandgap.c if (bgp->conf->sensors[i].unregister_cooling) sensors 1066 drivers/thermal/ti-soc-thermal/ti-bandgap.c bgp->conf->sensors[i].unregister_cooling(bgp, i); sensors 1100 drivers/thermal/ti-soc-thermal/ti-bandgap.c tsr = bgp->conf->sensors[i].registers; sensors 1133 drivers/thermal/ti-soc-thermal/ti-bandgap.c tsr = bgp->conf->sensors[i].registers; sensors 326 drivers/thermal/ti-soc-thermal/ti-bandgap.h struct ti_temp_sensor sensors[]; sensors 80 drivers/thermal/ti-soc-thermal/ti-thermal-common.c s = &bgp->conf->sensors[data->sensor_id]; sensors 62 include/linux/scpi_protocol.h int (*sensor_get_capability)(u16 *sensors);