Lines Matching defs:buf
105 char *buf) \
108 return sprintf(buf, format_string, idev->field); \
112 struct device_attribute *attr, char *buf)
130 buf[c++] = '\n';
132 buf[c++] = ' ';
134 sprintf(&buf[c], "%02x", idev->id[i]);
137 buf[c++] = '\n';
142 id_vendor_show(struct device *dev, struct device_attribute *attr, char *buf)
147 return sprintf(buf, "0x%02x\n", idev->id_vendor);
149 return sprintf(buf, "0x%06x\n", idev->id_vendor);
156 id_device_show(struct device *dev, struct device_attribute *attr, char *buf)
161 return sprintf(buf, "0x%02x\n", idev->id_device);
163 return sprintf(buf, "0x%04x\n", idev->id_device);
170 char *buf)
174 return sprintf(buf, "ipac:f%02Xv%08Xd%08X", idev->id_format,