AudDrv_Clk.h 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. /*
  2. * Copyright (C) 2007 The Android Open Source Project
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. /*******************************************************************************
  17. *
  18. * Filename:
  19. * ---------
  20. * AudDrv_Clk.h
  21. *
  22. * Project:
  23. * --------
  24. * MT6583 Audio Driver clock control
  25. *
  26. * Description:
  27. * ------------
  28. * Audio clcok control
  29. *
  30. * Author:
  31. * -------
  32. * Chipeng Chang (mtk02308)
  33. *
  34. *------------------------------------------------------------------------------
  35. *
  36. *
  37. *******************************************************************************/
  38. #ifndef _AUDDRV_CLK_H_
  39. #define _AUDDRV_CLK_H_
  40. /*****************************************************************************
  41. * C O M P I L E R F L A G S
  42. *****************************************************************************/
  43. /*****************************************************************************
  44. * E X T E R N A L R E F E R E N C E S
  45. *****************************************************************************/
  46. #include "AudDrv_Common.h"
  47. #include "AudDrv_Def.h"
  48. /*****************************************************************************
  49. * D A T A T Y P E S
  50. *****************************************************************************/
  51. /*****************************************************************************
  52. * M A C R O
  53. *****************************************************************************/
  54. /*****************************************************************************
  55. * FUNCTION D E F I N I T I O N
  56. *****************************************************************************/
  57. void AudDrv_Clk_AllOn(void);
  58. void Auddrv_Bus_Init(void);
  59. void AudDrv_Clk_Power_On(void);
  60. void AudDrv_Clk_Power_Off(void);
  61. void AudDrv_Clk_On(void);
  62. void AudDrv_Clk_Off(void);
  63. void AudDrv_ANA_Clk_On(void);
  64. void AudDrv_ANA_Clk_Off(void);
  65. void AudDrv_I2S_Clk_On(void);
  66. void AudDrv_I2S_Clk_Off(void);
  67. void AudDrv_Core_Clk_On(void);
  68. void AudDrv_Core_Clk_Off(void);
  69. void AudDrv_ADC_Clk_On(void);
  70. void AudDrv_ADC_Clk_Off(void);
  71. void AudDrv_ADC2_Clk_On(void);
  72. void AudDrv_ADC2_Clk_Off(void);
  73. void AudDrv_ADC3_Clk_On(void);
  74. void AudDrv_ADC3_Clk_Off(void);
  75. void AudDrv_HDMI_Clk_On(void);
  76. void AudDrv_HDMI_Clk_Off(void);
  77. void AudDrv_Suspend_Clk_On(void);
  78. void AudDrv_Suspend_Clk_Off(void);
  79. void AudDrv_APLL24M_Clk_On(void);
  80. void AudDrv_APLL24M_Clk_Off(void);
  81. void AudDrv_APLL22M_Clk_On(void);
  82. void AudDrv_APLL22M_Clk_Off(void);
  83. void AudDrv_APLL1Tuner_Clk_On(void);
  84. void AudDrv_APLL1Tuner_Clk_Off(void);
  85. void AudDrv_APLL2Tuner_Clk_On(void);
  86. void AudDrv_APLL2Tuner_Clk_Off(void);
  87. void AudDrv_Emi_Clk_On(void);
  88. void AudDrv_Emi_Clk_Off(void);
  89. void AudDrv_Clk_Reset(void);
  90. #endif