Home
last modified time | relevance | path

Searched refs:report_buffer (Results 1 – 1 of 1) sorted by relevance

/third_party/libusb/examples/
Dxusb.c613 uint8_t *report_buffer; in test_hid() local
635 report_buffer = (uint8_t*) calloc(size, 1); in test_hid()
636 if (report_buffer == NULL) { in test_hid()
642 HID_GET_REPORT, (HID_REPORT_TYPE_FEATURE<<8)|0, 0, report_buffer, (uint16_t)size, 5000); in test_hid()
644 display_buffer_hex(report_buffer, size); in test_hid()
659 free(report_buffer); in test_hid()
666 report_buffer = (uint8_t*) calloc(size, 1); in test_hid()
667 if (report_buffer == NULL) { in test_hid()
673 HID_GET_REPORT, (HID_REPORT_TYPE_INPUT<<8)|0x00, 0, report_buffer, (uint16_t)size, 5000); in test_hid()
675 display_buffer_hex(report_buffer, size); in test_hid()
[all …]