Lines Matching refs:clk_root_target

496 	void __iomem *clk_root_target;  in get_clk_root_target()  local
500 clk_root_target = in get_clk_root_target()
504 clk_root_target = in get_clk_root_target()
508 clk_root_target = in get_clk_root_target()
512 clk_root_target = in get_clk_root_target()
516 clk_root_target = in get_clk_root_target()
520 clk_root_target = (void __iomem *)&ccm_reg->core_sel; in get_clk_root_target()
523 clk_root_target = (void __iomem *)&ccm_reg->dram_sel; in get_clk_root_target()
529 return clk_root_target; in get_clk_root_target()
536 void __iomem *clk_root_target; in clock_get_target_val() local
546 clk_root_target = get_clk_root_target(p->slice_type, p->slice_index); in clock_get_target_val()
547 if (!clk_root_target) in clock_get_target_val()
550 *val = readl(clk_root_target); in clock_get_target_val()
559 void __iomem *clk_root_target; in clock_set_target_val() local
569 clk_root_target = get_clk_root_target(p->slice_type, p->slice_index); in clock_set_target_val()
570 if (!clk_root_target) in clock_set_target_val()
573 writel(val, clk_root_target); in clock_set_target_val()
580 void __iomem *clk_root_target; in clock_root_enabled() local
605 clk_root_target = get_clk_root_target(slice_type, slice_index); in clock_root_enabled()
606 if (!clk_root_target) in clock_root_enabled()
609 val = readl(clk_root_target); in clock_root_enabled()
637 void __iomem *clk_root_target; in clock_get_prediv() local
656 clk_root_target = get_clk_root_target(p->slice_type, p->slice_index); in clock_get_prediv()
657 if (!clk_root_target) in clock_get_prediv()
660 val = readl(clk_root_target); in clock_get_prediv()
675 void __iomem *clk_root_target; in clock_get_postdiv() local
692 clk_root_target = get_clk_root_target(p->slice_type, p->slice_index); in clock_get_postdiv()
693 if (!clk_root_target) in clock_get_postdiv()
703 val = readl(clk_root_target); in clock_get_postdiv()
717 void __iomem *clk_root_target; in clock_get_src() local
728 clk_root_target = get_clk_root_target(p->slice_type, p->slice_index); in clock_get_src()
729 if (!clk_root_target) in clock_get_src()
732 val = readl(clk_root_target); in clock_get_src()