Home
last modified time | relevance | path

Searched refs:parent_map (Results 1 – 25 of 35) sorted by relevance

12

/linux-4.19.296/drivers/clk/qcom/
Dgcc-msm8974.c43 static const struct parent_map gcc_xo_gpll0_map[] = {
53 static const struct parent_map gcc_xo_gpll0_gpll4_map[] = {
95 .parent_map = gcc_xo_gpll0_map,
107 .parent_map = gcc_xo_gpll0_map,
119 .parent_map = gcc_xo_gpll0_map,
191 .parent_map = gcc_xo_gpll0_map,
211 .parent_map = gcc_xo_gpll0_map,
236 .parent_map = gcc_xo_gpll0_map,
249 .parent_map = gcc_xo_gpll0_map,
263 .parent_map = gcc_xo_gpll0_map,
[all …]
Dgcc-msm8994.c38 static const struct parent_map gcc_xo_gpll0_map[] = {
48 static const struct parent_map gcc_xo_gpll0_gpll4_map[] = {
143 .parent_map = gcc_xo_gpll0_map,
164 .parent_map = gcc_xo_gpll0_map,
184 .parent_map = gcc_xo_gpll0_map,
212 .parent_map = gcc_xo_gpll0_map,
226 .parent_map = gcc_xo_gpll0_map,
241 .parent_map = gcc_xo_gpll0_map,
255 .parent_map = gcc_xo_gpll0_map,
270 .parent_map = gcc_xo_gpll0_map,
[all …]
Dgcc-apq8084.c47 static const struct parent_map gcc_xo_gpll0_map[] = {
57 static const struct parent_map gcc_xo_gpll0_gpll4_map[] = {
69 static const struct parent_map gcc_xo_sata_asic0_map[] = {
79 static const struct parent_map gcc_xo_sata_rx_map[] = {
89 static const struct parent_map gcc_xo_pcie_map[] = {
99 static const struct parent_map gcc_xo_pcie_sleep_map[] = {
139 .parent_map = gcc_xo_gpll0_map,
151 .parent_map = gcc_xo_gpll0_map,
163 .parent_map = gcc_xo_gpll0_map,
237 .parent_map = gcc_xo_gpll0_map,
[all …]
Dgcc-msm8916.c53 static const struct parent_map gcc_xo_gpll0_map[] = {
63 static const struct parent_map gcc_xo_gpll0_bimc_map[] = {
75 static const struct parent_map gcc_xo_gpll0a_gpll1_gpll2a_map[] = {
89 static const struct parent_map gcc_xo_gpll0_gpll2_map[] = {
101 static const struct parent_map gcc_xo_gpll0a_map[] = {
111 static const struct parent_map gcc_xo_gpll0_gpll1a_sleep_map[] = {
125 static const struct parent_map gcc_xo_gpll0_gpll1a_map[] = {
137 static const struct parent_map gcc_xo_dsibyte_map[] = {
147 static const struct parent_map gcc_xo_gpll0a_dsibyte_map[] = {
159 static const struct parent_map gcc_xo_gpll0_dsiphy_map[] = {
[all …]
Dgcc-msm8996.c49 static const struct parent_map gcc_sleep_clk_map[] = {
57 static const struct parent_map gcc_xo_gpll0_map[] = {
67 static const struct parent_map gcc_xo_sleep_clk_map[] = {
77 static const struct parent_map gcc_xo_gpll0_gpll0_early_div_map[] = {
89 static const struct parent_map gcc_xo_gpll0_gpll4_map[] = {
101 static const struct parent_map gcc_xo_gpll0_aud_ref_clk_map[] = {
113 static const struct parent_map gcc_xo_gpll0_sleep_clk_gpll0_early_div_map[] = {
127 static const struct parent_map gcc_xo_gpll0_gpll4_gpll0_early_div_map[] = {
141 static const struct parent_map gcc_xo_gpll0_gpll1_early_div_gpll1_gpll4_gpll0_early_div_map[] = {
159 static const struct parent_map gcc_xo_gpll0_gpll2_gpll3_gpll1_gpll2_early_gpll0_early_div_map[] = {
[all …]
Dgcc-ipq8074.c65 static const struct parent_map gcc_xo_gpll0_gpll0_out_main_div2_map[] = {
76 static const struct parent_map gcc_xo_gpll0_map[] = {
88 static const struct parent_map gcc_xo_gpll0_gpll2_gpll0_out_main_div2_map[] = {
101 static const struct parent_map gcc_xo_gpll0_sleep_clk_map[] = {
114 static const struct parent_map gcc_xo_gpll6_gpll0_gpll0_out_main_div2_map[] = {
127 static const struct parent_map gcc_xo_gpll0_out_main_div2_gpll0_map[] = {
138 static const struct parent_map gcc_usb3phy_0_cc_pipe_clk_xo_map[] = {
148 static const struct parent_map gcc_usb3phy_1_cc_pipe_clk_xo_map[] = {
158 static const struct parent_map gcc_pcie20_phy0_pipe_clk_xo_map[] = {
168 static const struct parent_map gcc_pcie20_phy1_pipe_clk_xo_map[] = {
[all …]
Dmmcc-msm8974.c53 static const struct parent_map mmcc_xo_mmpll0_mmpll1_gpll0_map[] = {
67 static const struct parent_map mmcc_xo_mmpll0_dsi_hdmi_gpll0_map[] = {
85 static const struct parent_map mmcc_xo_mmpll0_1_2_gpll0_map[] = {
101 static const struct parent_map mmcc_xo_mmpll0_1_3_gpll0_map[] = {
117 static const struct parent_map mmcc_xo_mmpll0_1_gpll1_0_map[] = {
133 static const struct parent_map mmcc_xo_dsi_hdmi_edp_map[] = {
151 static const struct parent_map mmcc_xo_dsi_hdmi_edp_gpll0_map[] = {
169 static const struct parent_map mmcc_xo_dsibyte_hdmi_edp_gpll0_map[] = {
275 .parent_map = mmcc_xo_mmpll0_mmpll1_gpll0_map,
299 .parent_map = mmcc_xo_mmpll0_mmpll1_gpll0_map,
[all …]
Dclk-regmap-mux.c38 if (mux->parent_map) in mux_get_parent()
39 return qcom_find_cfg_index(hw, mux->parent_map, val); in mux_get_parent()
51 if (mux->parent_map) in mux_set_parent()
52 index = mux->parent_map[index].cfg; in mux_set_parent()
Ddispcc-sdm845.c34 static const struct parent_map disp_cc_parent_map_0[] = {
48 static const struct parent_map disp_cc_parent_map_2[] = {
58 static const struct parent_map disp_cc_parent_map_3[] = {
74 static const struct parent_map disp_cc_parent_map_4[] = {
106 .parent_map = disp_cc_parent_map_0,
121 .parent_map = disp_cc_parent_map_0,
140 .parent_map = disp_cc_parent_map_0,
154 .parent_map = disp_cc_parent_map_0,
181 .parent_map = disp_cc_parent_map_3,
196 .parent_map = disp_cc_parent_map_4,
[all …]
Dgcc-msm8998.c38 static const struct parent_map gcc_parent_map_0[] = {
52 static const struct parent_map gcc_parent_map_1[] = {
64 static const struct parent_map gcc_parent_map_2[] = {
80 static const struct parent_map gcc_parent_map_3[] = {
92 static const struct parent_map gcc_parent_map_4[] = {
106 static const struct parent_map gcc_parent_map_5[] = {
440 .parent_map = gcc_parent_map_1,
465 .parent_map = gcc_parent_map_0,
479 .parent_map = gcc_parent_map_1,
493 .parent_map = gcc_parent_map_0,
[all …]
Dmmcc-apq8084.c50 static const struct parent_map mmcc_xo_mmpll0_mmpll1_gpll0_map[] = {
64 static const struct parent_map mmcc_xo_mmpll0_dsi_hdmi_gpll0_map[] = {
82 static const struct parent_map mmcc_xo_mmpll0_1_2_gpll0_map[] = {
98 static const struct parent_map mmcc_xo_mmpll0_1_3_gpll0_map[] = {
114 static const struct parent_map mmcc_xo_dsi_hdmi_edp_map[] = {
132 static const struct parent_map mmcc_xo_dsi_hdmi_edp_gpll0_map[] = {
150 static const struct parent_map mmcc_xo_dsibyte_hdmi_edp_gpll0_map[] = {
168 static const struct parent_map mmcc_xo_mmpll0_1_4_gpll0_map[] = {
184 static const struct parent_map mmcc_xo_mmpll0_1_4_gpll1_0_map[] = {
202 static const struct parent_map mmcc_xo_mmpll0_1_4_gpll1_0_sleep_map[] = {
[all …]
Dgcc-ipq806x.c186 static const struct parent_map gcc_pxo_pll8_map[] = {
196 static const struct parent_map gcc_pxo_pll8_cxo_map[] = {
208 static const struct parent_map gcc_pxo_pll3_map[] = {
213 static const struct parent_map gcc_pxo_pll3_sata_map[] = {
223 static const struct parent_map gcc_pxo_pll8_pll0[] = {
235 static const struct parent_map gcc_pxo_pll8_pll14_pll18_pll0_map[] = {
286 .parent_map = gcc_pxo_pll8_map,
337 .parent_map = gcc_pxo_pll8_map,
388 .parent_map = gcc_pxo_pll8_map,
439 .parent_map = gcc_pxo_pll8_map,
[all …]
Dmmcc-msm8996.c56 static const struct parent_map mmss_xo_hdmi_map[] = {
66 static const struct parent_map mmss_xo_dsi0pll_dsi1pll_map[] = {
78 static const struct parent_map mmss_xo_gpll0_gpll0_div_map[] = {
90 static const struct parent_map mmss_xo_dsibyte_map[] = {
102 static const struct parent_map mmss_xo_mmpll0_gpll0_gpll0_div_map[] = {
116 static const struct parent_map mmss_xo_mmpll0_mmpll1_gpll0_gpll0_div_map[] = {
132 static const struct parent_map mmss_xo_mmpll0_mmpll3_gpll0_gpll0_div_map[] = {
148 static const struct parent_map mmss_xo_mmpll0_mmpll5_gpll0_gpll0_div_map[] = {
164 static const struct parent_map mmss_xo_mmpll0_mmpll4_gpll0_gpll0_div_map[] = {
180 static const struct parent_map mmss_xo_mmpll0_mmpll9_mmpll2_mmpll8_gpll0_map[] = {
[all …]
Dgcc-ipq4019.c81 const u8 *parent_map; member
88 static struct parent_map gcc_xo_200_500_map[] = {
100 static struct parent_map gcc_xo_200_map[] = {
110 static struct parent_map gcc_xo_200_spi_map[] = {
120 static struct parent_map gcc_xo_sdcc1_500_map[] = {
132 static struct parent_map gcc_xo_wcss2g_map[] = {
142 static struct parent_map gcc_xo_wcss5g_map[] = {
152 static struct parent_map gcc_xo_125_dly_map[] = {
162 static struct parent_map gcc_xo_ddr_500_200_map[] = {
191 .parent_map = gcc_xo_200_map,
[all …]
Dclk-rcg.h60 const struct parent_map *parent_map; member
150 const struct parent_map *parent_map; member
Dgcc-sdm845.c38 static const struct parent_map gcc_parent_map_0[] = {
52 static const struct parent_map gcc_parent_map_1[] = {
68 static const struct parent_map gcc_parent_map_2[] = {
80 static const struct parent_map gcc_parent_map_3[] = {
92 static const struct parent_map gcc_parent_map_4[] = {
102 static const struct parent_map gcc_parent_map_5[] = {
118 static const struct parent_map gcc_parent_map_6[] = {
153 static const struct parent_map gcc_parent_map_10[] = {
231 .parent_map = gcc_parent_map_0,
250 .parent_map = gcc_parent_map_3,
[all …]
Dgcc-msm8660.c68 static const struct parent_map gcc_pxo_pll8_map[] = {
78 static const struct parent_map gcc_pxo_pll8_cxo_map[] = {
125 .parent_map = gcc_pxo_pll8_map,
176 .parent_map = gcc_pxo_pll8_map,
227 .parent_map = gcc_pxo_pll8_map,
278 .parent_map = gcc_pxo_pll8_map,
329 .parent_map = gcc_pxo_pll8_map,
380 .parent_map = gcc_pxo_pll8_map,
431 .parent_map = gcc_pxo_pll8_map,
482 .parent_map = gcc_pxo_pll8_map,
[all …]
Dgcc-mdm9615.c146 static const struct parent_map gcc_cxo_pll8_map[] = {
156 static const struct parent_map gcc_cxo_pll14_map[] = {
166 static const struct parent_map gcc_cxo_map[] = {
209 .parent_map = gcc_cxo_pll8_map,
260 .parent_map = gcc_cxo_pll8_map,
311 .parent_map = gcc_cxo_pll8_map,
362 .parent_map = gcc_cxo_pll8_map,
413 .parent_map = gcc_cxo_pll8_map,
476 .parent_map = gcc_cxo_pll8_map,
525 .parent_map = gcc_cxo_pll8_map,
[all …]
Dmmcc-msm8960.c52 static const struct parent_map mmcc_pxo_pll8_pll2_map[] = {
64 static const struct parent_map mmcc_pxo_pll8_pll2_pll3_map[] = {
78 static const struct parent_map mmcc_pxo_pll8_pll2_pll15_map[] = {
92 static const struct parent_map mmcc_pxo_dsi2_dsi1_map[] = {
104 static const struct parent_map mmcc_pxo_dsi1_dsi2_byte_map[] = {
195 .parent_map = mmcc_pxo_pll8_pll2_map,
244 .parent_map = mmcc_pxo_pll8_pll2_map,
293 .parent_map = mmcc_pxo_pll8_pll2_map,
348 .parent_map = mmcc_pxo_pll8_pll2_map,
412 .parent_map = mmcc_pxo_pll8_pll2_map,
[all …]
Dcommon.h37 struct parent_map { struct
48 extern int qcom_find_src_index(struct clk_hw *hw, const struct parent_map *map, argument
50 extern int qcom_find_cfg_index(struct clk_hw *hw, const struct parent_map *map,
Dgcc-msm8960.c123 static const struct parent_map gcc_pxo_pll8_map[] = {
133 static const struct parent_map gcc_pxo_pll8_cxo_map[] = {
145 static const struct parent_map gcc_pxo_pll8_pll3_map[] = {
192 .parent_map = gcc_pxo_pll8_map,
243 .parent_map = gcc_pxo_pll8_map,
294 .parent_map = gcc_pxo_pll8_map,
345 .parent_map = gcc_pxo_pll8_map,
396 .parent_map = gcc_pxo_pll8_map,
447 .parent_map = gcc_pxo_pll8_map,
498 .parent_map = gcc_pxo_pll8_map,
[all …]
Dclk-regmap-mux.h25 const struct parent_map *parent_map; member
Dclk-rcg.c57 if (ns == rcg->s.parent_map[i].cfg) in clk_rcg_get_parent()
93 if (ns == s->parent_map[i].cfg) in clk_dyn_rcg_get_parent()
108 ns = src_to_ns(&rcg->s, rcg->s.parent_map[index].cfg, ns); in clk_rcg_set_parent()
279 index = qcom_find_src_index(hw, s->parent_map, f->src); in configure_bank()
282 ns = src_to_ns(s, s->parent_map[index].cfg, ns); in configure_bank()
322 f.src = qcom_find_src_index(hw, rcg->s[bank].parent_map, index); in clk_dyn_rcg_set_parent()
409 const struct parent_map *parent_map) in _freq_tbl_determine_rate() argument
419 index = qcom_find_src_index(hw, parent_map, f->src); in _freq_tbl_determine_rate()
449 rcg->s.parent_map); in clk_rcg_determine_rate()
464 return _freq_tbl_determine_rate(hw, rcg->freq_tbl, req, s->parent_map); in clk_dyn_rcg_determine_rate()
[all …]
Dclk-regmap-mux-div.c145 best_src = md->parent_map[i]; in __mux_div_set_rate_and_parent()
172 if (src == md->parent_map[i]) in mux_div_get_parent()
183 return mux_div_set_src_div(md, md->parent_map[index], md->div); in mux_div_set_parent()
200 md->parent_map[index]); in mux_div_set_rate_and_parent()
212 if (src == md->parent_map[i]) { in mux_div_recalc_rate()
/linux-4.19.296/drivers/clk/microchip/
Dclk-core.c248 const u32 *parent_map; member
289 if (!refo->parent_map) in roclk_get_parent()
293 if (refo->parent_map[i] == v) in roclk_get_parent()
453 if (refo->parent_map) in roclk_set_parent()
454 index = refo->parent_map[index]; in roclk_set_parent()
511 if (refo->parent_map) in roclk_set_rate_and_parent()
512 index = refo->parent_map[index]; in roclk_set_rate_and_parent()
576 refo->parent_map = data->parent_map; in pic32_refo_clk_register()
771 const u32 *parent_map; member
831 if (!sclk->parent_map) in sclk_get_parent()
[all …]

12