Lines Matching defs:buf
1045 char *buf)
1053 return scnprintf(buf, PAGE_SIZE, "%.*s\n", attr->field_length, field);
1058 const char *buf, size_t count)
1072 data_len = strnlen(buf, attr->field_length);
1081 memcpy(field, buf, data_len);
1120 const char *buf, size_t count)
1128 error = kstrtoint(buf, 0, &value);
1152 const char *buf, size_t count)
1160 error = kstrtoint(buf, 0, &value);
1204 char *buf)
1209 return scnprintf(buf, PAGE_SIZE, "%d\n", pcu->update_firmware_status);
1298 char *buf)
1312 return scnprintf(buf, PAGE_SIZE, "%x\n", data);
1317 const char *buf, size_t count)
1324 error = kstrtou8(buf, 0, &value);
1340 char *buf)
1347 error = scnprintf(buf, PAGE_SIZE, "%x\n", pcu->ofn_reg_addr);
1355 const char *buf, size_t count)
1362 error = kstrtou8(buf, 0, &value);
1384 char *buf)
1400 return scnprintf(buf, PAGE_SIZE, "%d\n", !!(data & (1 << attr->nr)));
1405 const char *buf, size_t count)
1415 error = kstrtoint(buf, 0, &value);
1610 const void *buf = intf->altsetting->extra;
1614 if (!buf) {
1625 union_desc = (struct usb_cdc_union_desc *)buf;
1646 buf += union_desc->bLength;