Lines Matching refs:alchemy_rdsys
130 t = alchemy_rdsys(AU1000_SYS_CPUPLL) & 0x7f; in alchemy_clk_cpu_recalc()
177 return (alchemy_rdsys(a->reg) & 0xff) * parent_rate; in alchemy_clk_aux_recalc()
261 unsigned long v = (alchemy_rdsys(AU1000_SYS_POWERCTRL) & 3) + 2; in alchemy_clk_setup_sysbus()
469 v = alchemy_rdsys(c->reg); in alchemy_clk_fgv1_en()
480 unsigned long v = alchemy_rdsys(c->reg) >> (c->shift + 1); in alchemy_clk_fgv1_isen()
491 v = alchemy_rdsys(c->reg); in alchemy_clk_fgv1_dis()
503 v = alchemy_rdsys(c->reg); in alchemy_clk_fgv1_setp()
518 return (alchemy_rdsys(c->reg) >> c->shift) & 1; in alchemy_clk_fgv1_getp()
532 v = alchemy_rdsys(c->reg); in alchemy_clk_fgv1_setr()
545 unsigned long v = alchemy_rdsys(c->reg) >> (c->shift + 2); in alchemy_clk_fgv1_recalc()
573 unsigned long v = alchemy_rdsys(c->reg); in __alchemy_clk_fgv2_en()
598 return ((alchemy_rdsys(c->reg) >> c->shift) & 3) != 0; in alchemy_clk_fgv2_isen()
607 v = alchemy_rdsys(c->reg); in alchemy_clk_fgv2_dis()
654 v = alchemy_rdsys(c->reg) & (1 << 30); /* test "scale" bit */ in alchemy_clk_fgv2_setr()
659 v = alchemy_rdsys(c->reg); in alchemy_clk_fgv2_setr()
675 v = alchemy_rdsys(c->reg); in alchemy_clk_fgv2_recalc()
690 if (alchemy_rdsys(c->reg) & (1 << 30)) { in alchemy_clk_fgv2_detr()
772 v = alchemy_rdsys(a->reg); in alchemy_clk_init_fgens()
798 unsigned long v = alchemy_rdsys(c->reg); in alchemy_clk_csrc_isen()
805 unsigned long v = alchemy_rdsys(c->reg); in __alchemy_clk_csrc_en()
832 v = alchemy_rdsys(c->reg); in alchemy_clk_csrc_dis()
864 unsigned long v = (alchemy_rdsys(c->reg) >> c->shift) & 3; in alchemy_clk_csrc_recalc()
893 v = alchemy_rdsys(c->reg); in alchemy_clk_csrc_setr()
993 v = alchemy_rdsys(a->reg); in alchemy_clk_setup_imux()