Lines Matching defs:buf
24 struct device_attribute *attr, char *buf)
36 len += sprintf(buf + len, "%2d: %14s %s\n",
65 struct device_attribute *attr, char *buf)
68 return sprintf(buf, "%s\n", channel->dev_id);
73 const char *buf, size_t count)
76 strcpy(channel->dev_id, buf);
84 const char *buf, size_t count)
89 config = simple_strtoul(buf, NULL, 0);
98 struct device_attribute *attr, char *buf)
101 return sprintf(buf, "0x%08x\n", channel->mode);
106 const char *buf, size_t count)
109 channel->mode = simple_strtoul(buf, NULL, 0);
117 struct device_attribute *attr, char *buf)\
120 return sprintf(buf, fmt, channel->field); \