Lines Matching defs:buf
39 char *buf)
52 return sprintf(buf, "%lu\n", value);
56 const char *buf, size_t count)
73 rc = kstrtoul(buf, 0, &value);
88 char *buf)
101 return sprintf(buf, "%lu\n", value);
105 const char *buf, size_t count)
122 rc = kstrtoul(buf, 0, &value);
137 char *buf)
150 return sprintf(buf, "%lu\n", value);
154 const char *buf, size_t count)
171 rc = kstrtoul(buf, 0, &value);
186 struct device_attribute *attr, char *buf)
199 return sprintf(buf, "%lu\n", value);
203 struct device_attribute *attr, char *buf)
216 return sprintf(buf, "%lu\n", value);
220 struct device_attribute *attr, char *buf)
233 return sprintf(buf, "%lu\n", value);
237 struct device_attribute *attr, char *buf)
245 return sprintf(buf, "%s\n",
252 struct device_attribute *attr, const char *buf, size_t count)
271 if (strncmp("auto", buf, strlen("auto")) == 0) {
278 } else if (strncmp("manual", buf, strlen("manual")) == 0) {
309 char *buf)
316 return sprintf(buf, "%u\n", hdev->high_pll);
320 const char *buf, size_t count)
331 rc = kstrtoul(buf, 0, &value);
365 static ssize_t infineon_ver_show(struct device *dev, struct device_attribute *attr, char *buf)
372 return sprintf(buf, "%#04x\n", le32_to_cpu(cpucp_info->infineon_version));