Lines Matching defs:buf
7 compatible_show (struct device *dev, struct device_attribute *attr, char *buf)
17 *buf = '\0';
22 length += sprintf (buf, "%s\n", compat);
23 buf += length;
34 char *buf)
36 return of_device_modalias(dev, buf, PAGE_SIZE);
40 struct device_attribute *attr, char *buf)
45 return sprintf(buf, "%pOF\n", ofdev->dev.of_node);
51 struct device_attribute *attr, char *buf)
53 return sprintf(buf, "%pOFn\n", dev->of_node);
58 struct device_attribute *attr, char *buf)
60 return sprintf(buf, "%s\n", of_node_get_device_type(dev->of_node));