Lines Matching full:report
338 sizeof(_report_desc), /* wItemLength: Total length of Report descriptor */
389 static void dump_report(struct hid_report * report) in dump_report() argument
392 rt_kprintf("\nReport ID %02x \n", report->report_id); in dump_report()
393 dump_data(report->report,report->size); in dump_report()
399 struct hid_report report; in _ep_out_handler() local
406 rt_memcpy((void *)&report,(void*)data->ep_out->buffer,size); in _ep_out_handler()
407 report.size = size-1; in _ep_out_handler()
408 rt_mq_send(&data->hid_mq,(void *)&report,sizeof(report)); in _ep_out_handler()
602 struct hid_report report; in _hid_write() local
605 report.report_id = pos; in _hid_write()
606 rt_memcpy((void *)report.report,(void *)buffer,size); in _hid_write()
607 report.size = size; in _hid_write()
608 hiddev->ep_in->request.buffer = (void *)&report; in _hid_write()
617 RT_WEAK void HID_Report_Received(hid_report_t report) in HID_Report_Received() argument
619 dump_report(report); in HID_Report_Received()
627 struct hid_report report; in hid_thread_entry() local
632 if(rt_mq_recv(&hiddev->hid_mq, &report, sizeof(report),RT_WAITING_FOREVER) != RT_EOK ) in hid_thread_entry()
634 HID_Report_Received(&report); in hid_thread_entry()