/linux-5.19.10/drivers/hwmon/ |
D | ultra45_env.c | 162 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, in show_temp() function 173 static SENSOR_DEVICE_ATTR(adt7462_local_temp, S_IRUGO, show_temp, NULL, 0); 174 static SENSOR_DEVICE_ATTR(cpu0_temp, S_IRUGO, show_temp, NULL, 1); 175 static SENSOR_DEVICE_ATTR(cpu1_temp, S_IRUGO, show_temp, NULL, 2); 176 static SENSOR_DEVICE_ATTR(motherboard_temp, S_IRUGO, show_temp, NULL, 3); 177 static SENSOR_DEVICE_ATTR(lm95221_local_temp, S_IRUGO, show_temp, NULL, 4); 178 static SENSOR_DEVICE_ATTR(fire_temp, S_IRUGO, show_temp, NULL, 5); 179 static SENSOR_DEVICE_ATTR(lsi1064_local_temp, S_IRUGO, show_temp, NULL, 6); 180 static SENSOR_DEVICE_ATTR(front_panel_temp, S_IRUGO, show_temp, NULL, 7); 181 static SENSOR_DEVICE_ATTR(psu_temp, S_IRUGO, show_temp, NULL, 13);
|
D | k10temp.c | 85 u32 show_temp; member 94 #define HAVE_TEMP(d, channel) ((d)->show_temp & BIT(channel)) 377 data->show_temp |= BIT(TCCD_BIT(i)); in k10temp_get_ccd_support() 404 data->show_temp |= BIT(TCTL_BIT); /* Always show Tctl */ in k10temp_probe() 464 data->show_temp |= BIT(TDIE_BIT); /* show Tdie */ in k10temp_probe()
|
D | max1668.c | 130 static ssize_t show_temp(struct device *dev, in show_temp() function 243 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0); 248 static SENSOR_DEVICE_ATTR(temp2_input, S_IRUGO, show_temp, NULL, 1); 253 static SENSOR_DEVICE_ATTR(temp3_input, S_IRUGO, show_temp, NULL, 2); 258 static SENSOR_DEVICE_ATTR(temp4_input, S_IRUGO, show_temp, NULL, 3); 263 static SENSOR_DEVICE_ATTR(temp5_input, S_IRUGO, show_temp, NULL, 4);
|
D | w83l785ts.c | 112 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, in show_temp() function 120 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0); 121 static SENSOR_DEVICE_ATTR(temp1_max, S_IRUGO, show_temp, NULL, 1);
|
D | w83l786ng.c | 406 show_temp(struct device *dev, struct device_attribute *attr, char *buf) in show_temp() function 443 SENSOR_ATTR_2(temp1_input, S_IRUGO, show_temp, NULL, 0, 0), 444 SENSOR_ATTR_2(temp2_input, S_IRUGO, show_temp, NULL, 1, 0), 449 show_temp, store_temp, 0, 1), 451 show_temp, store_temp, 1, 1), 456 show_temp, store_temp, 0, 2), 458 show_temp, store_temp, 1, 2),
|
D | it87.c | 943 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, in show_temp() function 994 static SENSOR_DEVICE_ATTR_2(temp1_input, S_IRUGO, show_temp, NULL, 0, 0); 995 static SENSOR_DEVICE_ATTR_2(temp1_min, S_IRUGO | S_IWUSR, show_temp, set_temp, 997 static SENSOR_DEVICE_ATTR_2(temp1_max, S_IRUGO | S_IWUSR, show_temp, set_temp, 999 static SENSOR_DEVICE_ATTR_2(temp1_offset, S_IRUGO | S_IWUSR, show_temp, 1001 static SENSOR_DEVICE_ATTR_2(temp2_input, S_IRUGO, show_temp, NULL, 1, 0); 1002 static SENSOR_DEVICE_ATTR_2(temp2_min, S_IRUGO | S_IWUSR, show_temp, set_temp, 1004 static SENSOR_DEVICE_ATTR_2(temp2_max, S_IRUGO | S_IWUSR, show_temp, set_temp, 1006 static SENSOR_DEVICE_ATTR_2(temp2_offset, S_IRUGO | S_IWUSR, show_temp, 1008 static SENSOR_DEVICE_ATTR_2(temp3_input, S_IRUGO, show_temp, NULL, 2, 0); [all …]
|
D | vt1211.c | 414 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, in show_temp() function 959 show_temp, NULL, SHOW_TEMP_INPUT, ix-1), \ 961 show_temp, set_temp, SHOW_SET_TEMP_MAX, ix-1), \ 963 show_temp, set_temp, SHOW_SET_TEMP_MAX_HYST, ix-1), \ 965 show_temp, NULL, SHOW_TEMP_ALARM, ix-1) \
|
D | f71882fg.c | 321 static ssize_t show_temp(struct device *dev, struct device_attribute 402 SENSOR_ATTR_2(temp1_input, S_IRUGO, show_temp, NULL, 0, 0), 414 SENSOR_ATTR_2(temp2_input, S_IRUGO, show_temp, NULL, 0, 1), 426 SENSOR_ATTR_2(temp3_input, S_IRUGO, show_temp, NULL, 0, 2), 442 SENSOR_ATTR_2(temp1_input, S_IRUGO, show_temp, NULL, 0, 1), 461 SENSOR_ATTR_2(temp2_input, S_IRUGO, show_temp, NULL, 0, 2), 476 SENSOR_ATTR_2(temp3_input, S_IRUGO, show_temp, NULL, 0, 3), 534 SENSOR_ATTR_2(temp1_input, S_IRUGO, show_temp, NULL, 0, 0), 541 SENSOR_ATTR_2(temp2_input, S_IRUGO, show_temp, NULL, 0, 1), 548 SENSOR_ATTR_2(temp3_input, S_IRUGO, show_temp, NULL, 0, 2), [all …]
|
D | coretemp.c | 150 static ssize_t show_temp(struct device *dev, in show_temp() function 386 show_label, show_crit_alarm, show_temp, show_tjmax, in create_core_attrs()
|
D | dme1737.c | 877 static ssize_t show_temp(struct device *dev, struct device_attribute *attr, in show_temp() function 1534 show_temp, NULL, SYS_TEMP_INPUT, ix-1); \ 1536 show_temp, set_temp, SYS_TEMP_MIN, ix-1); \ 1538 show_temp, set_temp, SYS_TEMP_MAX, ix-1); \ 1540 show_temp, set_temp, SYS_TEMP_OFFSET, ix-1); \ 1542 show_temp, NULL, SYS_TEMP_ALARM, ix-1); \ 1544 show_temp, NULL, SYS_TEMP_FAULT, ix-1)
|
D | w83793.c | 562 show_temp(struct device *dev, struct device_attribute *attr, char *buf) in show_temp() function 1050 SENSOR_ATTR_2(temp##index##_input, S_IRUGO, show_temp, \ 1052 SENSOR_ATTR_2(temp##index##_max, S_IRUGO | S_IWUSR, show_temp, \ 1055 show_temp, store_temp, TEMP_CRIT_HYST, index - 1), \ 1056 SENSOR_ATTR_2(temp##index##_warn, S_IRUGO | S_IWUSR, show_temp, \ 1059 show_temp, store_temp, TEMP_WARN_HYST, index - 1), \
|
D | w83795.c | 1317 show_temp(struct device *dev, struct device_attribute *attr, char *buf) in show_temp() function 1683 SENSOR_ATTR_2(temp##index##_input, S_IRUGO, show_temp, \ 1685 SENSOR_ATTR_2(temp##index##_crit, S_IRUGO | S_IWUSR, show_temp, \ 1688 show_temp, store_temp, TEMP_CRIT_HYST, index - 1), \ 1689 SENSOR_ATTR_2(temp##index##_max, S_IRUGO | S_IWUSR, show_temp, \ 1692 show_temp, store_temp, TEMP_WARN_HYST, index - 1), \
|
D | f71805f.c | 859 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, in show_temp() function 1056 static SENSOR_DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL, 0); 1062 static SENSOR_DEVICE_ATTR(temp2_input, S_IRUGO, show_temp, NULL, 1); 1068 static SENSOR_DEVICE_ATTR(temp3_input, S_IRUGO, show_temp, NULL, 2);
|
D | nct6775-core.c | 2109 show_temp(struct device *dev, struct device_attribute *attr, char *buf) in show_temp() function 2290 SENSOR_TEMPLATE_2(temp_input, "temp%d_input", 0444, show_temp, NULL, 0, 0); 2292 SENSOR_TEMPLATE_2(temp_max, "temp%d_max", 0644, show_temp, store_temp, 0, 1); 2293 SENSOR_TEMPLATE_2(temp_max_hyst, "temp%d_max_hyst", 0644, show_temp, store_temp, 0, 2); 2294 SENSOR_TEMPLATE_2(temp_crit, "temp%d_crit", 0644, show_temp, store_temp, 0, 3); 2295 SENSOR_TEMPLATE_2(temp_lcrit, "temp%d_lcrit", 0644, show_temp, store_temp, 0, 4);
|
D | asb100.c | 460 show_temp, NULL, num - 1); \
|
D | w83781d.c | 395 show_temp, NULL, offset); \
|
/linux-5.19.10/drivers/hwmon/occ/ |
D | common.c | 787 ssize_t (*show_temp)(struct device *, struct device_attribute *, in occ_setup_sensor_attrs() local 802 show_temp = occ_show_temp_2; in occ_setup_sensor_attrs() 806 show_temp = occ_show_temp_10; in occ_setup_sensor_attrs() 879 attr->sensor = OCC_INIT_ATTR(attr->name, 0444, show_temp, NULL, in occ_setup_sensor_attrs() 892 attr->sensor = OCC_INIT_ATTR(attr->name, 0444, show_temp, NULL, in occ_setup_sensor_attrs() 900 show_temp, NULL, 2, i); in occ_setup_sensor_attrs() 906 show_temp, NULL, 3, i); in occ_setup_sensor_attrs() 913 show_temp, NULL, in occ_setup_sensor_attrs()
|
/linux-5.19.10/tools/thermal/thermal-engine/ |
D | thermal-engine.c | 49 static int show_temp(struct thermal_zone *tz, __maybe_unused void *arg) in show_temp() function 73 show_temp(tz, arg); in show_tz()
|
/linux-5.19.10/drivers/input/touchscreen/ |
D | sun4i-ts.c | 204 static ssize_t show_temp(struct device *dev, struct device_attribute *devattr, in show_temp() function 224 static DEVICE_ATTR(temp1_input, S_IRUGO, show_temp, NULL);
|