/* SPDX-License-Identifier: GPL-2.0-only */ /* * tegra_pcm.h - Definitions for Tegra PCM driver * * Author: Stephen Warren * Copyright (C) 2010,2012 - NVIDIA, Inc. * * Based on code copyright/by: * * Copyright (c) 2009-2010, NVIDIA Corporation. * Scott Peterson * * Copyright (C) 2010 Google, Inc. * Iliyan Malchev */ #ifndef __TEGRA_PCM_H__ #define __TEGRA_PCM_H__ struct snd_dmaengine_pcm_config; int tegra_pcm_platform_register(struct device *dev); int tegra_pcm_platform_register_with_chan_names(struct device *dev, struct snd_dmaengine_pcm_config *config, char *txdmachan, char *rxdmachan); void tegra_pcm_platform_unregister(struct device *dev); #endif