Searched refs:show_temp (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/hwmon/ |
| H A D | k10temp.c | 105 u32 show_temp; member 115 #define HAVE_TEMP(d, channel) ((d)->show_temp & BIT(channel)) 430 data->show_temp |= BIT(TCCD_BIT(i)); in k10temp_get_ccd_support() 457 data->show_temp |= BIT(TCTL_BIT); /* Always show Tctl */ in k10temp_probe() 542 data->show_temp |= BIT(TDIE_BIT); /* show Tdie */ in k10temp_probe()
|
| H A 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), \
|
| H A D | nct6775-core.c | 2203 show_temp(struct device *dev, struct device_attribute *attr, char *buf) in show_temp() function 2385 SENSOR_TEMPLATE_2(temp_input, "temp%d_input", 0444, show_temp, NULL, 0, 0); 2387 SENSOR_TEMPLATE_2(temp_max, "temp%d_max", 0644, show_temp, store_temp, 0, 1); 2388 SENSOR_TEMPLATE_2(temp_max_hyst, "temp%d_max_hyst", 0644, show_temp, store_temp, 0, 2); 2389 SENSOR_TEMPLATE_2(temp_crit, "temp%d_crit", 0644, show_temp, store_temp, 0, 3); 2390 SENSOR_TEMPLATE_2(temp_lcrit, "temp%d_lcrit", 0644, show_temp, store_temp, 0, 4);
|
| /linux/drivers/hwmon/occ/ |
| H A D | common.c | 789 ssize_t (*show_temp)(struct device *, struct device_attribute *, in occ_setup_sensor_attrs() local 804 show_temp = occ_show_temp_2; in occ_setup_sensor_attrs() 808 show_temp = occ_show_temp_10; in occ_setup_sensor_attrs() 881 occ_init_attribute(attr, 0444, show_temp, NULL, in occ_setup_sensor_attrs() 887 occ_init_attribute(attr, 0444, show_temp, NULL, in occ_setup_sensor_attrs() 890 occ_init_attribute(attr, 0444, show_temp, NULL, in occ_setup_sensor_attrs() 897 occ_init_attribute(attr, 0444, show_temp, NULL, in occ_setup_sensor_attrs() 901 occ_init_attribute(attr, 0444, show_temp, NULL, in occ_setup_sensor_attrs() 906 occ_init_attribute(attr, 0444, show_temp, NULL, in occ_setup_sensor_attrs()
|
| /linux/drivers/input/touchscreen/ |
| H A 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);
|