Home
last modified time | relevance | path

Searched refs:SettingFreq (Results 1 – 5 of 5) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/
DSdMmcPciHci.c697 UINT32 SettingFreq; in SdMmcHcClockSupply() local
721 SettingFreq = BaseClkFreq * 1000; in SdMmcHcClockSupply()
722 while (ClockFreq < SettingFreq) { in SdMmcHcClockSupply()
725 SettingFreq = (BaseClkFreq * 1000) / (2 * Divisor); in SdMmcHcClockSupply()
727 if ((ClockFreq == SettingFreq) && (Remainder == 0)) { in SdMmcHcClockSupply()
730 if ((ClockFreq == SettingFreq) && (Remainder != 0)) { in SdMmcHcClockSupply()
731 SettingFreq ++; in SdMmcHcClockSupply()
/device/linaro/bootloader/OpenPlatformPkg/Drivers/SdMmc/XenonDxe/
DSdMmcPciHci.c697 UINT32 SettingFreq; in SdMmcHcClockSupply() local
721 SettingFreq = BaseClkFreq * 1000; in SdMmcHcClockSupply()
722 while (ClockFreq < SettingFreq) { in SdMmcHcClockSupply()
725 SettingFreq = (BaseClkFreq * 1000) / (2 * Divisor); in SdMmcHcClockSupply()
727 if ((ClockFreq == SettingFreq) && (Remainder == 0)) { in SdMmcHcClockSupply()
730 if ((ClockFreq == SettingFreq) && (Remainder != 0)) { in SdMmcHcClockSupply()
731 SettingFreq ++; in SdMmcHcClockSupply()
/device/linaro/bootloader/OpenPlatformPkg/Drivers/SdMmc/DwMmcHcDxe/
DDwMmcHci.c642 UINT32 SettingFreq; in DwMmcHcClockSupply() local
667 SettingFreq = BaseClkFreq; in DwMmcHcClockSupply()
668 while (ClockFreq < SettingFreq) { in DwMmcHcClockSupply()
671 SettingFreq = BaseClkFreq / (2 * Divisor); in DwMmcHcClockSupply()
673 if ((ClockFreq == SettingFreq) && (Remainder == 0)) { in DwMmcHcClockSupply()
676 if ((ClockFreq == SettingFreq) && (Remainder != 0)) { in DwMmcHcClockSupply()
677 SettingFreq ++; in DwMmcHcClockSupply()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/SdBlockIoPei/
DSdHci.c522 UINT32 SettingFreq; in SdPeimHcClockSupply() local
551 SettingFreq = BaseClkFreq * 1000; in SdPeimHcClockSupply()
552 while (ClockFreq < SettingFreq) { in SdPeimHcClockSupply()
555 SettingFreq = (BaseClkFreq * 1000) / (2 * Divisor); in SdPeimHcClockSupply()
557 if ((ClockFreq == SettingFreq) && (Remainder == 0)) { in SdPeimHcClockSupply()
560 if ((ClockFreq == SettingFreq) && (Remainder != 0)) { in SdPeimHcClockSupply()
561 SettingFreq ++; in SdPeimHcClockSupply()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/EmmcBlockIoPei/
DEmmcHci.c522 UINT32 SettingFreq; in EmmcPeimHcClockSupply() local
551 SettingFreq = BaseClkFreq * 1000; in EmmcPeimHcClockSupply()
552 while (ClockFreq < SettingFreq) { in EmmcPeimHcClockSupply()
555 SettingFreq = (BaseClkFreq * 1000) / (2 * Divisor); in EmmcPeimHcClockSupply()
557 if ((ClockFreq == SettingFreq) && (Remainder == 0)) { in EmmcPeimHcClockSupply()
560 if ((ClockFreq == SettingFreq) && (Remainder != 0)) { in EmmcPeimHcClockSupply()
561 SettingFreq ++; in EmmcPeimHcClockSupply()