Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/wireless/ath/ath10k/
Dahb.c100 ar_ahb->cmd_clk = devm_clk_get(dev, "wifi_wcss_cmd"); in ath10k_ahb_clock_init()
101 if (IS_ERR_OR_NULL(ar_ahb->cmd_clk)) { in ath10k_ahb_clock_init()
103 PTR_ERR(ar_ahb->cmd_clk)); in ath10k_ahb_clock_init()
104 return ar_ahb->cmd_clk ? PTR_ERR(ar_ahb->cmd_clk) : -ENODEV; in ath10k_ahb_clock_init()
128 ar_ahb->cmd_clk = NULL; in ath10k_ahb_clock_deinit()
138 if (IS_ERR_OR_NULL(ar_ahb->cmd_clk) || in ath10k_ahb_clock_enable()
146 ret = clk_prepare_enable(ar_ahb->cmd_clk); in ath10k_ahb_clock_enable()
170 clk_disable_unprepare(ar_ahb->cmd_clk); in ath10k_ahb_clock_enable()
180 clk_disable_unprepare(ar_ahb->cmd_clk); in ath10k_ahb_clock_disable()
Dahb.h32 struct clk *cmd_clk; member