Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/hwmon/
Dapplesmc.c732 struct device_attribute *attr, char *sysfsbuf) in applesmc_light_show() argument
766 return snprintf(sysfsbuf, PAGE_SIZE, "(%d,%d)\n", left, right); in applesmc_light_show()
771 struct device_attribute *devattr, char *sysfsbuf) in applesmc_show_sensor_label() argument
775 return snprintf(sysfsbuf, PAGE_SIZE, "%s\n", key); in applesmc_show_sensor_label()
780 struct device_attribute *devattr, char *sysfsbuf) in applesmc_show_temperature() argument
793 return snprintf(sysfsbuf, PAGE_SIZE, "%d\n", temp); in applesmc_show_temperature()
797 struct device_attribute *attr, char *sysfsbuf) in applesmc_show_fan_speed() argument
813 return snprintf(sysfsbuf, PAGE_SIZE, "%u\n", speed); in applesmc_show_fan_speed()
818 const char *sysfsbuf, size_t count) in applesmc_store_fan_speed() argument
825 if (kstrtoul(sysfsbuf, 10, &speed) < 0 || speed >= 0x4000) in applesmc_store_fan_speed()
[all …]