Lines Matching defs:buf
34 static int ssam_kbd_get_descriptor(struct surface_hid_device *shid, u8 entry, u8 *buf, size_t len)
50 rsp.pointer = buf;
81 static int ssam_kbd_get_feature_report(struct surface_hid_device *shid, u8 *buf, size_t len)
98 rsp.pointer = buf;
152 static int skbd_get_caps_led_value(struct hid_device *hid, u8 rprt_id, u8 *buf, size_t len)
181 return !!hid_field_extract(hid, buf + 1, size, offset);
184 static int skbd_output_report(struct surface_hid_device *shid, u8 rprt_id, u8 *buf, size_t len)
189 caps_led = skbd_get_caps_led_value(shid->hid, rprt_id, buf, len);
200 static int skbd_get_feature_report(struct surface_hid_device *shid, u8 rprt_id, u8 *buf, size_t len)
221 memcpy(buf, report, ARRAY_SIZE(report));
225 static int skbd_set_feature_report(struct surface_hid_device *shid, u8 rprt_id, u8 *buf, size_t len)