Searched refs:xclkcfg (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.10/drivers/clk/pxa/ |
D | clk-pxa3xx.c | 221 unsigned long xclkcfg; in clk_pxa3xx_core_get_parent() local 228 __asm__ __volatile__("mrc\tp14, 0, %0, c6, c0, 0" : "=r"(xclkcfg)); in clk_pxa3xx_core_get_parent() 229 t = xclkcfg & 0x1; in clk_pxa3xx_core_get_parent() 243 unsigned int t, xclkcfg; in clk_pxa3xx_run_get_rate() local 246 __asm__ __volatile__("mrc\tp14, 0, %0, c6, c0, 0" : "=r"(xclkcfg)); in clk_pxa3xx_run_get_rate() 247 t = xclkcfg & 0x1; in clk_pxa3xx_run_get_rate() 260 unsigned int t, xclkcfg; in clk_pxa3xx_cpll_get_rate() local 263 __asm__ __volatile__("mrc\tp14, 0, %0, c6, c0, 0" : "=r"(xclkcfg)); in clk_pxa3xx_cpll_get_rate() 264 t = xclkcfg & 0x1; in clk_pxa3xx_cpll_get_rate()
|
/Linux-v5.10/drivers/cpufreq/ |
D | pxa3xx-cpufreq.c | 116 uint32_t xclkcfg; in __update_core_freq() local 124 xclkcfg = (info->core_xn == 2) ? 0x3 : 0x2; /* turbo bit */ in __update_core_freq() 127 __asm__("mcr p14, 0, %0, c6, c0, 0\n" : : "r"(xclkcfg)); in __update_core_freq()
|