Searched refs:pdrm (Results 1 – 2 of 2) sorted by relevance
/linux-4.19.296/drivers/clk/ |
D | clk-stm32f4.c | 328 static struct regmap *pdrm; variable 821 if (pdrm) in disable_power_domain_write_protection() 822 regmap_update_bits(pdrm, 0x00, (1 << 8), (1 << 8)); in disable_power_domain_write_protection() 827 if (pdrm) in enable_power_domain_write_protection() 828 regmap_update_bits(pdrm, 0x00, (1 << 8), (0 << 8)); in enable_power_domain_write_protection() 1440 pdrm = syscon_regmap_lookup_by_phandle(np, "st,syscfg"); in stm32f4_rcc_init() 1441 if (IS_ERR(pdrm)) { in stm32f4_rcc_init() 1442 pdrm = NULL; in stm32f4_rcc_init()
|
D | clk-stm32h7.c | 1202 struct regmap *pdrm; in stm32h7_rcc_init() local 1223 pdrm = syscon_regmap_lookup_by_phandle(np, "st,syscfg"); in stm32h7_rcc_init() 1224 if (IS_ERR(pdrm)) in stm32h7_rcc_init() 1231 regmap_update_bits(pdrm, PWR_CR, PWR_CR_DBP, PWR_CR_DBP); in stm32h7_rcc_init()
|