Home
last modified time | relevance | path

Searched refs:temp_input (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/thermal/
H A Dthermal_hwmon.c41 struct thermal_hwmon_attr temp_input; /* hwmon sys attr */ member
58 temp_input); in temp_input_show()
172 snprintf(temp->temp_input.name, sizeof(temp->temp_input.name), in thermal_add_hwmon_sysfs()
174 temp->temp_input.attr.attr.name = temp->temp_input.name; in thermal_add_hwmon_sysfs()
175 temp->temp_input.attr.attr.mode = 0444; in thermal_add_hwmon_sysfs()
176 temp->temp_input.attr.show = temp_input_show; in thermal_add_hwmon_sysfs()
177 sysfs_attr_init(&temp->temp_input.attr.attr); in thermal_add_hwmon_sysfs()
178 result = device_create_file(hwmon->device, &temp->temp_input.attr); in thermal_add_hwmon_sysfs()
205 device_remove_file(hwmon->device, &temp->temp_input.attr); in thermal_add_hwmon_sysfs()
237 device_remove_file(hwmon->device, &temp->temp_input.attr); in thermal_remove_hwmon_sysfs()
/linux/drivers/hwmon/
H A Dtc74.c33 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);
H A Dad7414.c42 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()
H A Dgigabyte_waterforce.c64 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()
H A Dgl520sm.c79 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);
H A Dthmc50.c68 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()
H A Dnzxt-kraken3.c114 s32 temp_input[1]; member
310 *val = priv->temp_input[channel]; in kraken3_read()
774 priv->temp_input[0] = in kraken3_raw_event()
H A Dpc87360.c889 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, \
/linux/drivers/media/i2c/
H A Dvpx3220.c340 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()