icdc 195 sound/soc/codecs/jz4725b.c struct jz_icdc *icdc = snd_soc_component_get_drvdata(codec); icdc 196 sound/soc/codecs/jz4725b.c struct regmap *map = icdc->regmap; icdc 301 sound/soc/codecs/jz4725b.c struct jz_icdc *icdc = snd_soc_component_get_drvdata(component); icdc 302 sound/soc/codecs/jz4725b.c struct regmap *map = icdc->regmap; icdc 332 sound/soc/codecs/jz4725b.c struct jz_icdc *icdc = snd_soc_component_get_drvdata(component); icdc 333 sound/soc/codecs/jz4725b.c struct regmap *map = icdc->regmap; icdc 335 sound/soc/codecs/jz4725b.c clk_prepare_enable(icdc->clk); icdc 350 sound/soc/codecs/jz4725b.c struct jz_icdc *icdc = snd_soc_component_get_drvdata(component); icdc 352 sound/soc/codecs/jz4725b.c clk_disable_unprepare(icdc->clk); icdc 378 sound/soc/codecs/jz4725b.c struct jz_icdc *icdc = snd_soc_component_get_drvdata(dai->component); icdc 407 sound/soc/codecs/jz4725b.c regmap_update_bits(icdc->regmap, icdc 412 sound/soc/codecs/jz4725b.c regmap_update_bits(icdc->regmap, icdc 417 sound/soc/codecs/jz4725b.c regmap_update_bits(icdc->regmap, icdc 422 sound/soc/codecs/jz4725b.c regmap_update_bits(icdc->regmap, icdc 467 sound/soc/codecs/jz4725b.c static int jz4725b_codec_io_wait(struct jz_icdc *icdc) icdc 471 sound/soc/codecs/jz4725b.c return readl_poll_timeout(icdc->base + ICDC_RGADW_OFFSET, reg, icdc 478 sound/soc/codecs/jz4725b.c struct jz_icdc *icdc = context; icdc 483 sound/soc/codecs/jz4725b.c ret = jz4725b_codec_io_wait(icdc); icdc 487 sound/soc/codecs/jz4725b.c tmp = readl(icdc->base + ICDC_RGADW_OFFSET); icdc 490 sound/soc/codecs/jz4725b.c writel(tmp, icdc->base + ICDC_RGADW_OFFSET); icdc 494 sound/soc/codecs/jz4725b.c *val = readl(icdc->base + ICDC_RGDATA_OFFSET) & icdc 503 sound/soc/codecs/jz4725b.c struct jz_icdc *icdc = context; icdc 506 sound/soc/codecs/jz4725b.c ret = jz4725b_codec_io_wait(icdc); icdc 511 sound/soc/codecs/jz4725b.c icdc->base + ICDC_RGADW_OFFSET); icdc 513 sound/soc/codecs/jz4725b.c ret = jz4725b_codec_io_wait(icdc); icdc 547 sound/soc/codecs/jz4725b.c struct jz_icdc *icdc; icdc 550 sound/soc/codecs/jz4725b.c icdc = devm_kzalloc(dev, sizeof(*icdc), GFP_KERNEL); icdc 551 sound/soc/codecs/jz4725b.c if (!icdc) icdc 554 sound/soc/codecs/jz4725b.c icdc->base = devm_platform_ioremap_resource(pdev, 0); icdc 555 sound/soc/codecs/jz4725b.c if (IS_ERR(icdc->base)) icdc 556 sound/soc/codecs/jz4725b.c return PTR_ERR(icdc->base); icdc 558 sound/soc/codecs/jz4725b.c icdc->regmap = devm_regmap_init(dev, NULL, icdc, icdc 560 sound/soc/codecs/jz4725b.c if (IS_ERR(icdc->regmap)) icdc 561 sound/soc/codecs/jz4725b.c return PTR_ERR(icdc->regmap); icdc 563 sound/soc/codecs/jz4725b.c icdc->clk = devm_clk_get(&pdev->dev, "aic"); icdc 564 sound/soc/codecs/jz4725b.c if (IS_ERR(icdc->clk)) icdc 565 sound/soc/codecs/jz4725b.c return PTR_ERR(icdc->clk); icdc 567 sound/soc/codecs/jz4725b.c platform_set_drvdata(pdev, icdc);