Home
last modified time | relevance | path

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

/linux/drivers/mmc/host/
H A Dsdhci-pci-o2micro.c87 u32 scratch32; in sdhci_o2_wait_card_detect_stable() local
94 scratch32 = sdhci_readl(host, SDHCI_PRESENT_STATE); in sdhci_o2_wait_card_detect_stable()
95 if ((scratch32 & SDHCI_CARD_PRESENT) >> SDHCI_CARD_PRES_SHIFT in sdhci_o2_wait_card_detect_stable()
96 == (scratch32 & SDHCI_CD_LVL) >> SDHCI_CD_LVL_SHIFT) in sdhci_o2_wait_card_detect_stable()
113 u32 scratch32; in sdhci_o2_enable_internal_clock() local
116 scratch32 = sdhci_readl(host, O2_PLL_DLL_WDT_CONTROL1); in sdhci_o2_enable_internal_clock()
117 scratch32 |= O2_PLL_SOFT_RESET; in sdhci_o2_enable_internal_clock()
118 sdhci_writel(host, scratch32, O2_PLL_DLL_WDT_CONTROL1); in sdhci_o2_enable_internal_clock()
120 scratch32 &= ~(O2_PLL_SOFT_RESET); in sdhci_o2_enable_internal_clock()
121 sdhci_writel(host, scratch32, O2_PLL_DLL_WDT_CONTROL1); in sdhci_o2_enable_internal_clock()
[all …]