Lines Matching defs:buf
99 char *buf) \
102 return sprintf(buf, format_string, idev->field); \
106 struct device_attribute *attr, char *buf)
124 buf[c++] = '\n';
126 buf[c++] = ' ';
128 sprintf(&buf[c], "%02x", idev->id[i]);
131 buf[c++] = '\n';
136 id_vendor_show(struct device *dev, struct device_attribute *attr, char *buf)
141 return sprintf(buf, "0x%02x\n", idev->id_vendor);
143 return sprintf(buf, "0x%06x\n", idev->id_vendor);
150 id_device_show(struct device *dev, struct device_attribute *attr, char *buf)
155 return sprintf(buf, "0x%02x\n", idev->id_device);
157 return sprintf(buf, "0x%04x\n", idev->id_device);
164 char *buf)
168 return sprintf(buf, "ipac:f%02Xv%08Xd%08X", idev->id_format,