Lines Matching +full:tegra20 +full:- +full:i2s
1 // SPDX-License-Identifier: GPL-2.0-only
3 * tegra20_das.c - Tegra20 DAS driver
6 * Copyright (C) 2010 - NVIDIA, Inc.
17 #define DRV_NAME "tegra20-das"
87 * DAC: Digital audio controller (e.g. I2S or AC97 controller elsewhere)
89 * The Tegra DAS is a mux/cross-bar which can connect each DAP to a specific
101 regmap_write(das->regmap, reg, val); in tegra20_das_write()
132 (TEGRA20_DAS_##name##_STRIDE * (TEGRA20_DAS_##name##_COUNT - 1)))
160 das = devm_kzalloc(&pdev->dev, sizeof(struct tegra20_das), GFP_KERNEL); in tegra20_das_probe()
162 return -ENOMEM; in tegra20_das_probe()
168 das->regmap = devm_regmap_init_mmio(&pdev->dev, regs, in tegra20_das_probe()
170 if (IS_ERR(das->regmap)) { in tegra20_das_probe()
171 dev_err(&pdev->dev, "regmap init failed\n"); in tegra20_das_probe()
172 return PTR_ERR(das->regmap); in tegra20_das_probe()
188 { .compatible = "nvidia,tegra20-das", },
202 MODULE_DESCRIPTION("Tegra20 DAS driver");