hda.h 358 B

1234567891011121314151617181920
  1. // SPDX-License-Identifier: MIT
  2. /*
  3. * Copyright (C) 2019 NVIDIA Corporation
  4. */
  5. #ifndef DRM_TEGRA_HDA_H
  6. #define DRM_TEGRA_HDA_H 1
  7. #include <linux/types.h>
  8. struct tegra_hda_format {
  9. unsigned int sample_rate;
  10. unsigned int channels;
  11. unsigned int bits;
  12. bool pcm;
  13. };
  14. void tegra_hda_parse_format(unsigned int format, struct tegra_hda_format *fmt);
  15. #endif