^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) // SPDX-License-Identifier: MIT
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) * Copyright (C) 2019 NVIDIA Corporation
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) #ifndef DRM_TEGRA_HDA_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) #define DRM_TEGRA_HDA_H 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) #include <linux/types.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) struct tegra_hda_format {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) unsigned int sample_rate;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) unsigned int channels;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) unsigned int bits;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) bool pcm;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) void tegra_hda_parse_format(unsigned int format, struct tegra_hda_format *fmt);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) #endif