bolero-slave-internal.h 827 B

123456789101112131415161718192021222324252627
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (c) 2020, The Linux Foundation. All rights reserved.
  4. */
  5. /* from Slave to bolero events */
  6. enum {
  7. SLV_BOLERO_EVT_RX_MUTE = 1, /* for RX mute/unmute */
  8. SLV_BOLERO_EVT_IMPED_TRUE, /* for imped true */
  9. SLV_BOLERO_EVT_IMPED_FALSE, /* for imped false */
  10. SLV_BOLERO_EVT_RX_COMPANDER_SOFT_RST,
  11. SLV_BOLERO_EVT_BCS_CLK_OFF,
  12. SLV_BOLERO_EVT_RX_PA_GAIN_UPDATE,
  13. SLV_BOLERO_EVT_HPHL_HD2_ENABLE, /* to enable hd2 config for hphl */
  14. SLV_BOLERO_EVT_HPHR_HD2_ENABLE, /* to enable hd2 config for hphr */
  15. };
  16. /* from bolero to SLV events */
  17. enum {
  18. BOLERO_SLV_EVT_TX_CH_HOLD_CLEAR = 1,
  19. BOLERO_SLV_EVT_PA_OFF_PRE_SSR,
  20. BOLERO_SLV_EVT_SSR_DOWN,
  21. BOLERO_SLV_EVT_SSR_UP,
  22. BOLERO_SLV_EVT_PA_ON_POST_FSCLK,
  23. BOLERO_SLV_EVT_PA_ON_POST_FSCLK_ADIE_LB,
  24. BOLERO_SLV_EVT_CLK_NOTIFY,
  25. };