Home
last modified time | relevance | path

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

/linux-3.4.99/net/rfkill/
Drfkill-gpio.c47 struct clk *pwr_clk; member
59 if (rfkill->pwr_clk && PWR_CLK_ENABLED(rfkill)) in rfkill_gpio_set_power()
60 clk_disable(rfkill->pwr_clk); in rfkill_gpio_set_power()
62 if (rfkill->pwr_clk && PWR_CLK_DISABLED(rfkill)) in rfkill_gpio_set_power()
63 clk_enable(rfkill->pwr_clk); in rfkill_gpio_set_power()
70 if (rfkill->pwr_clk) in rfkill_gpio_set_power()
131 rfkill->pwr_clk = clk_get(&pdev->dev, pdata->power_clk_name); in rfkill_gpio_probe()
132 if (IS_ERR(rfkill->pwr_clk)) { in rfkill_gpio_probe()
178 if (rfkill->pwr_clk) in rfkill_gpio_probe()
179 clk_put(rfkill->pwr_clk); in rfkill_gpio_probe()
[all …]