Home
last modified time | relevance | path

Searched refs:clk_ctrl (Results 1 – 7 of 7) sorted by relevance

/linux-2.6.39/arch/sparc/kernel/
Dtadpole.c20 static volatile unsigned char *clk_ctrl; variable
41 "r" (clk_ctrl) : in clk_init()
55 "r" (clk_ctrl) : in clk_slow()
67 if (!clk_ctrl) in tsu_clockstop()
76 if (!(clk_ctrl[2] & 1)) in tsu_clockstop()
96 if (!clk_ctrl) in swift_clockstop()
98 clk_ctrl[0] = 0; in swift_clockstop()
116 clk_ctrl = (char *) prom_getint(clk_nd, "address"); in clock_stop_probe()
/linux-2.6.39/arch/cris/arch-v32/mach-a3/
Dcpufreq.c25 reg_clkgen_rw_clk_ctrl clk_ctrl; in cris_freq_get_cpu_frequency() local
26 clk_ctrl = REG_RD(clkgen, regi_clkgen, rw_clk_ctrl); in cris_freq_get_cpu_frequency()
27 return clk_ctrl.pll ? 200000 : 6000; in cris_freq_get_cpu_frequency()
34 reg_clkgen_rw_clk_ctrl clk_ctrl; in cris_freq_set_cpu_state() local
35 clk_ctrl = REG_RD(clkgen, regi_clkgen, rw_clk_ctrl); in cris_freq_set_cpu_state()
53 clk_ctrl.pll = 1; in cris_freq_set_cpu_state()
55 clk_ctrl.pll = 0; in cris_freq_set_cpu_state()
56 REG_WR(clkgen, regi_clkgen, rw_clk_ctrl, clk_ctrl); in cris_freq_set_cpu_state()
Ddma.c24 reg_clkgen_rw_clk_ctrl clk_ctrl; in crisv32_request_dma() local
48 clk_ctrl = REG_RD(clkgen, regi_clkgen, rw_clk_ctrl); in crisv32_request_dma()
54 clk_ctrl.dma0_1_eth = 1; in crisv32_request_dma()
58 clk_ctrl.dma2_3_strcop = 1; in crisv32_request_dma()
62 clk_ctrl.dma4_5_iop = 1; in crisv32_request_dma()
66 clk_ctrl.sser_ser_dma6_7 = 1; in crisv32_request_dma()
70 clk_ctrl.dma9_11 = 1; in crisv32_request_dma()
174 REG_WR(clkgen, regi_clkgen, rw_clk_ctrl, clk_ctrl); in crisv32_request_dma()
Dpinmux.c97 reg_clkgen_rw_clk_ctrl clk_ctrl = REG_RD(clkgen, regi_clkgen, in crisv32_pinmux_alloc_fixed() local
102 clk_ctrl.eth = regk_clkgen_yes; in crisv32_pinmux_alloc_fixed()
103 clk_ctrl.dma0_1_eth = regk_clkgen_yes; in crisv32_pinmux_alloc_fixed()
113 clk_ctrl.ccd_tg_100 = clk_ctrl.ccd_tg_200 = regk_clkgen_yes; in crisv32_pinmux_alloc_fixed()
118 clk_ctrl.ccd_tg_100 = clk_ctrl.ccd_tg_200 = regk_clkgen_yes; in crisv32_pinmux_alloc_fixed()
124 clk_ctrl.strdma0_2_video = regk_clkgen_yes; in crisv32_pinmux_alloc_fixed()
129 clk_ctrl.sser_ser_dma6_7 = regk_clkgen_yes; in crisv32_pinmux_alloc_fixed()
134 clk_ctrl.sser_ser_dma6_7 = regk_clkgen_yes; in crisv32_pinmux_alloc_fixed()
139 clk_ctrl.sser_ser_dma6_7 = regk_clkgen_yes; in crisv32_pinmux_alloc_fixed()
144 clk_ctrl.sser_ser_dma6_7 = regk_clkgen_yes; in crisv32_pinmux_alloc_fixed()
[all …]
/linux-2.6.39/arch/cris/arch-v32/mach-fs/
Dcpufreq.c25 reg_config_rw_clk_ctrl clk_ctrl; in cris_freq_get_cpu_frequency() local
26 clk_ctrl = REG_RD(config, regi_config, rw_clk_ctrl); in cris_freq_get_cpu_frequency()
27 return clk_ctrl.pll ? 200000 : 6000; in cris_freq_get_cpu_frequency()
34 reg_config_rw_clk_ctrl clk_ctrl; in cris_freq_set_cpu_state() local
35 clk_ctrl = REG_RD(config, regi_config, rw_clk_ctrl); in cris_freq_set_cpu_state()
50 clk_ctrl.pll = 1; in cris_freq_set_cpu_state()
52 clk_ctrl.pll = 0; in cris_freq_set_cpu_state()
53 REG_WR(config, regi_config, rw_clk_ctrl, clk_ctrl); in cris_freq_set_cpu_state()
Ddma.c25 reg_config_rw_clk_ctrl clk_ctrl; in crisv32_request_dma() local
50 clk_ctrl = REG_RD(config, regi_config, rw_clk_ctrl); in crisv32_request_dma()
56 clk_ctrl.dma01_eth0 = 1; in crisv32_request_dma()
60 clk_ctrl.dma23 = 1; in crisv32_request_dma()
64 clk_ctrl.dma45 = 1; in crisv32_request_dma()
68 clk_ctrl.dma67 = 1; in crisv32_request_dma()
72 clk_ctrl.dma89_strcop = 1; in crisv32_request_dma()
219 REG_WR(config, regi_config, rw_clk_ctrl, clk_ctrl); in crisv32_request_dma()
/linux-2.6.39/arch/cris/boot/compressed/
Dmisc.c291 reg_clkgen_rw_clk_ctrl clk_ctrl; in decompress_kernel() local
295 clk_ctrl = REG_RD(clkgen, regi_clkgen, rw_clk_ctrl); in decompress_kernel()
296 clk_ctrl.sser_ser_dma6_7 = regk_clkgen_yes; in decompress_kernel()
297 REG_WR(clkgen, regi_clkgen, rw_clk_ctrl, clk_ctrl); in decompress_kernel()