Searched refs:regmap_sfr (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/clk/at91/ |
H A D | clk-utmi.c | 25 struct regmap *regmap_sfr; member 79 if (utmi->regmap_sfr) { in clk_utmi_prepare() 80 regmap_update_bits(utmi->regmap_sfr, AT91_SFR_UTMICKTRIM, in clk_utmi_prepare() 145 struct regmap *regmap_sfr, in at91_clk_register_utmi_internal() argument 175 utmi->regmap_sfr = regmap_sfr; in at91_clk_register_utmi_internal() 188 at91_clk_register_utmi(struct regmap *regmap_pmc, struct regmap *regmap_sfr, in at91_clk_register_utmi() argument 192 return at91_clk_register_utmi_internal(regmap_pmc, regmap_sfr, name, in at91_clk_register_utmi()
|
H A D | sama5d2.c | 171 struct regmap *regmap, *regmap_sfr; in sama5d2_pmc_setup() local 248 regmap_sfr = syscon_regmap_lookup_by_compatible("atmel,sama5d2-sfr"); in sama5d2_pmc_setup() 249 if (IS_ERR(regmap_sfr)) in sama5d2_pmc_setup() 250 regmap_sfr = NULL; in sama5d2_pmc_setup() 252 hw = at91_clk_register_utmi(regmap, regmap_sfr, "utmick", "mainck", NULL); in sama5d2_pmc_setup() 371 if (regmap_sfr) { in sama5d2_pmc_setup() 374 hw = at91_clk_i2s_mux_register(regmap_sfr, "i2s0_muxclk", in sama5d2_pmc_setup() 383 hw = at91_clk_i2s_mux_register(regmap_sfr, "i2s1_muxclk", in sama5d2_pmc_setup()
|
H A D | dt-compat.c | 219 struct regmap *regmap_sfr; in of_sama5d2_clk_i2s_mux_setup() local 226 regmap_sfr = syscon_regmap_lookup_by_compatible("atmel,sama5d2-sfr"); in of_sama5d2_clk_i2s_mux_setup() 227 if (IS_ERR(regmap_sfr)) in of_sama5d2_clk_i2s_mux_setup() 241 hw = at91_clk_i2s_mux_register(regmap_sfr, i2s_mux_np->name, in of_sama5d2_clk_i2s_mux_setup() 1027 struct regmap *regmap_pmc, *regmap_sfr; in of_at91sam9x5_clk_utmi_setup() local 1051 regmap_sfr = syscon_regmap_lookup_by_compatible("atmel,sama5d3-sfr"); in of_at91sam9x5_clk_utmi_setup() 1052 if (IS_ERR(regmap_sfr)) { in of_at91sam9x5_clk_utmi_setup() 1053 regmap_sfr = syscon_regmap_lookup_by_compatible("atmel,sama5d2-sfr"); in of_at91sam9x5_clk_utmi_setup() 1054 if (IS_ERR(regmap_sfr)) in of_at91sam9x5_clk_utmi_setup() 1055 regmap_sfr = NULL; in of_at91sam9x5_clk_utmi_setup() [all …]
|
H A D | pmc.h | 272 at91_clk_register_utmi(struct regmap *regmap_pmc, struct regmap *regmap_sfr,
|
/openbmc/u-boot/drivers/clk/at91/ |
H A D | clk-utmi.c | 68 if (plat->regmap_sfr) { in utmi_clk_enable() 69 err = regmap_read(plat->regmap_sfr, AT91_SFR_UTMICKTRIM, &tmp); in utmi_clk_enable() 75 err = regmap_write(plat->regmap_sfr, AT91_SFR_UTMICKTRIM, tmp); in utmi_clk_enable() 119 plat->regmap_sfr = syscon_get_regmap(syscon); in utmi_clk_ofdata_to_platdata()
|
H A D | pmc.h | 14 struct regmap *regmap_sfr; member
|