Home
last modified time | relevance | path

Searched refs:Csd (Results 1 – 20 of 20) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/SdDxe/
DSdDxe.c98 IN SD_CSD *Csd in DumpCsd() argument
104 DEBUG((DEBUG_INFO, " CSD structure 0x%x\n", Csd->CsdStructure)); in DumpCsd()
105 DEBUG((DEBUG_INFO, " Data read access-time 1 0x%x\n", Csd->Taac)); in DumpCsd()
106 DEBUG((DEBUG_INFO, " Data read access-time 2 0x%x\n", Csd->Nsac)); in DumpCsd()
107 DEBUG((DEBUG_INFO, " Max. bus clock frequency 0x%x\n", Csd->TranSpeed)); in DumpCsd()
108 DEBUG((DEBUG_INFO, " Device command classes 0x%x\n", Csd->Ccc)); in DumpCsd()
109 DEBUG((DEBUG_INFO, " Max. read data block length 0x%x\n", Csd->ReadBlLen)); in DumpCsd()
110 DEBUG((DEBUG_INFO, " Partial blocks for read allowed 0x%x\n", Csd->ReadBlPartial)); in DumpCsd()
111 DEBUG((DEBUG_INFO, " Write block misalignment 0x%x\n", Csd->WriteBlkMisalign)); in DumpCsd()
112 DEBUG((DEBUG_INFO, " Read block misalignment 0x%x\n", Csd->ReadBlkMisalign)); in DumpCsd()
[all …]
DSdDxe.h106 SD_CSD Csd; member
451 OUT SD_CSD *Csd
DSdBlockIo.c208 OUT SD_CSD *Csd in SdGetCsd() argument
222 ZeroMem (Csd, sizeof (SD_CSD)); in SdGetCsd()
239 CopyMem (((UINT8*)Csd) + 1, &SdMmcStatusBlk.Resp0, sizeof (SD_CSD) - 1); in SdGetCsd()
/device/linaro/bootloader/edk2/EmbeddedPkg/Universal/MmcDxe/
DMmcDebug.c40 IN UINT32* Csd in PrintCSD() argument
45 if (((Csd[2] >> 30) & 0x3) == 0) { in PrintCSD()
47 } else if (((Csd[2] >> 30) & 0x3) == 1) { in PrintCSD()
53 DEBUG ((EFI_D_ERROR, "\t- Supported card command class: 0x%X\n", MMC_CSD_GET_CCC (Csd))); in PrintCSD()
54 …Speed: %a %a\n",mStrValue[(MMC_CSD_GET_TRANSPEED (Csd) >> 3) & 0xF],mStrUnit[MMC_CSD_GET_TRANSPEED… in PrintCSD()
55 DEBUG ((EFI_D_ERROR, "\t- Maximum Read Data Block: %d\n",2 << (MMC_CSD_GET_READBLLEN (Csd)-1))); in PrintCSD()
56 DEBUG ((EFI_D_ERROR, "\t- Maximum Write Data Block: %d\n",2 << (MMC_CSD_GET_WRITEBLLEN (Csd)-1))); in PrintCSD()
58 if (!MMC_CSD_GET_FILEFORMATGRP (Csd)) { in PrintCSD()
59 Value = MMC_CSD_GET_FILEFORMAT (Csd); in PrintCSD()
DMmc.h531 IN UINT32* Csd
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/EmmcDxe/
DEmmcDxe.c92 IN EMMC_CSD *Csd in DumpCsd() argument
96 DEBUG((DEBUG_INFO, " CSD structure 0x%x\n", Csd->CsdStructure)); in DumpCsd()
97 DEBUG((DEBUG_INFO, " System specification version 0x%x\n", Csd->SpecVers)); in DumpCsd()
98 DEBUG((DEBUG_INFO, " Data read access-time 1 0x%x\n", Csd->Taac)); in DumpCsd()
99 DEBUG((DEBUG_INFO, " Data read access-time 2 0x%x\n", Csd->Nsac)); in DumpCsd()
100 DEBUG((DEBUG_INFO, " Max. bus clock frequency 0x%x\n", Csd->TranSpeed)); in DumpCsd()
101 DEBUG((DEBUG_INFO, " Device command classes 0x%x\n", Csd->Ccc)); in DumpCsd()
102 DEBUG((DEBUG_INFO, " Max. read data block length 0x%x\n", Csd->ReadBlLen)); in DumpCsd()
103 DEBUG((DEBUG_INFO, " Partial blocks for read allowed 0x%x\n", Csd->ReadBlPartial)); in DumpCsd()
104 DEBUG((DEBUG_INFO, " Write block misalignment 0x%x\n", Csd->WriteBlkMisalign)); in DumpCsd()
[all …]
DEmmcDxe.h128 EMMC_CSD Csd; member
460 OUT EMMC_CSD *Csd
DEmmcBlockIo.c166 OUT EMMC_CSD *Csd in EmmcGetCsd() argument
180 ZeroMem (Csd, sizeof (EMMC_CSD)); in EmmcGetCsd()
196 CopyMem (((UINT8*)Csd) + 1, &SdMmcStatusBlk.Resp0, sizeof (EMMC_CSD) - 1); in EmmcGetCsd()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/SdBlockIoPei/
DSdBlockIoPei.c496 SD_CSD *Csd; in InitializeSdBlockIoPeim() local
590 Csd = &Slot->Csd; in InitializeSdBlockIoPeim()
591 if (Csd->CsdStructure == 0) { in InitializeSdBlockIoPeim()
593 CSize = (Csd->CSizeHigh << 2 | Csd->CSizeLow) + 1; in InitializeSdBlockIoPeim()
594 CSizeMul = (1 << (Csd->CSizeMul + 2)); in InitializeSdBlockIoPeim()
595 ReadBlLen = (1 << (Csd->ReadBlLen)); in InitializeSdBlockIoPeim()
599 Csd2 = (SD_CSD2*)(VOID*)Csd; in InitializeSdBlockIoPeim()
DSdBlockIoPei.h51 SD_CSD Csd; member
DSdHci.c2010 OUT SD_CSD *Csd in SdPeimGetCsd() argument
2036 CopyMem (((UINT8*)Csd) + 1, &SdStatusBlk.Resp0, sizeof (SD_CSD) - 1); in SdPeimGetCsd()
2623 Status = SdPeimGetCsd (Slot, Rca, &Slot->Csd); in SdPeimSetBusMode()
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellCommandLib/
DConsistMapping.c40 POOL_PRINT Csd; member
209 Status = CatPrint (&MappingItem->Csd, L"%ld", Num); in AppendCSDNum()
211 Status = AppendCSDNum2 (&MappingItem->Csd, Num); in AppendCSDNum()
260 Status = CatPrint (&MappingItem->Csd, L"%c", *Index); in AppendCSDStr()
264 Status = CatPrint (&MappingItem->Csd, L"16"); in AppendCSDStr()
273 Status = CatPrint (&MappingItem->Csd, L"1%c", *Index - 'a' + '0'); in AppendCSDStr()
282 Status = CatPrint (&MappingItem->Csd, L"1%c", *Index - 'A' + '0'); in AppendCSDStr()
298 Status = CatPrint (&MappingItem->Csd, L"%c", *Index - '0' + 'a'); in AppendCSDStr()
300 Status = CatPrint (&MappingItem->Csd, L"%c", *Index - 'a' + 'k'); in AppendCSDStr()
302 Status = CatPrint (&MappingItem->Csd, L"%c", *Index - 'A' + 'k'); in AppendCSDStr()
[all …]
/device/linaro/bootloader/OpenPlatformPkg/Drivers/SdMmc/DwMmcHcDxe/
DEmmcDevice.c235 OUT EMMC_CSD *Csd in EmmcGetCsd() argument
261 CopyMem ((VOID *)Csd + 1, &SdMmcStatusBlk.Resp0, sizeof (EMMC_CSD) - 1); in EmmcGetCsd()
837 EMMC_CSD Csd; in EmmcSetBusMode() local
849 Status = EmmcGetCsd (PassThru, Slot, Rca, &Csd); in EmmcSetBusMode()
DSdDevice.c343 OUT SD_CSD *Csd in SdCardGetCsd() argument
369 CopyMem (((UINT8*)Csd) + 1, &SdMmcStatusBlk.Resp0, sizeof (SD_CSD) - 1); in SdCardGetCsd()
930 SD_CSD Csd; in SdCardIdentification() local
1014 Status = SdCardGetCsd (PassThru, Slot, Rca, &Csd); in SdCardIdentification()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/EmmcBlockIoPei/
DEmmcBlockIoPei.h54 EMMC_CSD Csd; member
DEmmcHci.c1881 OUT EMMC_CSD *Csd in EmmcPeimGetCsd() argument
1907 CopyMem (((UINT8*)Csd) + 1, &EmmcStatusBlk.Resp0, sizeof (EMMC_CSD) - 1); in EmmcPeimGetCsd()
2708 Status = EmmcPeimGetCsd (Slot, Rca, &Slot->Csd); in EmmcPeimSetBusMode()
2714 if ((Slot->Csd.CSizeLow | Slot->Csd.CSizeHigh << 2) == 0xFFF) { in EmmcPeimSetBusMode()
/device/linaro/bootloader/OpenPlatformPkg/Drivers/SdMmc/XenonDxe/
DEmmcDevice.c219 OUT EMMC_CSD *Csd in EmmcGetCsd() argument
245 CopyMem (((UINT8*)Csd) + 1, &SdMmcStatusBlk.Resp0, sizeof (EMMC_CSD) - 1); in EmmcGetCsd()
986 EMMC_CSD Csd; in EmmcSetBusMode() local
996 Status = EmmcGetCsd (PassThru, Slot, Rca, &Csd); in EmmcSetBusMode()
DSdDevice.c343 OUT SD_CSD *Csd in SdCardGetCsd() argument
369 CopyMem (((UINT8*)Csd) + 1, &SdMmcStatusBlk.Resp0, sizeof (SD_CSD) - 1); in SdCardGetCsd()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/
DEmmcDevice.c219 OUT EMMC_CSD *Csd in EmmcGetCsd() argument
245 CopyMem (((UINT8*)Csd) + 1, &SdMmcStatusBlk.Resp0, sizeof (EMMC_CSD) - 1); in EmmcGetCsd()
986 EMMC_CSD Csd; in EmmcSetBusMode() local
996 Status = EmmcGetCsd (PassThru, Slot, Rca, &Csd); in EmmcSetBusMode()
DSdDevice.c343 OUT SD_CSD *Csd in SdCardGetCsd() argument
369 CopyMem (((UINT8*)Csd) + 1, &SdMmcStatusBlk.Resp0, sizeof (SD_CSD) - 1); in SdCardGetCsd()