Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/clk/imx/
Dclk-imx8ulp.c84 struct pcc_reset_dev *pcc_reset = to_pcc_reset_dev(rcdev); in imx8ulp_pcc_assert() local
85 u32 offset = pcc_reset->resets[id]; in imx8ulp_pcc_assert()
89 spin_lock_irqsave(pcc_reset->lock, flags); in imx8ulp_pcc_assert()
91 val = readl(pcc_reset->base + offset); in imx8ulp_pcc_assert()
93 writel(val, pcc_reset->base + offset); in imx8ulp_pcc_assert()
95 spin_unlock_irqrestore(pcc_reset->lock, flags); in imx8ulp_pcc_assert()
102 struct pcc_reset_dev *pcc_reset = to_pcc_reset_dev(rcdev); in imx8ulp_pcc_deassert() local
103 u32 offset = pcc_reset->resets[id]; in imx8ulp_pcc_deassert()
107 spin_lock_irqsave(pcc_reset->lock, flags); in imx8ulp_pcc_deassert()
109 val = readl(pcc_reset->base + offset); in imx8ulp_pcc_deassert()
[all …]