Searched refs:clkc (Results 1 - 6 of 6) sorted by relevance

/linux-4.1.27/arch/frv/kernel/
H A Dpm.c215 unsigned long flags, clkc; try_set_p0() local
225 clkc = __get_CLKC(); try_set_p0()
227 clkc |= CLKC_P0; try_set_p0()
229 clkc &= ~CLKC_P0; try_set_p0()
230 __set_CLKC(clkc); try_set_p0()
245 unsigned long flags, clkc; try_set_cm() local
255 clkc = __get_CLKC(); try_set_cm()
256 clkc &= ~CLKC_CM; try_set_cm()
257 clkc |= new_cm; try_set_cm()
258 __set_CLKC(clkc); try_set_cm()
H A Dsetup.c526 unsigned long clkc, psr, quot; determine_clocks() local
528 clkc = __get_CLKC(); determine_clocks()
531 clock_p0_current = !!(clkc & CLKC_P0); determine_clocks()
532 clock_cm_current = clkc & CLKC_CM; determine_clocks()
533 clock_cmode_current = (clkc & CLKC_CMODE) >> CLKC_CMODE_s; determine_clocks()
536 printk("psr=%08lx hsr0=%08lx clkc=%08lx\n", psr, __get_HSR(0), clkc); determine_clocks()
572 tmode = &clock_cmodes[(clkc & CLKC_CMODE) >> CLKC_CMODE_s]; determine_clocks()
586 switch (clkc & CLKC_CM) { determine_clocks()
597 printk("Unsupported CLKC CM %ld\n", clkc & CLKC_CM); determine_clocks()
602 if (clkc & CLKC_P0) determine_clocks()
633 if (__serial_clock_speed_HZ > 32000000 && !(clkc & CLKC_P0)) determine_clocks()
/linux-4.1.27/arch/arm/mach-prima2/
H A Dplatsmp.c44 { .compatible = "sirf,atlas7-clkc" },
62 * write the address of secondary startup into the clkc register sirfsoc_boot_secondary()
64 * clkc register at offset 0x2b8, which is what boot rom code is sirfsoc_boot_secondary()
/linux-4.1.27/drivers/clk/sirf/
H A Dclk-atlas6.c131 panic("unable to map clkc registers\n"); atlas6_clk_init()
153 CLK_OF_DECLARE(atlas6_clk, "sirf,atlas6-clkc", atlas6_clk_init);
H A Dclk-prima2.c130 panic("unable to map clkc registers\n"); prima2_clk_init()
152 CLK_OF_DECLARE(prima2_clk, "sirf,prima2-clkc", prima2_clk_init);
/linux-4.1.27/drivers/clk/zynq/
H A Dclkc.c583 CLK_OF_DECLARE(zynq_clkc, "xlnx,ps7-clkc", zynq_clk_setup);
591 np = of_find_compatible_node(NULL, NULL, "xlnx,ps7-clkc"); zynq_clock_init()
593 pr_err("%s: clkc node not found\n", __func__); zynq_clock_init()
612 pr_info("%s: clkc starts at %p\n", __func__, zynq_clkc_base); zynq_clock_init()

Completed in 234 milliseconds