Lines Matching refs:clk_list
518 struct list_head *clk_list; in icnss_get_clk() local
528 clk_list = &priv->clk_list; in icnss_get_clk()
539 if (!list_empty(clk_list)) { in icnss_get_clk()
560 list_add_tail(&clk_info->list, clk_list); in icnss_get_clk()
566 while (!list_empty(clk_list)) { in icnss_get_clk()
567 clk_info = list_first_entry(clk_list, struct icnss_clk_info, in icnss_get_clk()
578 struct list_head *clk_list; in icnss_put_clk() local
585 clk_list = &priv->clk_list; in icnss_put_clk()
587 while (!list_empty(clk_list)) { in icnss_put_clk()
588 clk_info = list_first_entry(clk_list, struct icnss_clk_info, in icnss_put_clk()
594 static int icnss_clk_on(struct list_head *clk_list) in icnss_clk_on() argument
599 list_for_each_entry(clk_info, clk_list, list) { in icnss_clk_on()
610 list_for_each_entry_continue_reverse(clk_info, clk_list, list) { in icnss_clk_on()
620 static int icnss_clk_off(struct list_head *clk_list) in icnss_clk_off() argument
624 list_for_each_entry_reverse(clk_info, clk_list, list) { in icnss_clk_off()
654 ret = icnss_clk_on(&priv->clk_list); in icnss_hw_power_on()
687 icnss_clk_off(&priv->clk_list); in icnss_hw_power_off()