Lines Matching defs:UsbHdr
593 DumpFileUsbHeaderLnxMmapped UsbHdr;
599 uint32_t cbCapturedLength = sizeof(UsbHdr);
613 UsbHdr.u64Id = (uint64_t)pUrb; /** @todo: check whether the pointer is a good ID. */
617 UsbHdr.u8EventType = DUMPFILE_USB_EVENT_TYPE_SUBMIT;
621 UsbHdr.u8EventType = DUMPFILE_USB_EVENT_TYPE_COMPLETE;
626 UsbHdr.u8EventType = DUMPFILE_USB_EVENT_TYPE_ERROR;
640 UsbHdr.u8TransferType = 0;
647 UsbHdr.u.IsoRec.i32ErrorCount = i32ErrorCount;
648 UsbHdr.u.IsoRec.i32NumDesc = pUrb->cIsocPkts;
653 UsbHdr.u8TransferType = 3;
656 UsbHdr.u8TransferType = 1;
660 UsbHdr.u8TransferType = 2;
684 UsbHdr.u8EndpointNumber = pUrb->EndPt | (pUrb->enmDir == VUSBDIRECTION_IN ? 0x80 : 0x00);
685 UsbHdr.u8DeviceAddress = pUrb->DstAddress;
686 UsbHdr.u16BusId = 0;
687 UsbHdr.u8DataFlag = cbDataLength ? 0 : 1;
688 UsbHdr.u64TimestampSec = u64TimestampEvent / RT_NS_1SEC_64;
689 UsbHdr.u32TimestampUSec = u64TimestampEvent / RT_NS_1US_64 - UsbHdr.u64TimestampSec * RT_US_1SEC;
690 UsbHdr.i32Status = pUrb->enmStatus;
691 UsbHdr.u32UrbLength = cbUrbLength;
692 UsbHdr.u32DataLength = cbDataLength + cIsocPkts * sizeof(DumpFileUsbIsoDesc);
693 UsbHdr.i32Interval = 0;
694 UsbHdr.i32StartFrame = 0;
695 UsbHdr.u32XferFlags = 0;
696 UsbHdr.u32NumDesc = cIsocPkts;
703 UsbHdr.u.UsbSetup.bmRequestType = pSetup->bmRequestType;
704 UsbHdr.u.UsbSetup.bRequest = pSetup->bRequest;
705 UsbHdr.u.UsbSetup.wValue = pSetup->wValue;
706 UsbHdr.u.UsbSetup.wIndex = pSetup->wIndex;
707 UsbHdr.u.UsbSetup.wLength = pSetup->wLength;
708 UsbHdr.u8SetupFlag = 0;
711 UsbHdr.u8SetupFlag = '-'; /* Follow usbmon source here. */
719 rc = vusbSnifferBlockAddData(pThis, &UsbHdr, sizeof(UsbHdr));