Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/ath/ath10k/
H A Dahb.c89 ar_ahb->cmd_clk = devm_clk_get(dev, "wifi_wcss_cmd"); in ath10k_ahb_clock_init()
90 if (IS_ERR_OR_NULL(ar_ahb->cmd_clk)) { in ath10k_ahb_clock_init()
92 PTR_ERR(ar_ahb->cmd_clk)); in ath10k_ahb_clock_init()
93 return ar_ahb->cmd_clk ? PTR_ERR(ar_ahb->cmd_clk) : -ENODEV; in ath10k_ahb_clock_init()
117 ar_ahb->cmd_clk = NULL; in ath10k_ahb_clock_deinit()
127 if (IS_ERR_OR_NULL(ar_ahb->cmd_clk) || in ath10k_ahb_clock_enable()
135 ret = clk_prepare_enable(ar_ahb->cmd_clk); in ath10k_ahb_clock_enable()
159 clk_disable_unprepare(ar_ahb->cmd_clk); in ath10k_ahb_clock_enable()
169 clk_disable_unprepare(ar_ahb->cmd_clk); in ath10k_ahb_clock_disable()
H A Dahb.h21 struct clk *cmd_clk; member