Lines Matching defs:sysfsbuf

771 				struct device_attribute *attr, char *sysfsbuf)
808 return sysfs_emit(sysfsbuf, "(%d,%d)\n", left, right);
813 struct device_attribute *devattr, char *sysfsbuf)
817 return sysfs_emit(sysfsbuf, "%s\n", key);
822 struct device_attribute *devattr, char *sysfsbuf)
835 return sysfs_emit(sysfsbuf, "%d\n", temp);
839 struct device_attribute *attr, char *sysfsbuf)
854 return sysfs_emit(sysfsbuf, "%u\n", speed);
859 const char *sysfsbuf, size_t count)
866 if (kstrtoul(sysfsbuf, 10, &speed) < 0 || speed >= 0x4000)
883 struct device_attribute *attr, char *sysfsbuf)
894 return sysfs_emit(sysfsbuf, "%d\n", manual);
899 const char *sysfsbuf, size_t count)
906 if (kstrtoul(sysfsbuf, 10, &input) < 0)
933 struct device_attribute *attr, char *sysfsbuf)
947 return sysfs_emit(sysfsbuf, "%s\n", buffer + 4);
951 struct device_attribute *attr, char *sysfsbuf)
953 return sysfs_emit(sysfsbuf, "(%d,%d)\n", rest_x, rest_y);
957 struct device_attribute *attr, const char *sysfsbuf, size_t count)
983 struct device_attribute *attr, char *sysfsbuf)
995 return sysfs_emit(sysfsbuf, "%d\n", count);
999 struct device_attribute *attr, char *sysfsbuf)
1007 ret = applesmc_read_entry(entry, sysfsbuf, entry->len);
1015 struct device_attribute *attr, char *sysfsbuf)
1023 return sysfs_emit(sysfsbuf, "%d\n", entry->len);
1027 struct device_attribute *attr, char *sysfsbuf)
1035 return sysfs_emit(sysfsbuf, "%s\n", entry->type);
1039 struct device_attribute *attr, char *sysfsbuf)
1047 return sysfs_emit(sysfsbuf, "%s\n", entry->key);
1051 struct device_attribute *attr, char *sysfsbuf)
1053 return sysfs_emit(sysfsbuf, "%d\n", key_at_index);
1057 struct device_attribute *attr, const char *sysfsbuf, size_t count)
1061 if (kstrtoul(sysfsbuf, 10, &newkey) < 0