Lines Matching full:grf
77 struct rk322x_grf *grf; in rk3228_gmac_fix_mac_speed() local
102 grf = syscon_get_first_range(ROCKCHIP_SYSCON_GRF); in rk3228_gmac_fix_mac_speed()
103 rk_clrsetreg(&grf->mac_con[1], RK3228_GMAC_CLK_SEL_MASK, clk); in rk3228_gmac_fix_mac_speed()
110 struct rk3288_grf *grf; in rk3288_gmac_fix_mac_speed() local
128 grf = syscon_get_first_range(ROCKCHIP_SYSCON_GRF); in rk3288_gmac_fix_mac_speed()
129 rk_clrsetreg(&grf->soc_con1, RK3288_GMAC_CLK_SEL_MASK, clk); in rk3288_gmac_fix_mac_speed()
136 struct rk3328_grf_regs *grf; in rk3328_gmac_fix_mac_speed() local
161 grf = syscon_get_first_range(ROCKCHIP_SYSCON_GRF); in rk3328_gmac_fix_mac_speed()
162 rk_clrsetreg(&grf->mac_con[1], RK3328_GMAC_CLK_SEL_MASK, clk); in rk3328_gmac_fix_mac_speed()
169 struct rk3368_grf *grf; in rk3368_gmac_fix_mac_speed() local
193 grf = syscon_get_first_range(ROCKCHIP_SYSCON_GRF); in rk3368_gmac_fix_mac_speed()
194 rk_clrsetreg(&grf->soc_con15, RK3368_GMAC_CLK_SEL_MASK, clk); in rk3368_gmac_fix_mac_speed()
201 struct rk3399_grf_regs *grf; in rk3399_gmac_fix_mac_speed() local
219 grf = syscon_get_first_range(ROCKCHIP_SYSCON_GRF); in rk3399_gmac_fix_mac_speed()
220 rk_clrsetreg(&grf->soc_con5, RK3399_GMAC_CLK_SEL_MASK, clk); in rk3399_gmac_fix_mac_speed()
227 struct rv1108_grf *grf; in rv1108_set_rmii_speed() local
252 grf = syscon_get_first_range(ROCKCHIP_SYSCON_GRF); in rv1108_set_rmii_speed()
253 rk_clrsetreg(&grf->gmac_con0, in rv1108_set_rmii_speed()
262 struct rk322x_grf *grf; in rk3228_gmac_set_to_rgmii() local
287 grf = syscon_get_first_range(ROCKCHIP_SYSCON_GRF); in rk3228_gmac_set_to_rgmii()
288 rk_clrsetreg(&grf->mac_con[1], in rk3228_gmac_set_to_rgmii()
296 rk_clrsetreg(&grf->mac_con[0], in rk3228_gmac_set_to_rgmii()
305 struct rk3288_grf *grf; in rk3288_gmac_set_to_rgmii() local
307 grf = syscon_get_first_range(ROCKCHIP_SYSCON_GRF); in rk3288_gmac_set_to_rgmii()
308 rk_clrsetreg(&grf->soc_con1, in rk3288_gmac_set_to_rgmii()
312 rk_clrsetreg(&grf->soc_con3, in rk3288_gmac_set_to_rgmii()
324 struct rk3328_grf_regs *grf; in rk3328_gmac_set_to_rgmii() local
349 grf = syscon_get_first_range(ROCKCHIP_SYSCON_GRF); in rk3328_gmac_set_to_rgmii()
350 rk_clrsetreg(&grf->mac_con[1], in rk3328_gmac_set_to_rgmii()
358 rk_clrsetreg(&grf->mac_con[0], in rk3328_gmac_set_to_rgmii()
367 struct rk3368_grf *grf; in rk3368_gmac_set_to_rgmii() local
387 grf = syscon_get_first_range(ROCKCHIP_SYSCON_GRF); in rk3368_gmac_set_to_rgmii()
388 rk_clrsetreg(&grf->soc_con15, in rk3368_gmac_set_to_rgmii()
392 rk_clrsetreg(&grf->soc_con16, in rk3368_gmac_set_to_rgmii()
404 struct rk3399_grf_regs *grf; in rk3399_gmac_set_to_rgmii() local
406 grf = syscon_get_first_range(ROCKCHIP_SYSCON_GRF); in rk3399_gmac_set_to_rgmii()
408 rk_clrsetreg(&grf->soc_con5, in rk3399_gmac_set_to_rgmii()
412 rk_clrsetreg(&grf->soc_con6, in rk3399_gmac_set_to_rgmii()
424 struct rv1108_grf *grf; in rv1108_gmac_set_to_rmii() local
431 grf = syscon_get_first_range(ROCKCHIP_SYSCON_GRF); in rv1108_gmac_set_to_rmii()
432 rk_clrsetreg(&grf->gmac_con0, in rv1108_gmac_set_to_rmii()