Home
last modified time | relevance | path

Searched refs:pdrm (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/clk/
H A Dclk-stm32f4.c416 static struct regmap *pdrm; variable
1032 if (pdrm) in disable_power_domain_write_protection()
1033 regmap_update_bits(pdrm, 0x00, (1 << 8), (1 << 8)); in disable_power_domain_write_protection()
1038 if (pdrm) in enable_power_domain_write_protection()
1039 regmap_update_bits(pdrm, 0x00, (1 << 8), (0 << 8)); in enable_power_domain_write_protection()
1844 pdrm = syscon_regmap_lookup_by_phandle(np, "st,syscfg"); in stm32f4_rcc_init()
1845 if (IS_ERR(pdrm)) { in stm32f4_rcc_init()
1846 pdrm = NULL; in stm32f4_rcc_init()
H A Dclk-stm32h7.c1201 struct regmap *pdrm; in stm32h7_rcc_init() local
1221 pdrm = syscon_regmap_lookup_by_phandle(np, "st,syscfg"); in stm32h7_rcc_init()
1222 if (IS_ERR(pdrm)) in stm32h7_rcc_init()
1229 regmap_update_bits(pdrm, PWR_CR, PWR_CR_DBP, PWR_CR_DBP); in stm32h7_rcc_init()