/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Dxe/ |
D | Ohci.c | 40 USB_OHCI_HC_DEV *Ohc; in OhciReset() local 52 Ohc = USB_OHCI_HC_DEV_FROM_THIS (This); in OhciReset() 56 Status = OhciSetHcCommandStatus (Ohc, HC_RESET, HC_RESET); in OhciReset() 67 Data32 = OhciGetOperationalReg (Ohc->PciIo, HC_COMMAND_STATUS ); in OhciReset() 80 OhciFreeIntTransferMemory (Ohc); in OhciReset() 81 Status = OhciInitializeInterruptList (Ohc); in OhciReset() 82 OhciSetFrameInterval (Ohc, FRAME_INTERVAL, 0x2edf); in OhciReset() 84 Status = OhciSetHcControl (Ohc, HC_FUNCTIONAL_STATE, HC_STATE_RESET); in OhciReset() 93 OhciSetFrameInterval (Ohc, FS_LARGEST_DATA_PACKET, 0x2778); in OhciReset() 94 OhciSetFrameInterval (Ohc, FRAME_INTERVAL, 0x2edf); in OhciReset() [all …]
|
D | OhciReg.c | 99 IN USB_OHCI_HC_DEV *Ohc, in OhciSetHcReset() argument 106 *(UINT32 *) &Reset = OhciGetOperationalReg (Ohc->PciIo, USBHOST_OFFSET_UHCHR); in OhciSetHcReset() 144 OhciSetOperationalReg (Ohc->PciIo, USBHOST_OFFSET_UHCHR, &Reset); in OhciSetHcReset() 162 IN USB_OHCI_HC_DEV *Ohc, in OhciGetHcReset() argument 170 *(UINT32 *) &Reset = OhciGetOperationalReg (Ohc->PciIo, USBHOST_OFFSET_UHCHR); in OhciGetHcReset() 232 IN USB_OHCI_HC_DEV *Ohc, in OhciSetHcControl() argument 242 *(UINT32 *) &Control = OhciGetOperationalReg (Ohc->PciIo, HC_CONTROL); in OhciSetHcControl() 272 Status = OhciSetOperationalReg (Ohc->PciIo, HC_CONTROL, &Control); in OhciSetHcControl() 292 IN USB_OHCI_HC_DEV *Ohc, in OhciGetHcControl() argument 298 *(UINT32 *) &Control = OhciGetOperationalReg (Ohc->PciIo, HC_CONTROL); in OhciGetHcControl() [all …]
|
D | OhciUrb.c | 33 IN USB_OHCI_HC_DEV *Ohc in OhciCreateTD() argument 38 Td = UsbHcAllocateMem(Ohc->MemPool, sizeof(TD_DESCRIPTOR)); in OhciCreateTD() 64 IN USB_OHCI_HC_DEV *Ohc, in OhciFreeTD() argument 71 UsbHcFreeMem(Ohc->MemPool, Td, sizeof(TD_DESCRIPTOR)); in OhciFreeTD() 88 USB_OHCI_HC_DEV *Ohc in OhciCreateED() argument 92 Ed = UsbHcAllocateMem(Ohc->MemPool, sizeof (ED_DESCRIPTOR)); in OhciCreateED() 118 IN USB_OHCI_HC_DEV *Ohc, in OhciFreeED() argument 125 UsbHcFreeMem(Ohc->MemPool, Ed, sizeof(ED_DESCRIPTOR)); in OhciFreeED() 142 IN USB_OHCI_HC_DEV *Ohc, in OhciFreeAllTDFromED() argument 162 OhciFreeTD (Ohc, TempTd); in OhciFreeAllTDFromED() [all …]
|
D | OhciSched.c | 31 IN USB_OHCI_HC_DEV *Ohc, in OhciAddInterruptContextEntry() argument 40 if (Ohc->InterruptContextList == NULL) { in OhciAddInterruptContextEntry() 41 Ohc->InterruptContextList = NewEntry; in OhciAddInterruptContextEntry() 43 Entry = Ohc->InterruptContextList; in OhciAddInterruptContextEntry() 69 IN USB_OHCI_HC_DEV *Ohc, in OhciFreeInterruptContextEntry() argument 78 Ohc->PciIo->Unmap(Ohc->PciIo, Entry->UCBufferMapping); in OhciFreeInterruptContextEntry() 86 UsbHcFreeMem(Ohc->MemPool, Td, sizeof(TD_DESCRIPTOR)); in OhciFreeInterruptContextEntry() 107 IN USB_OHCI_HC_DEV *Ohc, in OhciFreeInterruptContext() argument 120 while (Ohc->InterruptContextList != NULL && in OhciFreeInterruptContext() 121 Ohc->InterruptContextList->DeviceAddress == DeviceAddress && in OhciFreeInterruptContext() [all …]
|
D | OhciUrb.h | 39 IN USB_OHCI_HC_DEV *Ohc 54 IN USB_OHCI_HC_DEV *Ohc, 69 USB_OHCI_HC_DEV *Ohc 86 IN USB_OHCI_HC_DEV *Ohc, 102 IN USB_OHCI_HC_DEV *Ohc, 139 USB_OHCI_HC_DEV *Ohc 187 IN USB_OHCI_HC_DEV *Ohc, 205 IN USB_OHCI_HC_DEV *Ohc, 224 IN USB_OHCI_HC_DEV *Ohc, 241 IN USB_OHCI_HC_DEV *Ohc, [all …]
|
D | OhciReg.h | 441 IN USB_OHCI_HC_DEV *Ohc, 458 IN USB_OHCI_HC_DEV *Ohc, 475 IN USB_OHCI_HC_DEV *Ohc, 495 IN USB_OHCI_HC_DEV *Ohc, 514 IN USB_OHCI_HC_DEV *Ohc, 532 IN USB_OHCI_HC_DEV *Ohc, 549 IN USB_OHCI_HC_DEV *Ohc, 566 IN USB_OHCI_HC_DEV *Ohc, 585 IN USB_OHCI_HC_DEV *Ohc, 604 IN USB_OHCI_HC_DEV *Ohc, [all …]
|
D | OhciSched.h | 66 IN USB_OHCI_HC_DEV *Ohc, 83 IN USB_OHCI_HC_DEV *Ohc, 101 IN USB_OHCI_HC_DEV *Ohc, 137 IN USB_OHCI_HC_DEV *Ohc, 175 IN USB_OHCI_HC_DEV *Ohc,
|
D | Ohci.h | 316 IN USB_OHCI_HC_DEV *Ohc,
|
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Usb/Ohci/Pei/ |
D | OhcPeim.c | 58 USB_OHCI_HC_DEV *Ohc; in OhciControlTransfer() local 100 Ohc = PEI_RECOVERY_USB_OHC_DEV_FROM_EHCI_THIS(This); in OhciControlTransfer() 110 OhciSetHcControl (Ohc, CONTROL_ENABLE, 0); in OhciControlTransfer() 111 if (OhciGetHcControl (Ohc, CONTROL_ENABLE) != 0) { in OhciControlTransfer() 113 if (OhciGetHcControl (Ohc, CONTROL_ENABLE) != 0) { in OhciControlTransfer() 119 OhciSetMemoryPointer (Ohc, HC_CONTROL_HEAD, NULL); in OhciControlTransfer() 120 Ed = OhciCreateED (Ohc); in OhciControlTransfer() 137 OhciAttachEDToList (Ohc, CONTROL_LIST, Ed, NULL); in OhciControlTransfer() 144 SetupTd = OhciCreateTD (Ohc); in OhciControlTransfer() 180 DataTd = OhciCreateTD (Ohc); in OhciControlTransfer() [all …]
|
D | OhciReg.c | 31 IN USB_OHCI_HC_DEV *Ohc, in OhciGetOperationalReg() argument 36 return MmioRead32 (Ohc->UsbHostControllerBaseAddress + Offset); in OhciGetOperationalReg() 54 USB_OHCI_HC_DEV *Ohc, in OhciSetOperationalReg() argument 59 MmioWrite32(Ohc->UsbHostControllerBaseAddress + Offset, *Value); in OhciSetOperationalReg() 75 USB_OHCI_HC_DEV *Ohc in OhciGetHcRevision() argument 78 return OhciGetOperationalReg (Ohc, HC_REVISION); in OhciGetHcRevision() 95 IN USB_OHCI_HC_DEV *Ohc, in OhciSetHcReset() argument 102 *(UINT32 *) &Reset = OhciGetOperationalReg (Ohc, USBHOST_OFFSET_UHCHR); in OhciSetHcReset() 140 OhciSetOperationalReg (Ohc, USBHOST_OFFSET_UHCHR, (UINT32*)&Reset); in OhciSetHcReset() 158 IN USB_OHCI_HC_DEV *Ohc, in OhciGetHcReset() argument [all …]
|
D | OhciReg.h | 383 IN USB_OHCI_HC_DEV *Ohc, 399 USB_OHCI_HC_DEV *Ohc, 416 USB_OHCI_HC_DEV *Ohc 433 IN USB_OHCI_HC_DEV *Ohc, 450 IN USB_OHCI_HC_DEV *Ohc, 467 IN USB_OHCI_HC_DEV *Ohc, 485 IN USB_OHCI_HC_DEV *Ohc, 502 IN USB_OHCI_HC_DEV *Ohc, 519 IN USB_OHCI_HC_DEV *Ohc, 535 IN USB_OHCI_HC_DEV *Ohc, [all …]
|
D | OhciUrb.h | 39 IN USB_OHCI_HC_DEV *Ohc 54 IN USB_OHCI_HC_DEV *Ohc, 69 USB_OHCI_HC_DEV *Ohc 86 IN USB_OHCI_HC_DEV *Ohc, 102 IN USB_OHCI_HC_DEV *Ohc, 136 IN USB_OHCI_HC_DEV *Ohc,
|
D | OhciUrb.c | 33 IN USB_OHCI_HC_DEV *Ohc in OhciCreateTD() argument 38 Td = UsbHcAllocateMem(Ohc->MemPool, sizeof(TD_DESCRIPTOR)); in OhciCreateTD() 63 IN USB_OHCI_HC_DEV *Ohc, in OhciFreeTD() argument 70 UsbHcFreeMem(Ohc->MemPool, Td, sizeof(TD_DESCRIPTOR)); in OhciFreeTD() 87 USB_OHCI_HC_DEV *Ohc in OhciCreateED() argument 91 Ed = UsbHcAllocateMem(Ohc->MemPool, sizeof (ED_DESCRIPTOR)); in OhciCreateED() 116 IN USB_OHCI_HC_DEV *Ohc, in OhciFreeED() argument 123 UsbHcFreeMem(Ohc->MemPool, Ed, sizeof(ED_DESCRIPTOR)); in OhciFreeED() 140 IN USB_OHCI_HC_DEV *Ohc, in OhciFreeAllTDFromED() argument 160 OhciFreeTD (Ohc, TempTd); in OhciFreeAllTDFromED() [all …]
|
D | OhciSched.c | 88 IN USB_OHCI_HC_DEV *Ohc, in OhciCheckTDsResults() argument 163 IN USB_OHCI_HC_DEV *Ohc, in CheckIfDone() argument 174 if (OhciGetHcCommandStatus (Ohc, CONTROL_LIST_FILLED) != 0) { in CheckIfDone() 180 if (OhciGetHcCommandStatus (Ohc, BULK_LIST_FILLED) != 0) { in CheckIfDone()
|
D | OhciSched.h | 54 IN USB_OHCI_HC_DEV *Ohc, 91 IN USB_OHCI_HC_DEV *Ohc,
|
D | OhcPeim.h | 86 IN USB_OHCI_HC_DEV *Ohc,
|