/linux-6.12.1/drivers/thermal/ |
D | thermal_hwmon.c | 41 struct thermal_hwmon_attr temp_input; /* hwmon sys attr */ member 58 temp_input); in temp_input_show() 175 snprintf(temp->temp_input.name, sizeof(temp->temp_input.name), in thermal_add_hwmon_sysfs() 177 temp->temp_input.attr.attr.name = temp->temp_input.name; in thermal_add_hwmon_sysfs() 178 temp->temp_input.attr.attr.mode = 0444; in thermal_add_hwmon_sysfs() 179 temp->temp_input.attr.show = temp_input_show; in thermal_add_hwmon_sysfs() 180 sysfs_attr_init(&temp->temp_input.attr.attr); in thermal_add_hwmon_sysfs() 181 result = device_create_file(hwmon->device, &temp->temp_input.attr); in thermal_add_hwmon_sysfs() 208 device_remove_file(hwmon->device, &temp->temp_input.attr); in thermal_add_hwmon_sysfs() 240 device_remove_file(hwmon->device, &temp->temp_input.attr); in thermal_remove_hwmon_sysfs()
|
/linux-6.12.1/drivers/hwmon/ |
D | emc1403.c | 160 enum emc1403_reg_map {temp_min, temp_max, temp_crit, temp_input}; enumerator 166 [hwmon_temp_input] = temp_input, 174 [temp_input] = 0x00, 180 [temp_input] = 0x01, 186 [temp_input] = 0x23, 192 [temp_input] = 0x2a, 198 [temp_input] = 0x41, 204 [temp_input] = 0x43 210 [temp_input] = 0x45, 216 [temp_input] = 0x47, [all …]
|
D | tc74.c | 33 s8 temp_input; /* Temp value in dC */ member 74 data->temp_input = value; in tc74_update_device() 95 return sprintf(buf, "%d\n", data->temp_input * 1000); in temp_input_show() 97 static SENSOR_DEVICE_ATTR_RO(temp1_input, temp_input, 0);
|
D | ad7414.c | 42 s16 temp_input; /* Register values */ member 86 data->temp_input = value; in ad7414_update_device() 110 return sprintf(buf, "%d\n", ad7414_temp_from_reg(data->temp_input)); in temp_input_show() 112 static SENSOR_DEVICE_ATTR_RO(temp1_input, temp_input, 0); 154 int value = (data->temp_input >> bitnr) & 1; in alarm_show()
|
D | nzxt-kraken2.c | 33 s32 temp_input[1]; member 55 *val = priv->temp_input[channel]; in kraken2_read() 122 priv->temp_input[0] = data[1] * 1000 + data[2] * 100; in kraken2_raw_event()
|
D | aquacomputer_d5next.c | 599 s32 temp_input[20]; /* Max 4 physical and 16 virtual or 8 physical and 12 virtual */ member 969 priv->temp_input[i] = -ENODATA; in aqc_legacy_read() 971 priv->temp_input[i] = sensor_value * 10; in aqc_legacy_read() 1050 if (priv->temp_input[channel] == -ENODATA) in aqc_read() 1053 *val = priv->temp_input[channel]; in aqc_read() 1372 priv->temp_input[i] = -ENODATA; in aqc_raw_event() 1374 priv->temp_input[i] = sensor_value * 10; in aqc_raw_event() 1383 priv->temp_input[i] = -ENODATA; in aqc_raw_event() 1385 priv->temp_input[i] = sensor_value * 10; in aqc_raw_event() 1425 priv->temp_input[i] = -ENODATA; in aqc_raw_event() [all …]
|
D | gigabyte_waterforce.c | 64 s32 temp_input[1]; member 175 *val = priv->temp_input[channel]; in waterforce_read() 273 priv->temp_input[0] = data[WATERFORCE_TEMP_SENSOR] * 1000; in waterforce_raw_event()
|
D | ftsteutates.c | 76 u8 temp_input[FTS_NO_TEMP_SENSORS]; member 202 data->temp_input[i] = err; in fts_update_device() 390 *val = (data->temp_input[channel] - 64) * 1000; in fts_read() 399 *val = (data->temp_input[channel] == 0); in fts_read()
|
D | gl520sm.c | 79 u8 temp_input[2]; member 142 data->temp_input[0] = gl520_read_value(client, in gl520_update_device() 161 data->temp_input[1] = gl520_read_value(client, in gl520_update_device() 507 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_input[n])); in temp_input_show() 571 static SENSOR_DEVICE_ATTR_RO(temp1_input, temp_input, 0); 572 static SENSOR_DEVICE_ATTR_RO(temp2_input, temp_input, 1);
|
D | thmc50.c | 68 s8 temp_input[3]; member 94 data->temp_input[i] = i2c_smbus_read_byte_data(client, in thmc50_update_device() 168 return sprintf(buf, "%d\n", data->temp_input[nr] * 1000); in temp_show()
|
D | asus_rog_ryujin.c | 98 s32 temp_input[1]; member 258 *val = priv->temp_input[channel]; in rog_ryujin_read() 425 priv->temp_input[0] = in rog_ryujin_raw_event()
|
D | pc87427.c | 779 static SENSOR_DEVICE_ATTR_RO(temp1_input, temp_input, 0); 780 static SENSOR_DEVICE_ATTR_RO(temp2_input, temp_input, 1); 781 static SENSOR_DEVICE_ATTR_RO(temp3_input, temp_input, 2); 782 static SENSOR_DEVICE_ATTR_RO(temp4_input, temp_input, 3); 783 static SENSOR_DEVICE_ATTR_RO(temp5_input, temp_input, 4); 784 static SENSOR_DEVICE_ATTR_RO(temp6_input, temp_input, 5);
|
D | nzxt-kraken3.c | 114 s32 temp_input[1]; member 310 *val = priv->temp_input[channel]; in kraken3_read() 774 priv->temp_input[0] = in kraken3_raw_event()
|
D | pc87360.c | 889 static struct sensor_device_attribute temp_input[] = { variable 890 SENSOR_ATTR_RO(temp1_input, temp_input, 0), 891 SENSOR_ATTR_RO(temp2_input, temp_input, 1), 892 SENSOR_ATTR_RO(temp3_input, temp_input, 2), 1085 { &temp_input[X].dev_attr.attr, \
|
D | lm87.c | 434 static SENSOR_DEVICE_ATTR_RO(temp1_input, temp_input, 0); 437 static SENSOR_DEVICE_ATTR_RO(temp2_input, temp_input, 1); 440 static SENSOR_DEVICE_ATTR_RO(temp3_input, temp_input, 2);
|
D | nct6683.c | 882 SENSOR_TEMPLATE(temp_input, "temp%d_input", S_IRUGO, show_temp16, NULL, 0);
|
D | nct6775-core.c | 2385 SENSOR_TEMPLATE_2(temp_input, "temp%d_input", 0444, show_temp, NULL, 0, 0);
|
/linux-6.12.1/drivers/media/i2c/ |
D | vpx3220.c | 340 int temp_input; in vpx3220_s_std() local 345 temp_input = vpx3220_fp_read(sd, 0xf2); in vpx3220_s_std() 364 vpx3220_fp_write(sd, 0xf2, temp_input | 0x0010); in vpx3220_s_std()
|