Searched refs:report_buffer (Results 1 – 1 of 1) sorted by relevance
/external/libusb/examples/ |
D | xusb.c | 612 uint8_t *report_buffer; in test_hid() local 634 report_buffer = (uint8_t*) calloc(size, 1); in test_hid() 635 if (report_buffer == NULL) { in test_hid() 641 HID_GET_REPORT, (HID_REPORT_TYPE_FEATURE<<8)|0, 0, report_buffer, (uint16_t)size, 5000); in test_hid() 643 display_buffer_hex(report_buffer, size); in test_hid() 658 free(report_buffer); in test_hid() 665 report_buffer = (uint8_t*) calloc(size, 1); in test_hid() 666 if (report_buffer == NULL) { in test_hid() 672 HID_GET_REPORT, (HID_REPORT_TYPE_INPUT<<8)|0x00, 0, report_buffer, (uint16_t)size, 5000); in test_hid() 674 display_buffer_hex(report_buffer, size); in test_hid() [all …]
|