Home
last modified time | relevance | path

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

/drivers/thermal/
Dthermal_hwmon.c53 struct thermal_hwmon_attr temp_input; /* hwmon sys attr */ member
78 temp_input); in temp_input_show()
188 snprintf(temp->temp_input.name, sizeof(temp->temp_input.name), in thermal_add_hwmon_sysfs()
190 temp->temp_input.attr.attr.name = temp->temp_input.name; in thermal_add_hwmon_sysfs()
191 temp->temp_input.attr.attr.mode = 0444; in thermal_add_hwmon_sysfs()
192 temp->temp_input.attr.show = temp_input_show; in thermal_add_hwmon_sysfs()
193 sysfs_attr_init(&temp->temp_input.attr.attr); in thermal_add_hwmon_sysfs()
194 result = device_create_file(hwmon->device, &temp->temp_input.attr); in thermal_add_hwmon_sysfs()
221 device_remove_file(hwmon->device, &temp->temp_input.attr); in thermal_add_hwmon_sysfs()
256 device_remove_file(hwmon->device, &temp->temp_input.attr); in thermal_remove_hwmon_sysfs()
/drivers/hwmon/
Dad7414.c46 s16 temp_input; /* Register values */ member
90 data->temp_input = value; in ad7414_update_device()
114 return sprintf(buf, "%d\n", ad7414_temp_from_reg(data->temp_input)); in show_temp_input()
160 int value = (data->temp_input >> bitnr) & 1; in show_alarm()
Dtc74.c37 s8 temp_input; /* Temp value in dC */ member
78 data->temp_input = value; in tc74_update_device()
99 return sprintf(buf, "%d\n", data->temp_input * 1000); in show_temp_input()
Dmax6642.c96 u16 temp_input[2]; /* local/remote */ member
185 data->temp_input[0] = val; in max6642_update_device()
192 data->temp_input[1] = val; in max6642_update_device()
216 temp_from_reg10(data->temp_input[attr->index])); in show_temp_max10()
Dthmc50.c81 s8 temp_input[3]; member
107 data->temp_input[i] = i2c_smbus_read_byte_data(client, in thmc50_update_device()
181 return sprintf(buf, "%d\n", data->temp_input[nr] * 1000); in show_temp()
Dftsteutates.c87 u8 temp_input[FTS_NO_TEMP_SENSORS]; member
213 data->temp_input[i] = err; in fts_update_device()
380 return sprintf(buf, "%u\n", data->temp_input[index]); in show_temp_value()
395 return sprintf(buf, "%d\n", data->temp_input[index] == 0); in show_temp_fault()
Dgl520sm.c93 u8 temp_input[2]; member
156 data->temp_input[0] = gl520_read_value(client, in gl520_update_device()
175 data->temp_input[1] = gl520_read_value(client, in gl520_update_device()
533 return sprintf(buf, "%d\n", TEMP_FROM_REG(data->temp_input[n])); in get_temp_input()
Dpc87360.c974 static struct sensor_device_attribute temp_input[] = { variable
1085 { &temp_input[X].dev_attr.attr, \
Dnct6683.c888 SENSOR_TEMPLATE(temp_input, "temp%d_input", S_IRUGO, show_temp16, NULL, 0);
Dnct6775.c2305 SENSOR_TEMPLATE_2(temp_input, "temp%d_input", S_IRUGO, show_temp, NULL, 0, 0);
/drivers/media/i2c/
Dvpx3220.c349 int temp_input; in vpx3220_s_std() local
354 temp_input = vpx3220_fp_read(sd, 0xf2); in vpx3220_s_std()
373 vpx3220_fp_write(sd, 0xf2, temp_input | 0x0010); in vpx3220_s_std()