Lines Matching full:grf
52 struct syscon *grf; member
79 if (sc->grf) in rk_clk_composite_read_4()
80 *val = SYSCON_READ_4(sc->grf, addr); in rk_clk_composite_read_4()
91 if (sc->grf) in rk_clk_composite_write_4()
92 SYSCON_WRITE_4(sc->grf, addr, val | (0xffff << 16)); in rk_clk_composite_write_4()
102 struct syscon *grf; in rk_clk_composite_get_grf() local
104 grf = NULL; in rk_clk_composite_get_grf()
107 if (OF_hasprop(node, "rockchip,grf") && in rk_clk_composite_get_grf()
109 "rockchip,grf", &grf) != 0) { in rk_clk_composite_get_grf()
113 return (grf); in rk_clk_composite_get_grf()
124 sc->grf = rk_clk_composite_get_grf(clk); in rk_clk_composite_init()
125 if (sc->grf == NULL) in rk_clk_composite_init()
126 panic("clock %s has GRF flag set but no syscon is available", in rk_clk_composite_init()