2019-05-30 06:57:50 +07:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2011-01-08 12:36:13 +07:00
|
|
|
/*
|
|
|
|
* tegra_pcm.h - Definitions for Tegra PCM driver
|
|
|
|
*
|
|
|
|
* Author: Stephen Warren <swarren@nvidia.com>
|
2012-03-21 03:55:49 +07:00
|
|
|
* Copyright (C) 2010,2012 - NVIDIA, Inc.
|
2011-01-08 12:36:13 +07:00
|
|
|
*
|
|
|
|
* Based on code copyright/by:
|
|
|
|
*
|
|
|
|
* Copyright (c) 2009-2010, NVIDIA Corporation.
|
|
|
|
* Scott Peterson <speterson@nvidia.com>
|
|
|
|
*
|
|
|
|
* Copyright (C) 2010 Google, Inc.
|
|
|
|
* Iliyan Malchev <malchev@google.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __TEGRA_PCM_H__
|
|
|
|
#define __TEGRA_PCM_H__
|
|
|
|
|
2013-11-12 05:21:01 +07:00
|
|
|
struct snd_dmaengine_pcm_config;
|
|
|
|
|
2012-03-21 03:55:49 +07:00
|
|
|
int tegra_pcm_platform_register(struct device *dev);
|
2013-11-12 05:21:01 +07:00
|
|
|
int tegra_pcm_platform_register_with_chan_names(struct device *dev,
|
|
|
|
struct snd_dmaengine_pcm_config *config,
|
|
|
|
char *txdmachan, char *rxdmachan);
|
2012-03-21 03:55:49 +07:00
|
|
|
void tegra_pcm_platform_unregister(struct device *dev);
|
|
|
|
|
2011-01-08 12:36:13 +07:00
|
|
|
#endif
|