xref: /openbmc/linux/drivers/gpu/drm/tegra/hda.h (revision 20e2fc42)
1 // SPDX-License-Identifier: MIT
2 /*
3  * Copyright (C) 2019 NVIDIA Corporation
4  */
5 
6 #ifndef DRM_TEGRA_HDA_H
7 #define DRM_TEGRA_HDA_H 1
8 
9 #include <linux/types.h>
10 
11 struct tegra_hda_format {
12 	unsigned int sample_rate;
13 	unsigned int channels;
14 	unsigned int bits;
15 	bool pcm;
16 };
17 
18 void tegra_hda_parse_format(unsigned int format, struct tegra_hda_format *fmt);
19 
20 #endif
21