Searched refs:pdrm (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/drivers/clk/ |
D | clk-stm32f4.c | 396 static struct regmap *pdrm; variable 889 if (pdrm) in disable_power_domain_write_protection() 890 regmap_update_bits(pdrm, 0x00, (1 << 8), (1 << 8)); in disable_power_domain_write_protection() 895 if (pdrm) in enable_power_domain_write_protection() 896 regmap_update_bits(pdrm, 0x00, (1 << 8), (0 << 8)); in enable_power_domain_write_protection() 1700 pdrm = syscon_regmap_lookup_by_phandle(np, "st,syscfg"); in stm32f4_rcc_init() 1701 if (IS_ERR(pdrm)) { in stm32f4_rcc_init() 1702 pdrm = NULL; in stm32f4_rcc_init()
|
D | clk-stm32h7.c | 1201 struct regmap *pdrm; in stm32h7_rcc_init() local 1222 pdrm = syscon_regmap_lookup_by_phandle(np, "st,syscfg"); in stm32h7_rcc_init() 1223 if (IS_ERR(pdrm)) in stm32h7_rcc_init() 1230 regmap_update_bits(pdrm, PWR_CR, PWR_CR_DBP, PWR_CR_DBP); in stm32h7_rcc_init()
|