Home
last modified time | relevance | path

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

/wlan-driver/qca-wifi-host-cmn/qal/inc/
Dqal_vbus_dev.h149 qal_vbus_enable_devclk(struct qdf_dev_clk *clk);
160 qal_vbus_disable_devclk(struct qdf_dev_clk *clk);
360 qal_vbus_enable_devclk(struct qdf_dev_clk *clk) in qal_vbus_enable_devclk() argument
362 return __qal_vbus_enable_devclk(clk); in qal_vbus_enable_devclk()
366 qal_vbus_disable_devclk(struct qdf_dev_clk *clk) in qal_vbus_disable_devclk() argument
368 return __qal_vbus_disable_devclk(clk); in qal_vbus_disable_devclk()
/wlan-driver/qca-wifi-host-cmn/qal/linux/src/
Di_qal_vbus_dev.h201 __qal_vbus_enable_devclk(struct qdf_dev_clk *clk) in __qal_vbus_enable_devclk() argument
205 ret = clk_prepare_enable((struct clk *)clk); in __qal_vbus_enable_devclk()
219 __qal_vbus_disable_devclk(struct qdf_dev_clk *clk) in __qal_vbus_disable_devclk() argument
221 clk_disable_unprepare((struct clk *)clk); in __qal_vbus_disable_devclk()
/wlan-driver/platform/icnss2/
Dpower.c443 struct clk *clk; in icnss_get_clk_single() local
446 clk = devm_clk_get(dev, clk_info->cfg.name); in icnss_get_clk_single()
447 if (IS_ERR(clk)) { in icnss_get_clk_single()
448 ret = PTR_ERR(clk); in icnss_get_clk_single()
458 clk_info->clk = clk; in icnss_get_clk_single()
478 ret = clk_set_rate(clk_info->clk, clk_info->cfg.freq); in icnss_clk_on_single()
487 ret = clk_prepare_enable(clk_info->clk); in icnss_clk_on_single()
509 clk_disable_unprepare(clk_info->clk); in icnss_clk_off_single()
600 if (IS_ERR_OR_NULL(clk_info->clk)) in icnss_clk_on()
611 if (IS_ERR_OR_NULL(clk_info->clk)) in icnss_clk_on()
[all …]
Dmain.h186 struct clk *clk; member
/wlan-driver/platform/cnss2/
Dpower.c581 struct clk *clk; in cnss_get_clk_single() local
584 clk = devm_clk_get(dev, clk_info->cfg.name); in cnss_get_clk_single()
585 if (IS_ERR(clk)) { in cnss_get_clk_single()
586 ret = PTR_ERR(clk); in cnss_get_clk_single()
596 clk_info->clk = clk; in cnss_get_clk_single()
609 devm_clk_put(dev, clk_info->clk); in cnss_put_clk_single()
625 ret = clk_set_rate(clk_info->clk, clk_info->cfg.freq); in cnss_clk_on_single()
634 ret = clk_prepare_enable(clk_info->clk); in cnss_clk_on_single()
656 clk_disable_unprepare(clk_info->clk); in cnss_clk_off_single()
709 if (IS_ERR_OR_NULL(clk_info->clk)) in cnss_get_clk()
[all …]
Dmain.h129 struct clk *clk; member