Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: MIT
0002 /*
0003  * Copyright (C) 2019 NVIDIA Corporation
0004  */
0005 
0006 #ifndef DRM_TEGRA_HDA_H
0007 #define DRM_TEGRA_HDA_H 1
0008 
0009 #include <linux/types.h>
0010 
0011 struct tegra_hda_format {
0012     unsigned int sample_rate;
0013     unsigned int channels;
0014     unsigned int bits;
0015     bool pcm;
0016 };
0017 
0018 void tegra_hda_parse_format(unsigned int format, struct tegra_hda_format *fmt);
0019 
0020 #endif