Lines Matching refs:scratch32
77 u32 scratch32; in sdhci_o2_wait_card_detect_stable() local
84 scratch32 = sdhci_readl(host, SDHCI_PRESENT_STATE); in sdhci_o2_wait_card_detect_stable()
85 if ((scratch32 & SDHCI_CARD_PRESENT) >> SDHCI_CARD_PRES_SHIFT in sdhci_o2_wait_card_detect_stable()
86 == (scratch32 & SDHCI_CD_LVL) >> SDHCI_CD_LVL_SHIFT) in sdhci_o2_wait_card_detect_stable()
103 u32 scratch32; in sdhci_o2_enable_internal_clock() local
106 scratch32 = sdhci_readl(host, O2_PLL_DLL_WDT_CONTROL1); in sdhci_o2_enable_internal_clock()
107 scratch32 |= O2_PLL_SOFT_RESET; in sdhci_o2_enable_internal_clock()
108 sdhci_writel(host, scratch32, O2_PLL_DLL_WDT_CONTROL1); in sdhci_o2_enable_internal_clock()
110 scratch32 &= ~(O2_PLL_SOFT_RESET); in sdhci_o2_enable_internal_clock()
111 sdhci_writel(host, scratch32, O2_PLL_DLL_WDT_CONTROL1); in sdhci_o2_enable_internal_clock()
114 scratch32 |= O2_PLL_FORCE_ACTIVE; in sdhci_o2_enable_internal_clock()
115 sdhci_writel(host, scratch32, O2_PLL_DLL_WDT_CONTROL1); in sdhci_o2_enable_internal_clock()
140 scratch32 = sdhci_readl(host, O2_PLL_DLL_WDT_CONTROL1); in sdhci_o2_enable_internal_clock()
141 scratch32 &= ~O2_PLL_FORCE_ACTIVE; in sdhci_o2_enable_internal_clock()
142 sdhci_writel(host, scratch32, O2_PLL_DLL_WDT_CONTROL1); in sdhci_o2_enable_internal_clock()
184 u32 scratch32 = 0; in sdhci_o2_wait_dll_detect_lock() local
187 scratch32, !(scratch32 & O2_DLL_LOCK_STATUS), 1, 1000000); in sdhci_o2_wait_dll_detect_lock()
308 u32 scratch32 = 0; in sdhci_o2_execute_tuning() local
330 scratch32, (scratch32 & O2_DLL_LOCK_STATUS), 1, 5000)) in sdhci_o2_execute_tuning()