Searched refs:xclkcfg (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/clk/pxa/ |
D | clk-pxa3xx.c | 224 unsigned long xclkcfg; in clk_pxa3xx_core_get_parent() local 231 __asm__ __volatile__("mrc\tp14, 0, %0, c6, c0, 0" : "=r"(xclkcfg)); in clk_pxa3xx_core_get_parent() 232 t = xclkcfg & 0x1; in clk_pxa3xx_core_get_parent() 246 unsigned int t, xclkcfg; in clk_pxa3xx_run_get_rate() local 249 __asm__ __volatile__("mrc\tp14, 0, %0, c6, c0, 0" : "=r"(xclkcfg)); in clk_pxa3xx_run_get_rate() 250 t = xclkcfg & 0x1; in clk_pxa3xx_run_get_rate() 263 unsigned int t, xclkcfg; in clk_pxa3xx_cpll_get_rate() local 266 __asm__ __volatile__("mrc\tp14, 0, %0, c6, c0, 0" : "=r"(xclkcfg)); in clk_pxa3xx_cpll_get_rate() 267 t = xclkcfg & 0x1; in clk_pxa3xx_cpll_get_rate()
|
/Linux-v4.19/drivers/cpufreq/ |
D | pxa3xx-cpufreq.c | 120 uint32_t xclkcfg; in __update_core_freq() local 128 xclkcfg = (info->core_xn == 2) ? 0x3 : 0x2; /* turbo bit */ in __update_core_freq() 131 __asm__("mcr p14, 0, %0, c6, c0, 0\n" : : "r"(xclkcfg)); in __update_core_freq()
|