fsp_azalia.h 847 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /* SPDX-License-Identifier: Intel */
  2. /*
  3. * Copyright (C) 2013, Intel Corporation
  4. * Copyright (C) 2015, Google, Inc
  5. */
  6. #ifndef _FSP_AZALIA_H_
  7. #define _FSP_AZALIA_H_
  8. struct __packed azalia_verb_table_header {
  9. u32 vendor_device_id;
  10. u16 sub_system_id;
  11. u8 revision_id; /* 0xff applies to all steppings */
  12. u8 front_panel_support;
  13. u16 number_of_rear_jacks;
  14. u16 number_of_front_jacks;
  15. };
  16. struct __packed azalia_verb_table {
  17. struct azalia_verb_table_header header;
  18. const u32 *data;
  19. };
  20. struct __packed azalia_config {
  21. u8 pme_enable:1;
  22. u8 docking_supported:1;
  23. u8 docking_attached:1;
  24. u8 hdmi_codec_enable:1;
  25. u8 azalia_v_ci_enable:1;
  26. u8 rsvdbits:3;
  27. /* number of verb tables provided by platform */
  28. u8 verb_table_num;
  29. const struct azalia_verb_table *verb_table;
  30. /* delay timer after azalia reset */
  31. u16 reset_wait_timer_ms;
  32. };
  33. #endif