summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/tegra/hda.h
blob: 77269955a4f2f1eec895bddc0ff1c19d3b2828cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// SPDX-License-Identifier: MIT
/*
 * Copyright (C) 2019 NVIDIA Corporation
 */

#ifndef DRM_TEGRA_HDA_H
#define DRM_TEGRA_HDA_H 1

#include <linux/types.h>

struct tegra_hda_format {
	unsigned int sample_rate;
	unsigned int channels;
	unsigned int bits;
	bool pcm;
};

void tegra_hda_parse_format(unsigned int format, struct tegra_hda_format *fmt);

#endif