Lines Matching refs:report_buffer
613 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()
693 r = libusb_interrupt_transfer(handle, endpoint_in, report_buffer, size, &size, 5000); in test_hid()
695 display_buffer_hex(report_buffer, size); in test_hid()
700 free(report_buffer); in test_hid()