Home
last modified time | relevance | path

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

/wlan-driver/platform/icnss2/ !
H A Dpower.c440 struct icnss_clk_info *clk_info) in icnss_get_clk_single() argument
446 clk = devm_clk_get(dev, clk_info->cfg.name); in icnss_get_clk_single()
449 if (clk_info->cfg.required) in icnss_get_clk_single()
451 clk_info->cfg.name, ret); in icnss_get_clk_single()
454 clk_info->cfg.name, ret); in icnss_get_clk_single()
458 clk_info->clk = clk; in icnss_get_clk_single()
460 clk_info->cfg.name, clk_info->cfg.freq); in icnss_get_clk_single()
465 static int icnss_clk_on_single(struct icnss_clk_info *clk_info) in icnss_clk_on_single() argument
469 if (clk_info->enabled) { in icnss_clk_on_single()
471 clk_info->cfg.name); in icnss_clk_on_single()
[all …]
/wlan-driver/platform/cnss2/ !
H A Dpower.c578 struct cnss_clk_info *clk_info) in cnss_get_clk_single() argument
584 clk = devm_clk_get(dev, clk_info->cfg.name); in cnss_get_clk_single()
587 if (clk_info->cfg.required) in cnss_get_clk_single()
589 clk_info->cfg.name, ret); in cnss_get_clk_single()
592 clk_info->cfg.name, ret); in cnss_get_clk_single()
596 clk_info->clk = clk; in cnss_get_clk_single()
598 clk_info->cfg.name, clk_info->cfg.freq); in cnss_get_clk_single()
604 struct cnss_clk_info *clk_info) in cnss_put_clk_single() argument
608 cnss_pr_dbg("Put clock: %s\n", clk_info->cfg.name); in cnss_put_clk_single()
609 devm_clk_put(dev, clk_info->clk); in cnss_put_clk_single()
[all …]