Symbol: show_temp
drivers/hwmon/asb100.c
460
show_temp, NULL, num - 1); \
drivers/hwmon/coretemp.c
430
show_label, show_crit_alarm, show_temp, show_tjmax,
drivers/hwmon/dme1737.c
1534
show_temp, NULL, SYS_TEMP_INPUT, ix-1); \
drivers/hwmon/dme1737.c
1536
show_temp, set_temp, SYS_TEMP_MIN, ix-1); \
drivers/hwmon/dme1737.c
1538
show_temp, set_temp, SYS_TEMP_MAX, ix-1); \
drivers/hwmon/dme1737.c
1540
show_temp, set_temp, SYS_TEMP_OFFSET, ix-1); \
drivers/hwmon/dme1737.c
1542
show_temp, NULL, SYS_TEMP_ALARM, ix-1); \
drivers/hwmon/dme1737.c
1544
show_temp, NULL, SYS_TEMP_FAULT, ix-1)
drivers/hwmon/f71805f.c
1056
static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0);
drivers/hwmon/f71805f.c
1062
static SENSOR_DEVICE_ATTR(temp2_input, S_IRUGO, show_temp, NULL, 1);
drivers/hwmon/f71805f.c
1068
static SENSOR_DEVICE_ATTR(temp3_input, S_IRUGO, show_temp, NULL, 2);
drivers/hwmon/f71882fg.c
711
SENSOR_ATTR_2(temp1_input, S_IRUGO, show_temp, NULL, 0, 0),
drivers/hwmon/f71882fg.c
723
SENSOR_ATTR_2(temp2_input, S_IRUGO, show_temp, NULL, 0, 1),
drivers/hwmon/f71882fg.c
735
SENSOR_ATTR_2(temp3_input, S_IRUGO, show_temp, NULL, 0, 2),
drivers/hwmon/f71882fg.c
760
SENSOR_ATTR_2(temp1_input, S_IRUGO, show_temp, NULL, 0, 1),
drivers/hwmon/f71882fg.c
779
SENSOR_ATTR_2(temp2_input, S_IRUGO, show_temp, NULL, 0, 2),
drivers/hwmon/f71882fg.c
794
SENSOR_ATTR_2(temp3_input, S_IRUGO, show_temp, NULL, 0, 3),
drivers/hwmon/f71882fg.c
888
SENSOR_ATTR_2(temp1_input, S_IRUGO, show_temp, NULL, 0, 0),
drivers/hwmon/f71882fg.c
895
SENSOR_ATTR_2(temp2_input, S_IRUGO, show_temp, NULL, 0, 1),
drivers/hwmon/f71882fg.c
902
SENSOR_ATTR_2(temp3_input, S_IRUGO, show_temp, NULL, 0, 2),
drivers/hwmon/it87.c
1142
static SENSOR_DEVICE_ATTR_2(temp1_input, S_IRUGO, show_temp, NULL, 0, 0);
drivers/hwmon/it87.c
1143
static SENSOR_DEVICE_ATTR_2(temp1_min, S_IRUGO | S_IWUSR, show_temp, set_temp,
drivers/hwmon/it87.c
1145
static SENSOR_DEVICE_ATTR_2(temp1_max, S_IRUGO | S_IWUSR, show_temp, set_temp,
drivers/hwmon/it87.c
1147
static SENSOR_DEVICE_ATTR_2(temp1_offset, S_IRUGO | S_IWUSR, show_temp,
drivers/hwmon/it87.c
1149
static SENSOR_DEVICE_ATTR_2(temp2_input, S_IRUGO, show_temp, NULL, 1, 0);
drivers/hwmon/it87.c
1150
static SENSOR_DEVICE_ATTR_2(temp2_min, S_IRUGO | S_IWUSR, show_temp, set_temp,
drivers/hwmon/it87.c
1152
static SENSOR_DEVICE_ATTR_2(temp2_max, S_IRUGO | S_IWUSR, show_temp, set_temp,
drivers/hwmon/it87.c
1154
static SENSOR_DEVICE_ATTR_2(temp2_offset, S_IRUGO | S_IWUSR, show_temp,
drivers/hwmon/it87.c
1156
static SENSOR_DEVICE_ATTR_2(temp3_input, S_IRUGO, show_temp, NULL, 2, 0);
drivers/hwmon/it87.c
1157
static SENSOR_DEVICE_ATTR_2(temp3_min, S_IRUGO | S_IWUSR, show_temp, set_temp,
drivers/hwmon/it87.c
1159
static SENSOR_DEVICE_ATTR_2(temp3_max, S_IRUGO | S_IWUSR, show_temp, set_temp,
drivers/hwmon/it87.c
1161
static SENSOR_DEVICE_ATTR_2(temp3_offset, S_IRUGO | S_IWUSR, show_temp,
drivers/hwmon/it87.c
1163
static SENSOR_DEVICE_ATTR_2(temp4_input, S_IRUGO, show_temp, NULL, 3, 0);
drivers/hwmon/it87.c
1164
static SENSOR_DEVICE_ATTR_2(temp5_input, S_IRUGO, show_temp, NULL, 4, 0);
drivers/hwmon/it87.c
1165
static SENSOR_DEVICE_ATTR_2(temp6_input, S_IRUGO, show_temp, NULL, 5, 0);
drivers/hwmon/k10temp.c
103
u32 show_temp;
drivers/hwmon/k10temp.c
113
#define HAVE_TEMP(d, channel) ((d)->show_temp & BIT(channel))
drivers/hwmon/k10temp.c
420
data->show_temp |= BIT(TCCD_BIT(i));
drivers/hwmon/k10temp.c
447
data->show_temp |= BIT(TCTL_BIT); /* Always show Tctl */
drivers/hwmon/k10temp.c
528
data->show_temp |= BIT(TDIE_BIT); /* show Tdie */
drivers/hwmon/nct6775-core.c
2386
SENSOR_TEMPLATE_2(temp_input, "temp%d_input", 0444, show_temp, NULL, 0, 0);
drivers/hwmon/nct6775-core.c
2388
SENSOR_TEMPLATE_2(temp_max, "temp%d_max", 0644, show_temp, store_temp, 0, 1);
drivers/hwmon/nct6775-core.c
2389
SENSOR_TEMPLATE_2(temp_max_hyst, "temp%d_max_hyst", 0644, show_temp, store_temp, 0, 2);
drivers/hwmon/nct6775-core.c
2390
SENSOR_TEMPLATE_2(temp_crit, "temp%d_crit", 0644, show_temp, store_temp, 0, 3);
drivers/hwmon/nct6775-core.c
2391
SENSOR_TEMPLATE_2(temp_lcrit, "temp%d_lcrit", 0644, show_temp, store_temp, 0, 4);
drivers/hwmon/occ/common.c
783
ssize_t (*show_temp)(struct device *, struct device_attribute *,
drivers/hwmon/occ/common.c
798
show_temp = occ_show_temp_2;
drivers/hwmon/occ/common.c
802
show_temp = occ_show_temp_10;
drivers/hwmon/occ/common.c
875
occ_init_attribute(attr, 0444, show_temp, NULL,
drivers/hwmon/occ/common.c
881
occ_init_attribute(attr, 0444, show_temp, NULL,
drivers/hwmon/occ/common.c
884
occ_init_attribute(attr, 0444, show_temp, NULL,
drivers/hwmon/occ/common.c
891
occ_init_attribute(attr, 0444, show_temp, NULL,
drivers/hwmon/occ/common.c
895
occ_init_attribute(attr, 0444, show_temp, NULL,
drivers/hwmon/occ/common.c
900
occ_init_attribute(attr, 0444, show_temp, NULL,
drivers/hwmon/ultra45_env.c
174
static SENSOR_DEVICE_ATTR(adt7462_local_temp, S_IRUGO, show_temp, NULL, 0);
drivers/hwmon/ultra45_env.c
175
static SENSOR_DEVICE_ATTR(cpu0_temp, S_IRUGO, show_temp, NULL, 1);
drivers/hwmon/ultra45_env.c
176
static SENSOR_DEVICE_ATTR(cpu1_temp, S_IRUGO, show_temp, NULL, 2);
drivers/hwmon/ultra45_env.c
177
static SENSOR_DEVICE_ATTR(motherboard_temp, S_IRUGO, show_temp, NULL, 3);
drivers/hwmon/ultra45_env.c
178
static SENSOR_DEVICE_ATTR(lm95221_local_temp, S_IRUGO, show_temp, NULL, 4);
drivers/hwmon/ultra45_env.c
179
static SENSOR_DEVICE_ATTR(fire_temp, S_IRUGO, show_temp, NULL, 5);
drivers/hwmon/ultra45_env.c
180
static SENSOR_DEVICE_ATTR(lsi1064_local_temp, S_IRUGO, show_temp, NULL, 6);
drivers/hwmon/ultra45_env.c
181
static SENSOR_DEVICE_ATTR(front_panel_temp, S_IRUGO, show_temp, NULL, 7);
drivers/hwmon/ultra45_env.c
182
static SENSOR_DEVICE_ATTR(psu_temp, S_IRUGO, show_temp, NULL, 13);
drivers/hwmon/vt1211.c
970
show_temp, NULL, SHOW_TEMP_INPUT, ix-1), \
drivers/hwmon/vt1211.c
972
show_temp, set_temp, SHOW_SET_TEMP_MAX, ix-1), \
drivers/hwmon/vt1211.c
974
show_temp, set_temp, SHOW_SET_TEMP_MAX_HYST, ix-1), \
drivers/hwmon/vt1211.c
976
show_temp, NULL, SHOW_TEMP_ALARM, ix-1) \
drivers/hwmon/w83781d.c
395
show_temp, NULL, offset); \
drivers/hwmon/w83793.c
1050
SENSOR_ATTR_2(temp##index##_input, S_IRUGO, show_temp, \
drivers/hwmon/w83793.c
1052
SENSOR_ATTR_2(temp##index##_max, S_IRUGO | S_IWUSR, show_temp, \
drivers/hwmon/w83793.c
1055
show_temp, store_temp, TEMP_CRIT_HYST, index - 1), \
drivers/hwmon/w83793.c
1056
SENSOR_ATTR_2(temp##index##_warn, S_IRUGO | S_IWUSR, show_temp, \
drivers/hwmon/w83793.c
1059
show_temp, store_temp, TEMP_WARN_HYST, index - 1), \
drivers/hwmon/w83795.c
1683
SENSOR_ATTR_2(temp##index##_input, S_IRUGO, show_temp, \
drivers/hwmon/w83795.c
1685
SENSOR_ATTR_2(temp##index##_crit, S_IRUGO | S_IWUSR, show_temp, \
drivers/hwmon/w83795.c
1688
show_temp, store_temp, TEMP_CRIT_HYST, index - 1), \
drivers/hwmon/w83795.c
1689
SENSOR_ATTR_2(temp##index##_max, S_IRUGO | S_IWUSR, show_temp, \
drivers/hwmon/w83795.c
1692
show_temp, store_temp, TEMP_WARN_HYST, index - 1), \
drivers/hwmon/w83l785ts.c
120
static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0);
drivers/hwmon/w83l785ts.c
121
static SENSOR_DEVICE_ATTR(temp1_max, S_IRUGO, show_temp, NULL, 1);
drivers/hwmon/w83l786ng.c
452
SENSOR_ATTR_2(temp1_input, S_IRUGO, show_temp, NULL, 0, 0),
drivers/hwmon/w83l786ng.c
453
SENSOR_ATTR_2(temp2_input, S_IRUGO, show_temp, NULL, 1, 0),
drivers/hwmon/w83l786ng.c
458
show_temp, store_temp, 0, 1),
drivers/hwmon/w83l786ng.c
460
show_temp, store_temp, 1, 1),
drivers/hwmon/w83l786ng.c
465
show_temp, store_temp, 0, 2),
drivers/hwmon/w83l786ng.c
467
show_temp, store_temp, 1, 2),
drivers/input/touchscreen/sun4i-ts.c
224
static DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL);
tools/thermal/thermal-engine/thermal-engine.c
83
show_temp(tz, arg);