Lines Matching refs:regmap
35 struct regmap *regmap; in of_sama5d2_clk_audio_pll_frac_setup() local
39 regmap = syscon_node_to_regmap(parent_np); in of_sama5d2_clk_audio_pll_frac_setup()
41 if (IS_ERR(regmap)) in of_sama5d2_clk_audio_pll_frac_setup()
46 hw = at91_clk_register_audio_pll_frac(regmap, name, parent_name); in of_sama5d2_clk_audio_pll_frac_setup()
61 struct regmap *regmap; in of_sama5d2_clk_audio_pll_pad_setup() local
65 regmap = syscon_node_to_regmap(parent_np); in of_sama5d2_clk_audio_pll_pad_setup()
67 if (IS_ERR(regmap)) in of_sama5d2_clk_audio_pll_pad_setup()
72 hw = at91_clk_register_audio_pll_pad(regmap, name, parent_name); in of_sama5d2_clk_audio_pll_pad_setup()
87 struct regmap *regmap; in of_sama5d2_clk_audio_pll_pmc_setup() local
91 regmap = syscon_node_to_regmap(parent_np); in of_sama5d2_clk_audio_pll_pmc_setup()
93 if (IS_ERR(regmap)) in of_sama5d2_clk_audio_pll_pmc_setup()
98 hw = at91_clk_register_audio_pll_pmc(regmap, name, parent_name); in of_sama5d2_clk_audio_pll_pmc_setup()
134 struct regmap *regmap; in of_sama5d2_clk_generated_setup() local
147 regmap = syscon_node_to_regmap(parent_np); in of_sama5d2_clk_generated_setup()
149 if (IS_ERR(regmap)) in of_sama5d2_clk_generated_setup()
172 hw = at91_clk_register_generated(regmap, &pmc_pcr_lock, in of_sama5d2_clk_generated_setup()
193 struct regmap *regmap; in of_sama5d4_clk_h32mx_setup() local
197 regmap = syscon_node_to_regmap(parent_np); in of_sama5d4_clk_h32mx_setup()
199 if (IS_ERR(regmap)) in of_sama5d4_clk_h32mx_setup()
204 hw = at91_clk_register_h32mx(regmap, name, parent_name); in of_sama5d4_clk_h32mx_setup()
219 struct regmap *regmap_sfr; in of_sama5d2_clk_i2s_mux_setup()
258 struct regmap *regmap; in of_at91rm9200_clk_main_osc_setup() local
267 regmap = syscon_node_to_regmap(parent_np); in of_at91rm9200_clk_main_osc_setup()
269 if (IS_ERR(regmap)) in of_at91rm9200_clk_main_osc_setup()
272 hw = at91_clk_register_main_osc(regmap, name, parent_name, NULL, bypass); in of_at91rm9200_clk_main_osc_setup()
287 struct regmap *regmap; in of_at91sam9x5_clk_main_rc_osc_setup() local
295 regmap = syscon_node_to_regmap(parent_np); in of_at91sam9x5_clk_main_rc_osc_setup()
297 if (IS_ERR(regmap)) in of_at91sam9x5_clk_main_rc_osc_setup()
300 hw = at91_clk_register_main_rc_osc(regmap, name, frequency, accuracy); in of_at91sam9x5_clk_main_rc_osc_setup()
314 struct regmap *regmap; in of_at91rm9200_clk_main_setup() local
321 regmap = syscon_node_to_regmap(parent_np); in of_at91rm9200_clk_main_setup()
323 if (IS_ERR(regmap)) in of_at91rm9200_clk_main_setup()
326 hw = at91_clk_register_rm9200_main(regmap, name, parent_name, NULL); in of_at91rm9200_clk_main_setup()
341 struct regmap *regmap; in of_at91sam9x5_clk_main_setup() local
350 regmap = syscon_node_to_regmap(parent_np); in of_at91sam9x5_clk_main_setup()
352 if (IS_ERR(regmap)) in of_at91sam9x5_clk_main_setup()
357 hw = at91_clk_register_sam9x5_main(regmap, name, parent_names, NULL, in of_at91sam9x5_clk_main_setup()
401 struct regmap *regmap; in of_at91_clk_master_setup() local
417 regmap = syscon_node_to_regmap(parent_np); in of_at91_clk_master_setup()
419 if (IS_ERR(regmap)) in of_at91_clk_master_setup()
422 hw = at91_clk_register_master_pres(regmap, "masterck_pres", num_parents, in of_at91_clk_master_setup()
428 hw = at91_clk_register_master_div(regmap, name, "masterck_pres", NULL, in of_at91_clk_master_setup()
464 struct regmap *regmap; in of_at91_clk_periph_setup() local
476 regmap = syscon_node_to_regmap(parent_np); in of_at91_clk_periph_setup()
478 if (IS_ERR(regmap)) in of_at91_clk_periph_setup()
492 hw = at91_clk_register_peripheral(regmap, name, in of_at91_clk_periph_setup()
510 hw = at91_clk_register_sam9x5_peripheral(regmap, in of_at91_clk_periph_setup()
644 struct regmap *regmap; in of_at91_clk_pll_setup() local
658 regmap = syscon_node_to_regmap(parent_np); in of_at91_clk_pll_setup()
660 if (IS_ERR(regmap)) in of_at91_clk_pll_setup()
667 hw = at91_clk_register_pll(regmap, name, parent_name, id, layout, in of_at91_clk_pll_setup()
713 struct regmap *regmap; in of_at91sam9x5_clk_plldiv_setup() local
721 regmap = syscon_node_to_regmap(parent_np); in of_at91sam9x5_clk_plldiv_setup()
723 if (IS_ERR(regmap)) in of_at91sam9x5_clk_plldiv_setup()
726 hw = at91_clk_register_plldiv(regmap, name, parent_name); in of_at91sam9x5_clk_plldiv_setup()
747 struct regmap *regmap; in of_at91_clk_prog_setup() local
760 regmap = syscon_node_to_regmap(parent_np); in of_at91_clk_prog_setup()
762 if (IS_ERR(regmap)) in of_at91_clk_prog_setup()
772 hw = at91_clk_register_programmable(regmap, name, in of_at91_clk_prog_setup()
809 struct regmap *regmap; in of_at91sam9260_clk_slow_setup() local
818 regmap = syscon_node_to_regmap(parent_np); in of_at91sam9260_clk_slow_setup()
820 if (IS_ERR(regmap)) in of_at91sam9260_clk_slow_setup()
825 hw = at91_clk_register_sam9260_slow(regmap, name, parent_names, in of_at91sam9260_clk_slow_setup()
844 struct regmap *regmap; in of_at91sam9x5_clk_smd_setup() local
856 regmap = syscon_node_to_regmap(parent_np); in of_at91sam9x5_clk_smd_setup()
858 if (IS_ERR(regmap)) in of_at91sam9x5_clk_smd_setup()
861 hw = at91sam9x5_clk_register_smd(regmap, name, parent_names, in of_at91sam9x5_clk_smd_setup()
880 struct regmap *regmap; in of_at91rm9200_clk_sys_setup() local
887 regmap = syscon_node_to_regmap(parent_np); in of_at91rm9200_clk_sys_setup()
889 if (IS_ERR(regmap)) in of_at91rm9200_clk_sys_setup()
911 hw = at91_clk_register_system(regmap, name, parent_name, NULL, in of_at91rm9200_clk_sys_setup()
931 struct regmap *regmap; in of_at91sam9x5_clk_usb_setup() local
943 regmap = syscon_node_to_regmap(parent_np); in of_at91sam9x5_clk_usb_setup()
945 if (IS_ERR(regmap)) in of_at91sam9x5_clk_usb_setup()
948 hw = at91sam9x5_clk_register_usb(regmap, name, parent_names, in of_at91sam9x5_clk_usb_setup()
963 struct regmap *regmap; in of_at91sam9n12_clk_usb_setup() local
973 regmap = syscon_node_to_regmap(parent_np); in of_at91sam9n12_clk_usb_setup()
975 if (IS_ERR(regmap)) in of_at91sam9n12_clk_usb_setup()
978 hw = at91sam9n12_clk_register_usb(regmap, name, parent_name); in of_at91sam9n12_clk_usb_setup()
993 struct regmap *regmap; in of_at91rm9200_clk_usb_setup() local
1007 regmap = syscon_node_to_regmap(parent_np); in of_at91rm9200_clk_usb_setup()
1009 if (IS_ERR(regmap)) in of_at91rm9200_clk_usb_setup()
1011 hw = at91rm9200_clk_register_usb(regmap, name, parent_name, divisors); in of_at91rm9200_clk_usb_setup()
1027 struct regmap *regmap_pmc, *regmap_sfr; in of_at91sam9x5_clk_utmi_setup()