Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/pwm/
A Dpwm-clk.c49 clk_disable(pcchip->clk); in pwm_clk_apply()
57 pcchip->clk_enabled = true; in pwm_clk_apply()
85 struct pwm_clk_chip *pcchip; in pwm_clk_probe() local
88 pcchip = devm_kzalloc(&pdev->dev, sizeof(*pcchip), GFP_KERNEL); in pwm_clk_probe()
89 if (!pcchip) in pwm_clk_probe()
93 if (IS_ERR(pcchip->clk)) in pwm_clk_probe()
99 pcchip->chip.npwm = 1; in pwm_clk_probe()
107 clk_unprepare(pcchip->clk); in pwm_clk_probe()
121 if (pcchip->clk_enabled) in pwm_clk_remove()
122 clk_disable(pcchip->clk); in pwm_clk_remove()
[all …]

Completed in 6 milliseconds