ahub               23 sound/soc/tegra/tegra30_ahub.c static struct tegra30_ahub *ahub;
ahub               27 sound/soc/tegra/tegra30_ahub.c 	regmap_write(ahub->regmap_apbif, reg, val);
ahub               34 sound/soc/tegra/tegra30_ahub.c 	regmap_read(ahub->regmap_apbif, reg, &val);
ahub               40 sound/soc/tegra/tegra30_ahub.c 	regmap_write(ahub->regmap_ahub, reg, val);
ahub               45 sound/soc/tegra/tegra30_ahub.c 	regcache_cache_only(ahub->regmap_apbif, true);
ahub               46 sound/soc/tegra/tegra30_ahub.c 	regcache_cache_only(ahub->regmap_ahub, true);
ahub               48 sound/soc/tegra/tegra30_ahub.c 	clk_disable_unprepare(ahub->clk_apbif);
ahub               49 sound/soc/tegra/tegra30_ahub.c 	clk_disable_unprepare(ahub->clk_d_audio);
ahub               69 sound/soc/tegra/tegra30_ahub.c 	ret = clk_prepare_enable(ahub->clk_d_audio);
ahub               74 sound/soc/tegra/tegra30_ahub.c 	ret = clk_prepare_enable(ahub->clk_apbif);
ahub               77 sound/soc/tegra/tegra30_ahub.c 		clk_disable(ahub->clk_d_audio);
ahub               81 sound/soc/tegra/tegra30_ahub.c 	regcache_cache_only(ahub->regmap_apbif, false);
ahub               82 sound/soc/tegra/tegra30_ahub.c 	regcache_cache_only(ahub->regmap_ahub, false);
ahub               95 sound/soc/tegra/tegra30_ahub.c 	channel = find_first_zero_bit(ahub->rx_usage,
ahub              100 sound/soc/tegra/tegra30_ahub.c 	__set_bit(channel, ahub->rx_usage);
ahub              104 sound/soc/tegra/tegra30_ahub.c 	*fiforeg = ahub->apbif_addr + TEGRA30_AHUB_CHANNEL_RXFIFO +
ahub              107 sound/soc/tegra/tegra30_ahub.c 	pm_runtime_get_sync(ahub->dev);
ahub              133 sound/soc/tegra/tegra30_ahub.c 	ahub->soc_data->set_audio_cif(ahub->regmap_apbif, reg, &cif_conf);
ahub              135 sound/soc/tegra/tegra30_ahub.c 	pm_runtime_put(ahub->dev);
ahub              146 sound/soc/tegra/tegra30_ahub.c 	pm_runtime_get_sync(ahub->dev);
ahub              154 sound/soc/tegra/tegra30_ahub.c 	pm_runtime_put(ahub->dev);
ahub              165 sound/soc/tegra/tegra30_ahub.c 	pm_runtime_get_sync(ahub->dev);
ahub              173 sound/soc/tegra/tegra30_ahub.c 	pm_runtime_put(ahub->dev);
ahub              183 sound/soc/tegra/tegra30_ahub.c 	__clear_bit(channel, ahub->rx_usage);
ahub              197 sound/soc/tegra/tegra30_ahub.c 	channel = find_first_zero_bit(ahub->tx_usage,
ahub              202 sound/soc/tegra/tegra30_ahub.c 	__set_bit(channel, ahub->tx_usage);
ahub              206 sound/soc/tegra/tegra30_ahub.c 	*fiforeg = ahub->apbif_addr + TEGRA30_AHUB_CHANNEL_TXFIFO +
ahub              209 sound/soc/tegra/tegra30_ahub.c 	pm_runtime_get_sync(ahub->dev);
ahub              235 sound/soc/tegra/tegra30_ahub.c 	ahub->soc_data->set_audio_cif(ahub->regmap_apbif, reg, &cif_conf);
ahub              237 sound/soc/tegra/tegra30_ahub.c 	pm_runtime_put(ahub->dev);
ahub              248 sound/soc/tegra/tegra30_ahub.c 	pm_runtime_get_sync(ahub->dev);
ahub              256 sound/soc/tegra/tegra30_ahub.c 	pm_runtime_put(ahub->dev);
ahub              267 sound/soc/tegra/tegra30_ahub.c 	pm_runtime_get_sync(ahub->dev);
ahub              275 sound/soc/tegra/tegra30_ahub.c 	pm_runtime_put(ahub->dev);
ahub              285 sound/soc/tegra/tegra30_ahub.c 	__clear_bit(channel, ahub->tx_usage);
ahub              297 sound/soc/tegra/tegra30_ahub.c 	pm_runtime_get_sync(ahub->dev);
ahub              303 sound/soc/tegra/tegra30_ahub.c 	pm_runtime_put(ahub->dev);
ahub              314 sound/soc/tegra/tegra30_ahub.c 	pm_runtime_get_sync(ahub->dev);
ahub              320 sound/soc/tegra/tegra30_ahub.c 	pm_runtime_put(ahub->dev);
ahub              518 sound/soc/tegra/tegra30_ahub.c 	if (ahub)
ahub              551 sound/soc/tegra/tegra30_ahub.c 	ahub = devm_kzalloc(&pdev->dev, sizeof(struct tegra30_ahub),
ahub              553 sound/soc/tegra/tegra30_ahub.c 	if (!ahub)
ahub              555 sound/soc/tegra/tegra30_ahub.c 	dev_set_drvdata(&pdev->dev, ahub);
ahub              557 sound/soc/tegra/tegra30_ahub.c 	ahub->soc_data = soc_data;
ahub              558 sound/soc/tegra/tegra30_ahub.c 	ahub->dev = &pdev->dev;
ahub              560 sound/soc/tegra/tegra30_ahub.c 	ahub->clk_d_audio = devm_clk_get(&pdev->dev, "d_audio");
ahub              561 sound/soc/tegra/tegra30_ahub.c 	if (IS_ERR(ahub->clk_d_audio)) {
ahub              563 sound/soc/tegra/tegra30_ahub.c 		ret = PTR_ERR(ahub->clk_d_audio);
ahub              567 sound/soc/tegra/tegra30_ahub.c 	ahub->clk_apbif = devm_clk_get(&pdev->dev, "apbif");
ahub              568 sound/soc/tegra/tegra30_ahub.c 	if (IS_ERR(ahub->clk_apbif)) {
ahub              570 sound/soc/tegra/tegra30_ahub.c 		ret = PTR_ERR(ahub->clk_apbif);
ahub              579 sound/soc/tegra/tegra30_ahub.c 	ahub->apbif_addr = res0->start;
ahub              581 sound/soc/tegra/tegra30_ahub.c 	ahub->regmap_apbif = devm_regmap_init_mmio(&pdev->dev, regs_apbif,
ahub              583 sound/soc/tegra/tegra30_ahub.c 	if (IS_ERR(ahub->regmap_apbif)) {
ahub              585 sound/soc/tegra/tegra30_ahub.c 		ret = PTR_ERR(ahub->regmap_apbif);
ahub              588 sound/soc/tegra/tegra30_ahub.c 	regcache_cache_only(ahub->regmap_apbif, true);
ahub              594 sound/soc/tegra/tegra30_ahub.c 	ahub->regmap_ahub = devm_regmap_init_mmio(&pdev->dev, regs_ahub,
ahub              596 sound/soc/tegra/tegra30_ahub.c 	if (IS_ERR(ahub->regmap_ahub)) {
ahub              598 sound/soc/tegra/tegra30_ahub.c 		ret = PTR_ERR(ahub->regmap_ahub);
ahub              601 sound/soc/tegra/tegra30_ahub.c 	regcache_cache_only(ahub->regmap_ahub, true);
ahub              622 sound/soc/tegra/tegra30_ahub.c 	if (!ahub)
ahub              635 sound/soc/tegra/tegra30_ahub.c 	regcache_mark_dirty(ahub->regmap_ahub);
ahub              636 sound/soc/tegra/tegra30_ahub.c 	regcache_mark_dirty(ahub->regmap_apbif);
ahub              648 sound/soc/tegra/tegra30_ahub.c 	ret = regcache_sync(ahub->regmap_ahub);
ahub              649 sound/soc/tegra/tegra30_ahub.c 	ret |= regcache_sync(ahub->regmap_apbif);