Home
last modified time | relevance | path

Searched refs:grf (Results 1 – 4 of 4) sorted by relevance

/sound/soc/codecs/
Drk3328_codec.c34 struct regmap *grf; member
116 regmap_write(rk3328->grf, RK3328_GRF_SOC_CON10, val); in rk3328_analog_output()
435 struct regmap *grf; in rk3328_platform_probe() local
443 grf = syscon_regmap_lookup_by_phandle(rk3328_np, in rk3328_platform_probe()
445 if (IS_ERR(grf)) { in rk3328_platform_probe()
447 return PTR_ERR(grf); in rk3328_platform_probe()
449 rk3328->grf = grf; in rk3328_platform_probe()
451 regmap_write(grf, RK3328_GRF_SOC_CON2, in rk3328_platform_probe()
Dinno_rk3036.c409 struct regmap *grf; in rk3036_codec_platform_probe() local
428 grf = syscon_regmap_lookup_by_phandle(of_node, "rockchip,grf"); in rk3036_codec_platform_probe()
429 if (IS_ERR(grf)) { in rk3036_codec_platform_probe()
431 return PTR_ERR(grf); in rk3036_codec_platform_probe()
433 ret = regmap_write(grf, GRF_SOC_CON0, GRF_ACODEC_SEL); in rk3036_codec_platform_probe()
/sound/soc/rockchip/
Drockchip_spdif.c290 struct regmap *grf; in rk_spdif_probe() local
292 grf = syscon_regmap_lookup_by_phandle(np, "rockchip,grf"); in rk_spdif_probe()
293 if (IS_ERR(grf)) { in rk_spdif_probe()
296 return PTR_ERR(grf); in rk_spdif_probe()
302 regmap_write(grf, RK3288_GRF_SOC_CON2, BIT(1) << 16); in rk_spdif_probe()
Drockchip_i2s.c41 struct regmap *grf; member
355 if (!IS_ERR(i2s->grf) && i2s->pins) { in rockchip_i2s_hw_params()
376 regmap_write(i2s->grf, i2s->pins->reg_offset, val); in rockchip_i2s_hw_params()
603 i2s->grf = syscon_regmap_lookup_by_phandle(node, "rockchip,grf"); in rockchip_i2s_probe()
604 if (!IS_ERR(i2s->grf)) { in rockchip_i2s_probe()