Lines Matching refs:buf
15 struct device_attribute *attr, char *buf) in type_show() argument
19 return scnprintf(buf, PAGE_SIZE, "%s\n", adev->type); in type_show()
23 struct device_attribute *attr, char *buf) in address_show() argument
27 return scnprintf(buf, PAGE_SIZE, "%pM\n", adev->esi); in address_show()
31 struct device_attribute *attr, char *buf) in atmaddress_show() argument
40 count += scnprintf(buf + count, PAGE_SIZE - count, in atmaddress_show()
54 struct device_attribute *attr, char *buf) in atmindex_show() argument
58 return scnprintf(buf, PAGE_SIZE, "%d\n", adev->number); in atmindex_show()
62 struct device_attribute *attr, char *buf) in carrier_show() argument
66 return scnprintf(buf, PAGE_SIZE, "%d\n", in carrier_show()
71 struct device_attribute *attr, char *buf) in link_rate_show() argument
90 return scnprintf(buf, PAGE_SIZE, "%d\n", link_rate); in link_rate_show()