Searched refs:temp_input (Results 1 – 11 of 11) sorted by relevance
/drivers/thermal/ |
D | thermal_hwmon.c | 53 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/ |
D | ad7414.c | 46 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()
|
D | tc74.c | 37 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()
|
D | max6642.c | 96 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()
|
D | thmc50.c | 81 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()
|
D | ftsteutates.c | 87 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()
|
D | gl520sm.c | 93 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()
|
D | pc87360.c | 974 static struct sensor_device_attribute temp_input[] = { variable 1085 { &temp_input[X].dev_attr.attr, \
|
D | nct6683.c | 888 SENSOR_TEMPLATE(temp_input, "temp%d_input", S_IRUGO, show_temp16, NULL, 0);
|
D | nct6775.c | 2305 SENSOR_TEMPLATE_2(temp_input, "temp%d_input", S_IRUGO, show_temp, NULL, 0, 0);
|
/drivers/media/i2c/ |
D | vpx3220.c | 349 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()
|