25 lines
826 B
C
25 lines
826 B
C
|
/*
|
||
|
* This header provides macros for Tegra sound bindings.
|
||
|
*
|
||
|
* Copyright (c) 2014, NVIDIA CORPORATION. All rights reserved.
|
||
|
*
|
||
|
* Author: Junghyun Kim <juskim@nvidia.com>
|
||
|
*
|
||
|
* This program is free software; you can redistribute it and/or modify it
|
||
|
* under the terms and conditions of the GNU General Public License,
|
||
|
* version 2, as published by the Free Software Foundation.
|
||
|
*
|
||
|
* This program is distributed in the hope it will be useful, but WITHOUT
|
||
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||
|
* more details.
|
||
|
*/
|
||
|
|
||
|
#ifndef _DT_BINDINGS_TEGRA_ASOC_ALT_H
|
||
|
#define _DT_BINDINGS_TEGRA_ASOC_ALT_H
|
||
|
|
||
|
#define TDM_SLOT_MAP(stream_id, nth_channel, nth_byte) \
|
||
|
((stream_id << 16) | (nth_channel << 8) | nth_byte)
|
||
|
|
||
|
#endif
|