Home
last modified time | relevance | path

Searched refs:hw_clks (Results 1 – 25 of 53) sorted by relevance

123

/linux-6.6.21/drivers/clk/meson/
Dmeson-eeclk.c46 for (i = 0; i < data->hw_clks.num; i++) { in meson_eeclkc_probe()
48 if (!data->hw_clks.hws[i]) in meson_eeclkc_probe()
51 ret = devm_clk_hw_register(dev, data->hw_clks.hws[i]); in meson_eeclkc_probe()
58 return devm_of_clk_add_hw_provider(dev, meson_clk_hw_get, (void *)&data->hw_clks); in meson_eeclkc_probe()
Dmeson-aoclk.c78 for (clkid = 0; clkid < data->hw_clks.num; clkid++) { in meson_aoclkc_probe()
79 if (!data->hw_clks.hws[clkid]) in meson_aoclkc_probe()
82 ret = devm_clk_hw_register(dev, data->hw_clks.hws[clkid]); in meson_aoclkc_probe()
89 return devm_of_clk_add_hw_provider(dev, meson_clk_hw_get, (void *)&data->hw_clks); in meson_aoclkc_probe()
Dmeson-eeclk.h21 struct meson_clk_hw_data hw_clks; member
Dmeson-aoclk.h28 struct meson_clk_hw_data hw_clks; member
Daxg-audio.c1739 struct meson_clk_hw_data hw_clks; member
1785 for (i = AUD_CLKID_DDR_ARB; i < data->hw_clks.num; i++) { in axg_audio_clkc_probe()
1788 hw = data->hw_clks.hws[i]; in axg_audio_clkc_probe()
1802 ret = devm_of_clk_add_hw_provider(dev, meson_clk_hw_get, (void *)&data->hw_clks); in axg_audio_clkc_probe()
1827 .hw_clks = {
1836 .hw_clks = {
1847 .hw_clks = {
Dgxbb-aoclk.c280 .hw_clks = {
/linux-6.6.21/drivers/clk/actions/
Dowl-common.c61 int owl_clk_probe(struct device *dev, struct clk_hw_onecell_data *hw_clks) in owl_clk_probe() argument
66 for (i = 0; i < hw_clks->num; i++) { in owl_clk_probe()
69 hw = hw_clks->hws[i]; in owl_clk_probe()
82 ret = devm_of_clk_add_hw_provider(dev, of_clk_hw_onecell_get, hw_clks); in owl_clk_probe()
Dowl-common.h28 struct clk_hw_onecell_data *hw_clks; member
42 int owl_clk_probe(struct device *dev, struct clk_hw_onecell_data *hw_clks);
/linux-6.6.21/drivers/clk/
Dclk-max77686.c167 const struct max77686_hw_clk_info *hw_clks; in max77686_clk_probe() local
186 hw_clks = max77686_hw_clks_info; in max77686_clk_probe()
191 hw_clks = max77802_hw_clks_info; in max77686_clk_probe()
196 hw_clks = max77620_hw_clks_info; in max77686_clk_probe()
218 max_clk_data->clk_info = &hw_clks[i]; in max77686_clk_probe()
219 max_clk_data->clk_idata.flags = hw_clks[i].flags; in max77686_clk_probe()
228 max_clk_data->clk_idata.name = hw_clks[i].name; in max77686_clk_probe()
/linux-6.6.21/drivers/clk/sunxi-ng/
Dccu_common.c123 for (i = 0; i < desc->hw_clks->num ; i++) { in sunxi_ccu_probe()
124 struct clk_hw *hw = desc->hw_clks->hws[i]; in sunxi_ccu_probe()
142 desc->hw_clks); in sunxi_ccu_probe()
165 struct clk_hw *hw = desc->hw_clks->hws[i]; in sunxi_ccu_probe()
183 for (i = 0; i < desc->hw_clks->num; i++) { in devm_sunxi_ccu_release()
184 struct clk_hw *hw = desc->hw_clks->hws[i]; in devm_sunxi_ccu_release()
Dccu-sun8i-de2.c186 .hw_clks = &sun8i_a83t_de2_hw_clks,
196 .hw_clks = &sun8i_h3_de2_hw_clks,
206 .hw_clks = &sun50i_a64_de2_hw_clks,
216 .hw_clks = &sun8i_v3s_de2_hw_clks,
226 .hw_clks = &sun50i_a64_de2_hw_clks,
236 .hw_clks = &sun8i_h3_de2_hw_clks,
Dccu-sun8i-r.c208 .hw_clks = &sun8i_a83t_r_hw_clks,
218 .hw_clks = &sun8i_h3_r_hw_clks,
228 .hw_clks = &sun50i_a64_r_hw_clks,
Dccu-sun50i-h6-r.c204 .hw_clks = &sun50i_h6_r_hw_clks,
214 .hw_clks = &sun50i_h616_r_hw_clks,
Dccu_common.h48 struct clk_hw_onecell_data *hw_clks; member
Dccu-sun20i-d1-r.c107 .hw_clks = &sun20i_d1_r_hw_clks,
Dccu-sun9i-a80-usb.c87 .hw_clks = &sun9i_a80_usb_hw_clks,
Dccu-sun50i-a100-r.c184 .hw_clks = &sun50i_a100_r_hw_clks,
/linux-6.6.21/drivers/clk/sifive/
Dsifive-prci.c546 pd->hw_clks.hws[i] = &pic->hw; in __prci_register_clocks()
549 pd->hw_clks.num = i; in __prci_register_clocks()
552 &pd->hw_clks); in __prci_register_clocks()
576 pd = devm_kzalloc(dev, struct_size(pd, hw_clks.hws, desc->num_clks), GFP_KERNEL); in sifive_prci_probe()
Dsifive-prci.h228 struct clk_hw_onecell_data hw_clks; member
/linux-6.6.21/drivers/clk/sprd/
Dsc9860-clk.c117 .hw_clks = &sc9860_pmu_gate_hws,
372 .hw_clks = &sc9860_pll_hws,
493 .hw_clks = &sc9860_ap_clk_hws,
750 .hw_clks = &sc9860_aon_prediv_hws,
823 .hw_clks = &sc9860_apahb_gate_hws,
1188 .hw_clks = &sc9860_aon_gate_hws,
1221 .hw_clks = &sc9860_aonsecure_clk_hws,
1310 .hw_clks = &sc9860_agcp_gate_hws,
1334 .hw_clks = &sc9860_gpu_clk_hws,
1382 .hw_clks = &sc9860_vsp_clk_hws,
[all …]
Dcommon.h26 struct clk_hw_onecell_data *hw_clks; member
Dums512-clk.c111 .hw_clks = &ums512_pmu_gate_hws,
153 .hw_clks = &ums512_g0_pll_hws,
196 .hw_clks = &ums512_g2_pll_hws,
276 .hw_clks = &ums512_g3_pll_hws,
402 .hw_clks = &ums512_gc_pll_hws,
456 .hw_clks = &ums512_apahb_gate_hws,
698 .hw_clks = &ums512_ap_clk_hws,
1130 .hw_clks = &ums512_aon_apb_hws,
1548 .hw_clks = &ums512_aon_gate_hws,
1590 .hw_clks = &ums512_audcpapb_gate_hws,
[all …]
Dsc9863a-clk.c72 .hw_clks = &sc9863a_pmu_gate_hws,
195 .hw_clks = &sc9863a_pll_hws,
229 .hw_clks = &sc9863a_mpll_hws,
264 .hw_clks = &sc9863a_rpll_hws,
305 .hw_clks = &sc9863a_dpll_hws,
851 .hw_clks = &sc9863a_aon_clk_hws,
1051 .hw_clks = &sc9863a_ap_clk_hws,
1128 .hw_clks = &sc9863a_apahb_gate_hws,
1537 .hw_clks = &sc9863a_aonapb_gate_hws,
1615 .hw_clks = &sc9863a_mm_gate_hws,
[all …]
/linux-6.6.21/drivers/clk/qcom/
Dclk-rpmh.c736 struct clk_hw **hw_clks; in clk_rpmh_probe() local
745 hw_clks = desc->clks; in clk_rpmh_probe()
753 if (!hw_clks[i]) in clk_rpmh_probe()
756 name = hw_clks[i]->init->name; in clk_rpmh_probe()
758 rpmh_clk = to_clk_rpmh(hw_clks[i]); in clk_rpmh_probe()
782 ret = devm_clk_hw_register(&pdev->dev, hw_clks[i]); in clk_rpmh_probe()
/linux-6.6.21/drivers/clk/stm32/
Dclk-stm32-core.h68 struct clk_hw_onecell_data *hw_clks; member

123