Searched refs:dt_clk (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/drivers/clk/tegra/
H A Dclk-tegra-fixed.c39 struct clk **dt_clk; tegra_osc_clk_init() local
59 dt_clk = tegra_lookup_dt_id(tegra_clk_clk_m, clks); tegra_osc_clk_init()
60 if (!dt_clk) tegra_osc_clk_init()
65 *dt_clk = clk; tegra_osc_clk_init()
70 dt_clk = tegra_lookup_dt_id(tegra_clk_pll_ref, clks); tegra_osc_clk_init()
71 if (!dt_clk) tegra_osc_clk_init()
76 *dt_clk = clk; tegra_osc_clk_init()
87 struct clk **dt_clk; tegra_fixed_clk_init() local
90 dt_clk = tegra_lookup_dt_id(tegra_clk_clk_32k, tegra_clks); tegra_fixed_clk_init()
91 if (dt_clk) { tegra_fixed_clk_init()
94 *dt_clk = clk; tegra_fixed_clk_init()
98 dt_clk = tegra_lookup_dt_id(tegra_clk_clk_m_div2, tegra_clks); tegra_fixed_clk_init()
99 if (dt_clk) { tegra_fixed_clk_init()
102 *dt_clk = clk; tegra_fixed_clk_init()
106 dt_clk = tegra_lookup_dt_id(tegra_clk_clk_m_div4, tegra_clks); tegra_fixed_clk_init()
107 if (dt_clk) { tegra_fixed_clk_init()
110 *dt_clk = clk; tegra_fixed_clk_init()
H A Dclk-tegra-super-gen4.c57 struct clk **dt_clk; tegra_sclk_init() local
60 dt_clk = tegra_lookup_dt_id(tegra_clk_sclk, tegra_clks); tegra_sclk_init()
61 if (dt_clk) { tegra_sclk_init()
67 *dt_clk = clk; tegra_sclk_init()
71 dt_clk = tegra_lookup_dt_id(tegra_clk_hclk, tegra_clks); tegra_sclk_init()
72 if (dt_clk) { tegra_sclk_init()
80 *dt_clk = clk; tegra_sclk_init()
84 dt_clk = tegra_lookup_dt_id(tegra_clk_pclk, tegra_clks); tegra_sclk_init()
85 if (!dt_clk) tegra_sclk_init()
94 *dt_clk = clk; tegra_sclk_init()
103 struct clk **dt_clk; tegra_super_clk_gen4_init() local
106 dt_clk = tegra_lookup_dt_id(tegra_clk_cclk_g, tegra_clks); tegra_super_clk_gen4_init()
107 if (dt_clk) { tegra_super_clk_gen4_init()
113 *dt_clk = clk; tegra_super_clk_gen4_init()
117 dt_clk = tegra_lookup_dt_id(tegra_clk_cclk_lp, tegra_clks); tegra_super_clk_gen4_init()
118 if (dt_clk) { tegra_super_clk_gen4_init()
124 *dt_clk = clk; tegra_super_clk_gen4_init()
131 dt_clk = tegra_lookup_dt_id(tegra_clk_pll_x, tegra_clks); tegra_super_clk_gen4_init()
132 if (!dt_clk) tegra_super_clk_gen4_init()
137 *dt_clk = clk; tegra_super_clk_gen4_init()
141 dt_clk = tegra_lookup_dt_id(tegra_clk_pll_x_out0, tegra_clks); tegra_super_clk_gen4_init()
142 if (!dt_clk) tegra_super_clk_gen4_init()
146 *dt_clk = clk; tegra_super_clk_gen4_init()
H A Dclk-tegra-audio.c132 struct clk **dt_clk; tegra_audio_clk_init() local
136 dt_clk = tegra_lookup_dt_id(tegra_clk_pll_a, tegra_clks); tegra_audio_clk_init()
137 if (dt_clk) { tegra_audio_clk_init()
140 *dt_clk = clk; tegra_audio_clk_init()
144 dt_clk = tegra_lookup_dt_id(tegra_clk_pll_a_out0, tegra_clks); tegra_audio_clk_init()
145 if (dt_clk) { tegra_audio_clk_init()
152 *dt_clk = clk; tegra_audio_clk_init()
160 dt_clk = tegra_lookup_dt_id(data->clk_id, tegra_clks); tegra_audio_clk_init()
161 if (!dt_clk) tegra_audio_clk_init()
166 *dt_clk = clk; tegra_audio_clk_init()
173 dt_clk = tegra_lookup_dt_id(data->mux_clk_id, tegra_clks); tegra_audio_clk_init()
175 if (!dt_clk) tegra_audio_clk_init()
182 *dt_clk = clk; tegra_audio_clk_init()
184 dt_clk = tegra_lookup_dt_id(data->gate_clk_id, tegra_clks); tegra_audio_clk_init()
185 if (!dt_clk) tegra_audio_clk_init()
191 *dt_clk = clk; tegra_audio_clk_init()
198 dt_clk = tegra_lookup_dt_id(data->clk_id, tegra_clks); tegra_audio_clk_init()
199 if (!dt_clk) tegra_audio_clk_init()
212 *dt_clk = clk; tegra_audio_clk_init()
H A Dclk-tegra-pmc.c86 struct clk **dt_clk; tegra_pmc_clk_init() local
94 dt_clk = tegra_lookup_dt_id(data->mux_id, tegra_clks); tegra_pmc_clk_init()
95 if (!dt_clk) tegra_pmc_clk_init()
102 *dt_clk = clk; tegra_pmc_clk_init()
105 dt_clk = tegra_lookup_dt_id(data->gate_id, tegra_clks); tegra_pmc_clk_init()
106 if (!dt_clk) tegra_pmc_clk_init()
112 *dt_clk = clk; tegra_pmc_clk_init()
122 dt_clk = tegra_lookup_dt_id(tegra_clk_blink, tegra_clks); tegra_pmc_clk_init()
123 if (!dt_clk) tegra_pmc_clk_init()
130 *dt_clk = clk; tegra_pmc_clk_init()
H A Dclk-tegra-periph.c587 struct clk **dt_clk; periph_clk_init() local
595 dt_clk = tegra_lookup_dt_id(data->clk_id, tegra_clks); periph_clk_init()
596 if (!dt_clk) periph_clk_init()
608 *dt_clk = clk; periph_clk_init()
617 struct clk **dt_clk; gate_clk_init() local
624 dt_clk = tegra_lookup_dt_id(data->clk_id, tegra_clks); gate_clk_init()
625 if (!dt_clk) gate_clk_init()
633 *dt_clk = clk; gate_clk_init()
642 struct clk **dt_clk; init_pllp() local
645 dt_clk = tegra_lookup_dt_id(tegra_clk_pll_p, tegra_clks); init_pllp()
646 if (dt_clk) { init_pllp()
651 *dt_clk = clk; init_pllp()
659 dt_clk = tegra_lookup_dt_id(data->clk_id, tegra_clks); init_pllp()
660 if (!dt_clk) init_pllp()
671 *dt_clk = clk; init_pllp()

Completed in 104 milliseconds