Lines Matching refs:buf
147 struct kobj_attribute *attr, char *buf) in per_cpu_count_show() argument
157 ret += scnprintf(buf + ret, PAGE_SIZE - ret, "%s%u", p, c); in per_cpu_count_show()
161 ret += scnprintf(buf + ret, PAGE_SIZE - ret, "\n"); in per_cpu_count_show()
167 struct kobj_attribute *attr, char *buf) in chip_name_show() argument
174 ret = scnprintf(buf, PAGE_SIZE, "%s\n", in chip_name_show()
184 struct kobj_attribute *attr, char *buf) in hwirq_show() argument
191 ret = sprintf(buf, "%lu\n", desc->irq_data.hwirq); in hwirq_show()
199 struct kobj_attribute *attr, char *buf) in type_show() argument
205 ret = sprintf(buf, "%s\n", in type_show()
215 struct kobj_attribute *attr, char *buf) in wakeup_show() argument
221 ret = sprintf(buf, "%s\n", in wakeup_show()
231 struct kobj_attribute *attr, char *buf) in name_show() argument
238 ret = scnprintf(buf, PAGE_SIZE, "%s\n", desc->name); in name_show()
246 struct kobj_attribute *attr, char *buf) in actions_show() argument
255 ret += scnprintf(buf + ret, PAGE_SIZE - ret, "%s%s", in actions_show()
262 ret += scnprintf(buf + ret, PAGE_SIZE - ret, "\n"); in actions_show()