Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
clock-pcom.h File Reference

Go to the source code of this file.

Macros

#define P_ACPU_CLK   0 /* Applications processor clock */
 
#define P_ADM_CLK   1 /* Applications data mover clock */
 
#define P_ADSP_CLK   2 /* ADSP clock */
 
#define P_EBI1_CLK   3 /* External bus interface 1 clock */
 
#define P_EBI2_CLK   4 /* External bus interface 2 clock */
 
#define P_ECODEC_CLK   5 /* External CODEC clock */
 
#define P_EMDH_CLK   6 /* External MDDI host clock */
 
#define P_GP_CLK   7 /* General purpose clock */
 
#define P_GRP_3D_CLK   8 /* Graphics clock */
 
#define P_I2C_CLK   9 /* I2C clock */
 
#define P_ICODEC_RX_CLK   10 /* Internal CODEX RX clock */
 
#define P_ICODEC_TX_CLK   11 /* Internal CODEX TX clock */
 
#define P_IMEM_CLK   12 /* Internal graphics memory clock */
 
#define P_MDC_CLK   13 /* MDDI client clock */
 
#define P_MDP_CLK   14 /* Mobile display processor clock */
 
#define P_PBUS_CLK   15 /* Peripheral bus clock */
 
#define P_PCM_CLK   16 /* PCM clock */
 
#define P_PMDH_CLK   17 /* Primary MDDI host clock */
 
#define P_SDAC_CLK   18 /* Stereo DAC clock */
 
#define P_SDC1_CLK   19 /* Secure Digital Card clocks */
 
#define P_SDC1_P_CLK   20
 
#define P_SDC2_CLK   21
 
#define P_SDC2_P_CLK   22
 
#define P_SDC3_CLK   23
 
#define P_SDC3_P_CLK   24
 
#define P_SDC4_CLK   25
 
#define P_SDC4_P_CLK   26
 
#define P_TSIF_CLK   27 /* Transport Stream Interface clocks */
 
#define P_TSIF_REF_CLK   28
 
#define P_TV_DAC_CLK   29 /* TV clocks */
 
#define P_TV_ENC_CLK   30
 
#define P_UART1_CLK   31 /* UART clocks */
 
#define P_UART2_CLK   32
 
#define P_UART3_CLK   33
 
#define P_UART1DM_CLK   34
 
#define P_UART2DM_CLK   35
 
#define P_USB_HS_CLK   36 /* High speed USB core clock */
 
#define P_USB_HS_P_CLK   37 /* High speed USB pbus clock */
 
#define P_USB_OTG_CLK   38 /* Full speed USB clock */
 
#define P_VDC_CLK   39 /* Video controller clock */
 
#define P_VFE_MDC_CLK   40 /* Camera / Video Front End clock */
 
#define P_VFE_CLK   41 /* VFE MDDI client clock */
 
#define P_MDP_LCDC_PCLK_CLK   42
 
#define P_MDP_LCDC_PAD_PCLK_CLK   43
 
#define P_MDP_VSYNC_CLK   44
 
#define P_SPI_CLK   45
 
#define P_VFE_AXI_CLK   46
 
#define P_USB_HS2_CLK   47 /* High speed USB 2 core clock */
 
#define P_USB_HS2_P_CLK   48 /* High speed USB 2 pbus clock */
 
#define P_USB_HS3_CLK   49 /* High speed USB 3 core clock */
 
#define P_USB_HS3_P_CLK   50 /* High speed USB 3 pbus clock */
 
#define P_GRP_3D_P_CLK   51 /* Graphics pbus clock */
 
#define P_USB_PHY_CLK   52 /* USB PHY clock */
 
#define P_USB_HS_CORE_CLK   53 /* High speed USB 1 core clock */
 
#define P_USB_HS2_CORE_CLK   54 /* High speed USB 2 core clock */
 
#define P_USB_HS3_CORE_CLK   55 /* High speed USB 3 core clock */
 
#define P_CAM_M_CLK   56
 
#define P_CAMIF_PAD_P_CLK   57
 
#define P_GRP_2D_CLK   58
 
#define P_GRP_2D_P_CLK   59
 
#define P_I2S_CLK   60
 
#define P_JPEG_CLK   61
 
#define P_JPEG_P_CLK   62
 
#define P_LPA_CODEC_CLK   63
 
#define P_LPA_CORE_CLK   64
 
#define P_LPA_P_CLK   65
 
#define P_MDC_IO_CLK   66
 
#define P_MDC_P_CLK   67
 
#define P_MFC_CLK   68
 
#define P_MFC_DIV2_CLK   69
 
#define P_MFC_P_CLK   70
 
#define P_QUP_I2C_CLK   71
 
#define P_ROTATOR_IMEM_CLK   72
 
#define P_ROTATOR_P_CLK   73
 
#define P_VFE_CAMIF_CLK   74
 
#define P_VFE_P_CLK   75
 
#define P_VPE_CLK   76
 
#define P_I2C_2_CLK   77
 
#define P_MI2S_CODEC_RX_S_CLK   78
 
#define P_MI2S_CODEC_RX_M_CLK   79
 
#define P_MI2S_CODEC_TX_S_CLK   80
 
#define P_MI2S_CODEC_TX_M_CLK   81
 
#define P_PMDH_P_CLK   82
 
#define P_EMDH_P_CLK   83
 
#define P_SPI_P_CLK   84
 
#define P_TSIF_P_CLK   85
 
#define P_MDP_P_CLK   86
 
#define P_SDAC_M_CLK   87
 
#define P_MI2S_S_CLK   88
 
#define P_MI2S_M_CLK   89
 
#define P_AXI_ROTATOR_CLK   90
 
#define P_HDMI_CLK   91
 
#define P_CSI0_CLK   92
 
#define P_CSI0_VFE_CLK   93
 
#define P_CSI0_P_CLK   94
 
#define P_CSI1_CLK   95
 
#define P_CSI1_VFE_CLK   96
 
#define P_CSI1_P_CLK   97
 
#define P_GSBI_CLK   98
 
#define P_GSBI_P_CLK   99
 
#define P_CE_CLK   100 /* Crypto engine */
 
#define P_CODEC_SSBI_CLK   101
 
#define P_NR_CLKS   102
 
#define CLK_PCOM(clk_name, clk_id, clk_dev, clk_flags)
 

Functions

int pc_clk_reset (unsigned id, enum clk_reset_action action)
 

Variables

struct clk_ops clk_ops_pcom
 

Macro Definition Documentation

#define CLK_PCOM (   clk_name,
  clk_id,
  clk_dev,
  clk_flags 
)
Value:
{ \
.con_id = clk_name, \
.dev_id = clk_dev, \
.clk = &(struct clk){ \
.id = P_##clk_id, \
.remote_id = P_##clk_id, \
.ops = &clk_ops_pcom, \
.flags = clk_flags, \
.dbg_name = #clk_id, \
}, \
}

Definition at line 128 of file clock-pcom.h.

#define P_ACPU_CLK   0 /* Applications processor clock */

Definition at line 18 of file clock-pcom.h.

#define P_ADM_CLK   1 /* Applications data mover clock */

Definition at line 19 of file clock-pcom.h.

#define P_ADSP_CLK   2 /* ADSP clock */

Definition at line 20 of file clock-pcom.h.

#define P_AXI_ROTATOR_CLK   90

Definition at line 108 of file clock-pcom.h.

#define P_CAM_M_CLK   56

Definition at line 74 of file clock-pcom.h.

#define P_CAMIF_PAD_P_CLK   57

Definition at line 75 of file clock-pcom.h.

#define P_CE_CLK   100 /* Crypto engine */

Definition at line 118 of file clock-pcom.h.

#define P_CODEC_SSBI_CLK   101

Definition at line 119 of file clock-pcom.h.

#define P_CSI0_CLK   92

Definition at line 110 of file clock-pcom.h.

#define P_CSI0_P_CLK   94

Definition at line 112 of file clock-pcom.h.

#define P_CSI0_VFE_CLK   93

Definition at line 111 of file clock-pcom.h.

#define P_CSI1_CLK   95

Definition at line 113 of file clock-pcom.h.

#define P_CSI1_P_CLK   97

Definition at line 115 of file clock-pcom.h.

#define P_CSI1_VFE_CLK   96

Definition at line 114 of file clock-pcom.h.

#define P_EBI1_CLK   3 /* External bus interface 1 clock */

Definition at line 21 of file clock-pcom.h.

#define P_EBI2_CLK   4 /* External bus interface 2 clock */

Definition at line 22 of file clock-pcom.h.

#define P_ECODEC_CLK   5 /* External CODEC clock */

Definition at line 23 of file clock-pcom.h.

#define P_EMDH_CLK   6 /* External MDDI host clock */

Definition at line 24 of file clock-pcom.h.

#define P_EMDH_P_CLK   83

Definition at line 101 of file clock-pcom.h.

#define P_GP_CLK   7 /* General purpose clock */

Definition at line 25 of file clock-pcom.h.

#define P_GRP_2D_CLK   58

Definition at line 76 of file clock-pcom.h.

#define P_GRP_2D_P_CLK   59

Definition at line 77 of file clock-pcom.h.

#define P_GRP_3D_CLK   8 /* Graphics clock */

Definition at line 26 of file clock-pcom.h.

#define P_GRP_3D_P_CLK   51 /* Graphics pbus clock */

Definition at line 69 of file clock-pcom.h.

#define P_GSBI_CLK   98

Definition at line 116 of file clock-pcom.h.

#define P_GSBI_P_CLK   99

Definition at line 117 of file clock-pcom.h.

#define P_HDMI_CLK   91

Definition at line 109 of file clock-pcom.h.

#define P_I2C_2_CLK   77

Definition at line 95 of file clock-pcom.h.

#define P_I2C_CLK   9 /* I2C clock */

Definition at line 27 of file clock-pcom.h.

#define P_I2S_CLK   60

Definition at line 78 of file clock-pcom.h.

#define P_ICODEC_RX_CLK   10 /* Internal CODEX RX clock */

Definition at line 28 of file clock-pcom.h.

#define P_ICODEC_TX_CLK   11 /* Internal CODEX TX clock */

Definition at line 29 of file clock-pcom.h.

#define P_IMEM_CLK   12 /* Internal graphics memory clock */

Definition at line 30 of file clock-pcom.h.

#define P_JPEG_CLK   61

Definition at line 79 of file clock-pcom.h.

#define P_JPEG_P_CLK   62

Definition at line 80 of file clock-pcom.h.

#define P_LPA_CODEC_CLK   63

Definition at line 81 of file clock-pcom.h.

#define P_LPA_CORE_CLK   64

Definition at line 82 of file clock-pcom.h.

#define P_LPA_P_CLK   65

Definition at line 83 of file clock-pcom.h.

#define P_MDC_CLK   13 /* MDDI client clock */

Definition at line 31 of file clock-pcom.h.

#define P_MDC_IO_CLK   66

Definition at line 84 of file clock-pcom.h.

#define P_MDC_P_CLK   67

Definition at line 85 of file clock-pcom.h.

#define P_MDP_CLK   14 /* Mobile display processor clock */

Definition at line 32 of file clock-pcom.h.

#define P_MDP_LCDC_PAD_PCLK_CLK   43

Definition at line 61 of file clock-pcom.h.

#define P_MDP_LCDC_PCLK_CLK   42

Definition at line 60 of file clock-pcom.h.

#define P_MDP_P_CLK   86

Definition at line 104 of file clock-pcom.h.

#define P_MDP_VSYNC_CLK   44

Definition at line 62 of file clock-pcom.h.

#define P_MFC_CLK   68

Definition at line 86 of file clock-pcom.h.

#define P_MFC_DIV2_CLK   69

Definition at line 87 of file clock-pcom.h.

#define P_MFC_P_CLK   70

Definition at line 88 of file clock-pcom.h.

#define P_MI2S_CODEC_RX_M_CLK   79

Definition at line 97 of file clock-pcom.h.

#define P_MI2S_CODEC_RX_S_CLK   78

Definition at line 96 of file clock-pcom.h.

#define P_MI2S_CODEC_TX_M_CLK   81

Definition at line 99 of file clock-pcom.h.

#define P_MI2S_CODEC_TX_S_CLK   80

Definition at line 98 of file clock-pcom.h.

#define P_MI2S_M_CLK   89

Definition at line 107 of file clock-pcom.h.

#define P_MI2S_S_CLK   88

Definition at line 106 of file clock-pcom.h.

#define P_NR_CLKS   102

Definition at line 121 of file clock-pcom.h.

#define P_PBUS_CLK   15 /* Peripheral bus clock */

Definition at line 33 of file clock-pcom.h.

#define P_PCM_CLK   16 /* PCM clock */

Definition at line 34 of file clock-pcom.h.

#define P_PMDH_CLK   17 /* Primary MDDI host clock */

Definition at line 35 of file clock-pcom.h.

#define P_PMDH_P_CLK   82

Definition at line 100 of file clock-pcom.h.

#define P_QUP_I2C_CLK   71

Definition at line 89 of file clock-pcom.h.

#define P_ROTATOR_IMEM_CLK   72

Definition at line 90 of file clock-pcom.h.

#define P_ROTATOR_P_CLK   73

Definition at line 91 of file clock-pcom.h.

#define P_SDAC_CLK   18 /* Stereo DAC clock */

Definition at line 36 of file clock-pcom.h.

#define P_SDAC_M_CLK   87

Definition at line 105 of file clock-pcom.h.

#define P_SDC1_CLK   19 /* Secure Digital Card clocks */

Definition at line 37 of file clock-pcom.h.

#define P_SDC1_P_CLK   20

Definition at line 38 of file clock-pcom.h.

#define P_SDC2_CLK   21

Definition at line 39 of file clock-pcom.h.

#define P_SDC2_P_CLK   22

Definition at line 40 of file clock-pcom.h.

#define P_SDC3_CLK   23

Definition at line 41 of file clock-pcom.h.

#define P_SDC3_P_CLK   24

Definition at line 42 of file clock-pcom.h.

#define P_SDC4_CLK   25

Definition at line 43 of file clock-pcom.h.

#define P_SDC4_P_CLK   26

Definition at line 44 of file clock-pcom.h.

#define P_SPI_CLK   45

Definition at line 63 of file clock-pcom.h.

#define P_SPI_P_CLK   84

Definition at line 102 of file clock-pcom.h.

#define P_TSIF_CLK   27 /* Transport Stream Interface clocks */

Definition at line 45 of file clock-pcom.h.

#define P_TSIF_P_CLK   85

Definition at line 103 of file clock-pcom.h.

#define P_TSIF_REF_CLK   28

Definition at line 46 of file clock-pcom.h.

#define P_TV_DAC_CLK   29 /* TV clocks */

Definition at line 47 of file clock-pcom.h.

#define P_TV_ENC_CLK   30

Definition at line 48 of file clock-pcom.h.

#define P_UART1_CLK   31 /* UART clocks */

Definition at line 49 of file clock-pcom.h.

#define P_UART1DM_CLK   34

Definition at line 52 of file clock-pcom.h.

#define P_UART2_CLK   32

Definition at line 50 of file clock-pcom.h.

#define P_UART2DM_CLK   35

Definition at line 53 of file clock-pcom.h.

#define P_UART3_CLK   33

Definition at line 51 of file clock-pcom.h.

#define P_USB_HS2_CLK   47 /* High speed USB 2 core clock */

Definition at line 65 of file clock-pcom.h.

#define P_USB_HS2_CORE_CLK   54 /* High speed USB 2 core clock */

Definition at line 72 of file clock-pcom.h.

#define P_USB_HS2_P_CLK   48 /* High speed USB 2 pbus clock */

Definition at line 66 of file clock-pcom.h.

#define P_USB_HS3_CLK   49 /* High speed USB 3 core clock */

Definition at line 67 of file clock-pcom.h.

#define P_USB_HS3_CORE_CLK   55 /* High speed USB 3 core clock */

Definition at line 73 of file clock-pcom.h.

#define P_USB_HS3_P_CLK   50 /* High speed USB 3 pbus clock */

Definition at line 68 of file clock-pcom.h.

#define P_USB_HS_CLK   36 /* High speed USB core clock */

Definition at line 54 of file clock-pcom.h.

#define P_USB_HS_CORE_CLK   53 /* High speed USB 1 core clock */

Definition at line 71 of file clock-pcom.h.

#define P_USB_HS_P_CLK   37 /* High speed USB pbus clock */

Definition at line 55 of file clock-pcom.h.

#define P_USB_OTG_CLK   38 /* Full speed USB clock */

Definition at line 56 of file clock-pcom.h.

#define P_USB_PHY_CLK   52 /* USB PHY clock */

Definition at line 70 of file clock-pcom.h.

#define P_VDC_CLK   39 /* Video controller clock */

Definition at line 57 of file clock-pcom.h.

#define P_VFE_AXI_CLK   46

Definition at line 64 of file clock-pcom.h.

#define P_VFE_CAMIF_CLK   74

Definition at line 92 of file clock-pcom.h.

#define P_VFE_CLK   41 /* VFE MDDI client clock */

Definition at line 59 of file clock-pcom.h.

#define P_VFE_MDC_CLK   40 /* Camera / Video Front End clock */

Definition at line 58 of file clock-pcom.h.

#define P_VFE_P_CLK   75

Definition at line 93 of file clock-pcom.h.

#define P_VPE_CLK   76

Definition at line 94 of file clock-pcom.h.

Function Documentation

int pc_clk_reset ( unsigned  id,
enum clk_reset_action  action 
)

Definition at line 42 of file clock-pcom.c.

Variable Documentation

struct clk_ops clk_ops_pcom

Definition at line 125 of file clock-pcom.c.