Searched refs:ahub (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-6.6/sound/soc/tegra/ |
H A D | tegra30_ahub.c | 21 #define DRV_NAME "tegra30-ahub" 23 static struct tegra30_ahub *ahub; variable 27 regmap_write(ahub->regmap_apbif, reg, val); in tegra30_apbif_write() 34 regmap_read(ahub->regmap_apbif, reg, &val); in tegra30_apbif_read() 40 regmap_write(ahub->regmap_ahub, reg, val); in tegra30_audio_write() 45 regcache_cache_only(ahub->regmap_apbif, true); in tegra30_ahub_runtime_suspend() 46 regcache_cache_only(ahub->regmap_ahub, true); in tegra30_ahub_runtime_suspend() 48 clk_bulk_disable_unprepare(ahub->nclocks, ahub->clocks); in tegra30_ahub_runtime_suspend() 68 ret = reset_control_bulk_assert(ahub in tegra30_ahub_runtime_resume() [all...] |
H A D | tegra210_ahub.c | 21 struct tegra_ahub *ahub = snd_soc_component_get_drvdata(cmpnt); in tegra_ahub_get_value_enum() local 29 for (i = 0; i < ahub->soc_data->reg_count; i++) { in tegra_ahub_get_value_enum() 34 reg_val &= ahub->soc_data->mask[i]; in tegra_ahub_get_value_enum() 58 struct tegra_ahub *ahub = snd_soc_component_get_drvdata(cmpnt); in tegra_ahub_put_value_enum() local 82 for (i = 0; i < ahub->soc_data->reg_count; i++) { in tegra_ahub_put_value_enum() 85 update[i].mask = ahub->soc_data->mask[i]; in tegra_ahub_put_value_enum() 1315 { .compatible = "nvidia,tegra210-ahub", .data = &soc_data_tegra210 }, 1316 { .compatible = "nvidia,tegra186-ahub", .data = &soc_data_tegra186 }, 1317 { .compatible = "nvidia,tegra234-ahub", .data = &soc_data_tegra234 }, 1324 struct tegra_ahub *ahub in tegra_ahub_runtime_suspend() local 1336 struct tegra_ahub *ahub = dev_get_drvdata(dev); tegra_ahub_runtime_resume() local 1353 struct tegra_ahub *ahub; tegra_ahub_probe() local [all...] |
H A D | Makefile | 9 snd-soc-tegra30-ahub-objs := tegra30_ahub.o 11 snd-soc-tegra210-ahub-objs := tegra210_ahub.o 29 obj-$(CONFIG_SND_SOC_TEGRA30_AHUB) += snd-soc-tegra30-ahub.o 32 obj-$(CONFIG_SND_SOC_TEGRA210_AHUB) += snd-soc-tegra210-ahub.o
|
/kernel/linux/linux-5.10/sound/soc/tegra/ |
H A D | tegra30_ahub.c | 21 #define DRV_NAME "tegra30-ahub" 23 static struct tegra30_ahub *ahub; variable 27 regmap_write(ahub->regmap_apbif, reg, val); in tegra30_apbif_write() 34 regmap_read(ahub->regmap_apbif, reg, &val); in tegra30_apbif_read() 40 regmap_write(ahub->regmap_ahub, reg, val); in tegra30_audio_write() 45 regcache_cache_only(ahub->regmap_apbif, true); in tegra30_ahub_runtime_suspend() 46 regcache_cache_only(ahub->regmap_ahub, true); in tegra30_ahub_runtime_suspend() 48 clk_disable_unprepare(ahub->clk_apbif); in tegra30_ahub_runtime_suspend() 49 clk_disable_unprepare(ahub->clk_d_audio); in tegra30_ahub_runtime_suspend() 69 ret = clk_prepare_enable(ahub in tegra30_ahub_runtime_resume() [all...] |
H A D | tegra210_ahub.c | 21 struct tegra_ahub *ahub = snd_soc_component_get_drvdata(cmpnt); in tegra_ahub_get_value_enum() local 29 for (i = 0; i < ahub->soc_data->reg_count; i++) { in tegra_ahub_get_value_enum() 34 reg_val &= ahub->soc_data->mask[i]; in tegra_ahub_get_value_enum() 58 struct tegra_ahub *ahub = snd_soc_component_get_drvdata(cmpnt); in tegra_ahub_put_value_enum() local 82 for (i = 0; i < ahub->soc_data->reg_count; i++) { in tegra_ahub_put_value_enum() 85 update[i].mask = ahub->soc_data->mask[i]; in tegra_ahub_put_value_enum() 564 { .compatible = "nvidia,tegra210-ahub", .data = &soc_data_tegra210 }, 565 { .compatible = "nvidia,tegra186-ahub", .data = &soc_data_tegra186 }, 572 struct tegra_ahub *ahub = dev_get_drvdata(dev); in tegra_ahub_runtime_suspend() local 574 regcache_cache_only(ahub in tegra_ahub_runtime_suspend() 584 struct tegra_ahub *ahub = dev_get_drvdata(dev); tegra_ahub_runtime_resume() local 601 struct tegra_ahub *ahub; tegra_ahub_probe() local [all...] |
H A D | Makefile | 9 snd-soc-tegra30-ahub-objs := tegra30_ahub.o 11 snd-soc-tegra210-ahub-objs := tegra210_ahub.o 23 obj-$(CONFIG_SND_SOC_TEGRA30_AHUB) += snd-soc-tegra30-ahub.o 26 obj-$(CONFIG_SND_SOC_TEGRA210_AHUB) += snd-soc-tegra210-ahub.o
|
Completed in 7 milliseconds