Home
last modified time | relevance | path

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

/linux/drivers/thermal/
H A Dthermal_hwmon.c41 struct thermal_hwmon_attr temp_input; /* hwmon sys attr */ member
59 temp_input); in temp_input_show()
155 snprintf(temp->temp_input.name, sizeof(temp->temp_input.name), in thermal_add_hwmon_sysfs()
157 temp->temp_input.attr.attr.name = temp->temp_input.name; in thermal_add_hwmon_sysfs()
158 temp->temp_input.attr.attr.mode = 0444; in thermal_add_hwmon_sysfs()
159 temp->temp_input.attr.show = temp_input_show; in thermal_add_hwmon_sysfs()
160 sysfs_attr_init(&temp->temp_input.attr.attr); in thermal_add_hwmon_sysfs()
161 result = device_create_file(hwmon->device, &temp->temp_input.attr); in thermal_add_hwmon_sysfs()
188 device_remove_file(hwmon->device, &temp->temp_input.attr); in thermal_add_hwmon_sysfs()
225 device_remove_file(hwmon->device, &temp->temp_input.attr); in thermal_remove_hwmon_sysfs()
/linux/drivers/hwmon/
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 Dasus_rog_ryujin.c116 s32 temp_input[1]; member
270 *val = priv->temp_input[channel]; in rog_ryujin_read()
439 priv->temp_input[0] = data[priv->info->temp_offset] * 1000 + in rog_ryujin_raw_event()
H A Dnzxt-kraken3.c116 s32 temp_input[1]; member
312 *val = priv->temp_input[channel]; in kraken3_read()
776 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, \
H A Dnct6775-core.c2385 SENSOR_TEMPLATE_2(temp_input, "temp%d_input", 0444, show_temp, NULL, 0, 0);