/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/ |
D | SdMmcPciHci.c | 1100 IN SD_MMC_HC_TRB *Trb in BuildAdmaDescTable() argument 1114 Data = Trb->DataPhy; in BuildAdmaDescTable() 1115 DataLen = Trb->DataLen; in BuildAdmaDescTable() 1116 PciIo = Trb->Private->PciIo; in BuildAdmaDescTable() 1133 Trb->AdmaPages = (UINT32)EFI_SIZE_TO_PAGES (TableSize); in BuildAdmaDescTable() 1139 (VOID **)&Trb->AdmaDesc, in BuildAdmaDescTable() 1145 ZeroMem (Trb->AdmaDesc, TableSize); in BuildAdmaDescTable() 1150 Trb->AdmaDesc, in BuildAdmaDescTable() 1152 &Trb->AdmaDescPhy, in BuildAdmaDescTable() 1153 &Trb->AdmaMap in BuildAdmaDescTable() [all …]
|
D | SdMmcPciHcDxe.c | 149 SD_MMC_HC_TRB *Trb; in ProcessAsyncTaskList() local 161 Trb = NULL; in ProcessAsyncTaskList() 164 Trb = SD_MMC_HC_TRB_FROM_THIS (Link); in ProcessAsyncTaskList() 165 if (!Private->Slot[Trb->Slot].MediaPresent) { in ProcessAsyncTaskList() 169 if (!Trb->Started) { in ProcessAsyncTaskList() 173 Status = SdMmcCheckTrbEnv (Private, Trb); in ProcessAsyncTaskList() 175 Trb->Started = TRUE; in ProcessAsyncTaskList() 176 Status = SdMmcExecTrb (Private, Trb); in ProcessAsyncTaskList() 184 Status = SdMmcCheckTrbResult (Private, Trb); in ProcessAsyncTaskList() 188 if ((Trb != NULL) && (Status == EFI_NOT_READY)) { in ProcessAsyncTaskList() [all …]
|
D | SdMmcPciHcDxe.h | 663 IN SD_MMC_HC_TRB *Trb 680 IN SD_MMC_HC_TRB *Trb 697 IN SD_MMC_HC_TRB *Trb 713 IN SD_MMC_HC_TRB *Trb 730 IN SD_MMC_HC_TRB *Trb 746 IN SD_MMC_HC_TRB *Trb
|
/device/linaro/bootloader/OpenPlatformPkg/Drivers/SdMmc/XenonDxe/ |
D | SdMmcPciHci.c | 1100 IN SD_MMC_HC_TRB *Trb in BuildAdmaDescTable() argument 1114 Data = Trb->DataPhy; in BuildAdmaDescTable() 1115 DataLen = Trb->DataLen; in BuildAdmaDescTable() 1116 PciIo = Trb->Private->PciIo; in BuildAdmaDescTable() 1133 Trb->AdmaPages = (UINT32)EFI_SIZE_TO_PAGES (TableSize); in BuildAdmaDescTable() 1139 (VOID **)&Trb->AdmaDesc, in BuildAdmaDescTable() 1145 ZeroMem (Trb->AdmaDesc, TableSize); in BuildAdmaDescTable() 1150 Trb->AdmaDesc, in BuildAdmaDescTable() 1152 &Trb->AdmaDescPhy, in BuildAdmaDescTable() 1153 &Trb->AdmaMap in BuildAdmaDescTable() [all …]
|
D | SdMmcPciHcDxe.c | 152 SD_MMC_HC_TRB *Trb; in ProcessAsyncTaskList() local 164 Trb = NULL; in ProcessAsyncTaskList() 167 Trb = SD_MMC_HC_TRB_FROM_THIS (Link); in ProcessAsyncTaskList() 168 if (!Private->Slot[Trb->Slot].MediaPresent) { in ProcessAsyncTaskList() 172 if (!Trb->Started) { in ProcessAsyncTaskList() 176 Status = SdMmcCheckTrbEnv (Private, Trb); in ProcessAsyncTaskList() 178 Trb->Started = TRUE; in ProcessAsyncTaskList() 179 Status = SdMmcExecTrb (Private, Trb); in ProcessAsyncTaskList() 187 Status = SdMmcCheckTrbResult (Private, Trb); in ProcessAsyncTaskList() 191 if ((Trb != NULL) && (Status == EFI_NOT_READY)) { in ProcessAsyncTaskList() [all …]
|
D | SdMmcPciHcDxe.h | 663 IN SD_MMC_HC_TRB *Trb 680 IN SD_MMC_HC_TRB *Trb 697 IN SD_MMC_HC_TRB *Trb 713 IN SD_MMC_HC_TRB *Trb 730 IN SD_MMC_HC_TRB *Trb 746 IN SD_MMC_HC_TRB *Trb
|
/device/linaro/bootloader/OpenPlatformPkg/Drivers/SdMmc/DwMmcHcDxe/ |
D | DwMmcHci.c | 958 IN DW_MMC_HC_TRB *Trb in DwMmcHcStartDma() argument 966 PciIo = Trb->Private->PciIo; in DwMmcHcStartDma() 970 Status = DwMmcHcRwMmio (PciIo, Trb->Slot, DW_MMC_CTRL, FALSE, sizeof (Ctrl), &Ctrl); in DwMmcHcStartDma() 977 Trb->Slot, in DwMmcHcStartDma() 989 Status = DwMmcHcOrMmio (PciIo, Trb->Slot, DW_MMC_BMOD, sizeof (Bmod), &Bmod); in DwMmcHcStartDma() 997 Status = DwMmcHcOrMmio (PciIo, Trb->Slot, DW_MMC_CTRL, sizeof (Ctrl), &Ctrl); in DwMmcHcStartDma() 1005 Status = DwMmcHcOrMmio (PciIo, Trb->Slot, DW_MMC_BMOD, sizeof (Bmod), &Bmod); in DwMmcHcStartDma() 1016 IN DW_MMC_HC_TRB *Trb in DwMmcHcStopDma() argument 1024 PciIo = Trb->Private->PciIo; in DwMmcHcStopDma() 1027 Status = DwMmcHcRwMmio (PciIo, Trb->Slot, DW_MMC_CTRL, TRUE, sizeof (Ctrl), &Ctrl); in DwMmcHcStopDma() [all …]
|
D | DwMmcHcDxe.c | 152 DW_MMC_HC_TRB *Trb; in ProcessAsyncTaskList() local 164 Trb = NULL; in ProcessAsyncTaskList() 167 Trb = DW_MMC_HC_TRB_FROM_THIS (Link); in ProcessAsyncTaskList() 168 if (!Private->Slot[Trb->Slot].MediaPresent) { in ProcessAsyncTaskList() 172 if (!Trb->Started) { in ProcessAsyncTaskList() 176 Status = DwMmcCheckTrbEnv (Private, Trb); in ProcessAsyncTaskList() 178 Trb->Started = TRUE; in ProcessAsyncTaskList() 179 Status = DwMmcExecTrb (Private, Trb); in ProcessAsyncTaskList() 187 Status = DwMmcCheckTrbResult (Private, Trb); in ProcessAsyncTaskList() 191 if ((Trb != NULL) && (Status == EFI_NOT_READY)) { in ProcessAsyncTaskList() [all …]
|
D | DwMmcHcDxe.h | 658 IN DW_MMC_HC_TRB *Trb 675 IN DW_MMC_HC_TRB *Trb 692 IN DW_MMC_HC_TRB *Trb 708 IN DW_MMC_HC_TRB *Trb 725 IN DW_MMC_HC_TRB *Trb 741 IN DW_MMC_HC_TRB *Trb
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/SdBlockIoPei/ |
D | SdHci.c | 922 IN SD_TRB *Trb in BuildAdmaDescTable() argument 932 Data = (EFI_PHYSICAL_ADDRESS)(UINTN)Trb->Data; in BuildAdmaDescTable() 933 DataLen = Trb->DataLen; in BuildAdmaDescTable() 950 Trb->AdmaDescSize = (UINTN)MultU64x32 (Entries, sizeof (SD_HC_ADMA_DESC_LINE)); in BuildAdmaDescTable() 951 Trb->AdmaDesc = SdPeimAllocateMem (Trb->Slot->Private->Pool, Trb->AdmaDescSize); in BuildAdmaDescTable() 952 if (Trb->AdmaDesc == NULL) { in BuildAdmaDescTable() 960 Trb->AdmaDesc[Index].Valid = 1; in BuildAdmaDescTable() 961 Trb->AdmaDesc[Index].Act = 2; in BuildAdmaDescTable() 962 Trb->AdmaDesc[Index].Length = (UINT16)Remaining; in BuildAdmaDescTable() 963 Trb->AdmaDesc[Index].Address = Address; in BuildAdmaDescTable() [all …]
|
D | SdHci.h | 352 IN SD_TRB *Trb
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/EmmcBlockIoPei/ |
D | EmmcHci.c | 922 IN EMMC_TRB *Trb in BuildAdmaDescTable() argument 932 Data = (EFI_PHYSICAL_ADDRESS)(UINTN)Trb->Data; in BuildAdmaDescTable() 933 DataLen = Trb->DataLen; in BuildAdmaDescTable() 950 Trb->AdmaDescSize = (UINTN)MultU64x32 (Entries, sizeof (EMMC_HC_ADMA_DESC_LINE)); in BuildAdmaDescTable() 951 Trb->AdmaDesc = EmmcPeimAllocateMem (Trb->Slot->Private->Pool, Trb->AdmaDescSize); in BuildAdmaDescTable() 952 if (Trb->AdmaDesc == NULL) { in BuildAdmaDescTable() 960 Trb->AdmaDesc[Index].Valid = 1; in BuildAdmaDescTable() 961 Trb->AdmaDesc[Index].Act = 2; in BuildAdmaDescTable() 962 Trb->AdmaDesc[Index].Length = (UINT16)Remaining; in BuildAdmaDescTable() 963 Trb->AdmaDesc[Index].Address = Address; in BuildAdmaDescTable() [all …]
|
D | EmmcHci.h | 341 IN EMMC_TRB *Trb
|
/device/linaro/bootloader/edk2/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/ |
D | DebugCommunicationLibUsb3Transfer.c | 185 IN TRB_TEMPLATE *Trb in IsTrbInTrsRing() argument 196 if (Trb == CheckedTrb) { in IsTrbInTrsRing() 359 TRB_TEMPLATE *Trb; in XhcExecTransfer() local 393 Ring->RingEnqueue = Urb->Trb; in XhcExecTransfer() 397 Trb = (TRB_TEMPLATE *)(UINTN) Urb->Trb; in XhcExecTransfer() 398 Trb->CycleBit = ((~Ring->RingPCS) & BIT0); in XhcExecTransfer() 423 TRB *Trb; in XhcCreateTransferTrb() local 434 Urb->Trb = EPRing->RingEnqueue; in XhcCreateTransferTrb() 435 Trb = (TRB *)(UINTN)EPRing->RingEnqueue; in XhcCreateTransferTrb() 436 Trb->TrbNormal.TRBPtrLo = XHC_LOW_32BIT (Urb->Data); in XhcCreateTransferTrb() [all …]
|
D | DebugCommunicationLibUsb3Internal.h | 450 EFI_PHYSICAL_ADDRESS Trb; member
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciDxe/ |
D | XhciSched.c | 993 IN TRB_TEMPLATE *Trb, in IsAsyncIntTrb() argument 1007 if (Trb == CheckedTrb) { in IsAsyncIntTrb() 1037 IN TRB_TEMPLATE *Trb, in IsTransferRingTrb() argument 1049 if (Trb == CheckedTrb) { in IsTransferRingTrb()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciPei/ |
D | XhciSched.c | 557 IN TRB_TEMPLATE *Trb, in XhcPeiIsTransferRingTrb() argument 569 if (Trb == CheckedTrb) { in XhcPeiIsTransferRingTrb()
|