Home
last modified time | relevance | path

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

/arch/arm/mach-imx/
Dpm-imx27.c17 u32 cscr; in mx27_suspend_enter() local
21 cscr = __raw_readl(MX27_IO_ADDRESS(MX27_CCM_BASE_ADDR)); in mx27_suspend_enter()
22 cscr &= 0xFFFFFFFC; in mx27_suspend_enter()
23 __raw_writel(cscr, MX27_IO_ADDRESS(MX27_CCM_BASE_ADDR)); in mx27_suspend_enter()
Dclock-imx27.c124 int cscr = __raw_readl(CCM_CSCR); in clk_cpu_set_parent() local
131 cscr |= CCM_CSCR_ARM_SRC; in clk_cpu_set_parent()
134 cscr &= ~CCM_CSCR_ARM_SRC; in clk_cpu_set_parent()
138 __raw_writel(cscr, CCM_CSCR); in clk_cpu_set_parent()
687 unsigned long cscr = __raw_readl(CCM_CSCR); in to2_adjust_clocks() local
690 if (cscr & CCM_CSCR_ARM_SRC) in to2_adjust_clocks()
693 if (!(cscr & CCM_CSCR_SSI2)) in to2_adjust_clocks()
696 if (!(cscr & CCM_CSCR_SSI1)) in to2_adjust_clocks()
699 if (!(cscr & CCM_CSCR_VPU)) in to2_adjust_clocks()
726 u32 cscr = __raw_readl(CCM_CSCR); in mx27_clocks_init() local
[all …]
Dclock-imx21.c1202 u32 cscr; in mx21_clocks_init() local
1208 cscr = CSCR(); in mx21_clocks_init()
1209 if (cscr & CCM_CSCR_MCU) in mx21_clocks_init()
1214 if (cscr & CCM_CSCR_SP) in mx21_clocks_init()
/arch/h8300/kernel/
Dsetup.c188 volatile unsigned char *cscr = (volatile unsigned char *)CSCR; in setup_arch() local
190 *cscr |= (AREABIT(CONFIG_H8300_IDE_BASE) | AREABIT(CONFIG_H8300_IDE_ALT)) | 0x0f; in setup_arch()