Searched refs:cfg_clk (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/phy/
H A Dphy-qcom-ipq806x-sata.c28 struct clk *cfg_clk; member in struct:qcom_ipq806x_sata_phy
163 phy->cfg_clk = devm_clk_get(dev, "cfg"); qcom_ipq806x_sata_phy_probe()
164 if (IS_ERR(phy->cfg_clk)) { qcom_ipq806x_sata_phy_probe()
166 return PTR_ERR(phy->cfg_clk); qcom_ipq806x_sata_phy_probe()
169 ret = clk_prepare_enable(phy->cfg_clk); qcom_ipq806x_sata_phy_probe()
175 clk_disable_unprepare(phy->cfg_clk); qcom_ipq806x_sata_phy_probe()
187 clk_disable_unprepare(phy->cfg_clk); qcom_ipq806x_sata_phy_remove()
H A Dphy-qcom-apq8064-sata.c78 struct clk *cfg_clk; member in struct:qcom_apq8064_sata_phy
241 phy->cfg_clk = devm_clk_get(dev, "cfg"); qcom_apq8064_sata_phy_probe()
242 if (IS_ERR(phy->cfg_clk)) { qcom_apq8064_sata_phy_probe()
244 return PTR_ERR(phy->cfg_clk); qcom_apq8064_sata_phy_probe()
247 ret = clk_prepare_enable(phy->cfg_clk); qcom_apq8064_sata_phy_probe()
253 clk_disable_unprepare(phy->cfg_clk); qcom_apq8064_sata_phy_probe()
265 clk_disable_unprepare(phy->cfg_clk); qcom_apq8064_sata_phy_remove()

Completed in 86 milliseconds