coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
clk_rst.h File Reference

Go to the source code of this file.

Data Structures

struct  clk_rst_ctlr
 

Macros

#define TEGRA_DEV_L   0
 
#define TEGRA_DEV_H   1
 
#define TEGRA_DEV_U   2
 
#define TEGRA_DEV_V   0
 
#define TEGRA_DEV_W   1
 
#define SIMPLE_PLLX   (CLOCK_ID_XCPU - CLOCK_ID_FIRST_SIMPLE)
 
#define CLK_ENB_CPU   (1 << 0)
 
#define SWR_TRIG_SYS_RST   (1 << 2)
 
#define SWR_CSITE_RST   (1 << 9)
 
#define CLK_ENB_CSITE   (1 << 9)
 
#define SUPER_CDIV_ENB_ENABLE   (1 << 31)
 
#define EN_PPSB_STOPCLK   (1 << 0)
 
#define CPU3_CLK_STP_SHIFT   11
 
#define CPU2_CLK_STP_SHIFT   10
 
#define CPU1_CLK_STP_SHIFT   9
 
#define CPU0_CLK_STP_SHIFT   8
 
#define CPU0_CLK_STP_MASK   (1U << CPU0_CLK_STP_SHIFT)
 
#define OSC_FREQ_SHIFT   28
 
#define OSC_FREQ_MASK   (0xf << OSC_FREQ_SHIFT)
 
#define OSC_PREDIV_SHIFT   26
 
#define OSC_PREDIV_MASK   (0x3 << OSC_PREDIV_SHIFT)
 
#define OSC_XOFS_SHIFT   4
 
#define OSC_XOFS_MASK   (0x3F << OSC_XOFS_SHIFT)
 
#define OSC_DRIVE_STRENGTH   7
 
#define OSC_XOBP   (1 << 1)
 
#define OSC_XOE   (1 << 0)
 
#define PLL_BASE_BYPASS   (1U << 31)
 
#define PLL_BASE_ENABLE   (1U << 30)
 
#define PLL_BASE_REF_DIS   (1U << 29)
 
#define PLL_BASE_OVRRIDE   (1U << 28)
 
#define PLL_BASE_LOCK   (1U << 27)
 
#define PLL_BASE_DIVP_SHIFT   20
 
#define PLL_BASE_DIVP_MASK   (7U << PLL_BASE_DIVP_SHIFT)
 
#define PLL_BASE_DIVN_SHIFT   8
 
#define PLL_BASE_DIVN_MASK   (0x3ffU << PLL_BASE_DIVN_SHIFT)
 
#define PLL_BASE_DIVM_SHIFT   0
 
#define PLL_BASE_DIVM_MASK   (0x1f << PLL_BASE_DIVM_SHIFT)
 
#define PLLCX_BASE_DIVP_MASK   (0xfU << PLL_BASE_DIVP_SHIFT)
 
#define PLLM_BASE_DIVP_MASK   (0x1U << PLL_BASE_DIVP_SHIFT)
 
#define PLLCMX_BASE_DIVN_MASK   (0xffU << PLL_BASE_DIVN_SHIFT)
 
#define PLLCMX_BASE_DIVM_MASK   (0xffU << PLL_BASE_DIVM_SHIFT)
 
#define PLLM_MISC1_SETUP_SHIFT   0
 
#define PLLM_MISC1_PD_LSHIFT_PH45_SHIFT   28
 
#define PLLM_MISC1_PD_LSHIFT_PH90_SHIFT   29
 
#define PLLM_MISC1_PD_LSHIFT_PH135_SHIFT   30
 
#define PLLM_MISC2_KCP_SHIFT   1
 
#define PLLM_MISC2_KVCO_SHIFT   0
 
#define PLLM_OUT1_RSTN_RESET_DISABLE   (1 << 0)
 
#define PLL_BASE_DIV_MASK   (0xffffff)
 
#define PLL_OUT_RSTN   (1 << 0)
 
#define PLL_OUT_CLKEN   (1 << 1)
 
#define PLL_OUT_OVR   (1 << 2)
 
#define PLL_OUT_RATIO_SHIFT   8
 
#define PLL_OUT_RATIO_MASK   (0xffU << PLL_OUT_RATIO_SHIFT)
 
#define PLL_OUT1_SHIFT   0
 
#define PLL_OUT2_SHIFT   16
 
#define PLL_OUT3_SHIFT   0
 
#define PLL_OUT4_SHIFT   16
 
#define PLL_MISC_DCCON   (1 << 20)
 
#define PLL_MISC_CPCON_SHIFT   8
 
#define PLL_MISC_CPCON_MASK   (0xfU << PLL_MISC_CPCON_SHIFT)
 
#define PLL_MISC_LFCON_SHIFT   4
 
#define PLL_MISC_LFCON_MASK   (0xfU << PLL_MISC_LFCON_SHIFT)
 
#define PLLDPD2_MISC_LOCK_ENABLE   (1 << 30)
 
#define PLLC_MISC_LOCK_ENABLE   (1 << 24)
 
#define PLLUD_MISC_LOCK_ENABLE   (1 << 22)
 
#define PLLD_MISC_CLK_ENABLE   (1 << 30)
 
#define PLLPAXS_MISC_LOCK_ENABLE   (1 << 18)
 
#define PLLE_MISC_LOCK_ENABLE   (1 << 9)
 
#define PLLU_MISC_VCO_FREQ   (1 << 20)
 
#define PLLX_BASE_PLLX_ENABLE   (1 << 30)
 
#define PLLX_IDDQ_SHIFT   3
 
#define PLLX_IDDQ_MASK   (1U << PLLX_IDDQ_SHIFT)
 
#define CLK_DIVISOR_MASK   (0xffff)
 
#define CLK_SOURCE_SHIFT   29
 
#define CLK_SOURCE_MASK   (0x7 << CLK_SOURCE_SHIFT)
 
#define CLK_SOURCE_EMC_MC_EMC_SAME_FREQ   (1 << 16)
 
#define CLK_UART_DIV_OVERRIDE   (1 << 24)
 
#define SCLK_SYS_STATE_SHIFT   28U
 
#define SCLK_SYS_STATE_MASK   (15U << SCLK_SYS_STATE_SHIFT)
 
#define SCLK_COP_FIQ_MASK   (1 << 27)
 
#define SCLK_CPU_FIQ_MASK   (1 << 26)
 
#define SCLK_COP_IRQ_MASK   (1 << 25)
 
#define SCLK_CPU_IRQ_MASK   (1 << 24)
 
#define SCLK_FIQ_SHIFT   12
 
#define SCLK_FIQ_MASK   (7 << SCLK_FIQ_SHIFT)
 
#define SCLK_IRQ_SHIFT   8
 
#define SCLK_IRQ_MASK   (7 << SCLK_FIQ_SHIFT)
 
#define SCLK_RUN_SHIFT   4
 
#define SCLK_RUN_MASK   (7 << SCLK_FIQ_SHIFT)
 
#define SCLK_IDLE_SHIFT   0
 
#define SCLK_IDLE_MASK   (7 << SCLK_FIQ_SHIFT)
 
#define SCLK_DIV_ENB   (1 << 31)
 
#define SCLK_DIVIDEND_SHIFT   8
 
#define SCLK_DIVIDEND_MASK   (0xff << SCLK_DIVIDEND_SHIFT)
 
#define SCLK_DIVISOR_SHIFT   0
 
#define SCLK_DIVISOR_MASK   (0xff << SCLK_DIVISOR_SHIFT)
 
#define HCLK_DISABLE   (1 << 7)
 
#define HCLK_DIVISOR_SHIFT   4
 
#define HCLK_DIVISOR_MASK   (3 << AHB_RATE_SHIFT)
 
#define PCLK_DISABLE   (1 << 3)
 
#define PCLK_DIVISOR_SHIFT   0
 
#define PCLK_DIVISOR_MASK   (3 << AHB_RATE_SHIFT)
 
#define MSELECT_CLK_SRC_PLLP_OUT0   (0 << 29)
 
#define SET_CLK_ENB_CPUG_ENABLE   (1 << 0)
 
#define SET_CLK_ENB_CPULP_ENABLE   (1 << 1)
 
#define SET_CLK_ENB_MSELECT_ENABLE   (1 << 3)
 
#define PLLU_POWERDOWN   (1 << 16)
 
#define PLL_ENABLE_POWERDOWN   (1 << 14)
 
#define PLL_ACTIVE_POWERDOWN   (1 << 12)
 
#define UTMIP_FORCE_PD_SAMP_C_POWERDOWN   (1 << 4)
 
#define UTMIP_FORCE_PD_SAMP_B_POWERDOWN   (1 << 2)
 
#define UTMIP_FORCE_PD_SAMP_A_POWERDOWN   (1 << 0)
 

Enumerations

enum  {
  OSC_FREQ_12 = 8 , OSC_FREQ_13 = 0 , OSC_FREQ_16P8 = 1 , OSC_FREQ_19P2 = 4 ,
  OSC_FREQ_26 = 12 , OSC_FREQ_38P4 = 5 , OSC_FREQ_48 = 9
}
 
enum  {
  SCLK_SYS_STATE_STDBY , SCLK_SYS_STATE_IDLE , SCLK_SYS_STATE_RUN , SCLK_SYS_STATE_IRQ = 4U ,
  SCLK_SYS_STATE_FIQ = 8U
}
 
enum  {
  SCLK_SOURCE_CLKM , SCLK_SOURCE_PLLC_OUT1 , SCLK_SOURCE_PLLP_OUT4 , SCLK_SOURCE_PLLP_OUT3 ,
  SCLK_SOURCE_PLLP_OUT2 , SCLK_SOURCE_PLLC_OUT0 , SCLK_SOURCE_CLKS , SCLK_SOURCE_PLLM_OUT1
}
 
enum  { CRC_CCLK_BRST_POL_PLLX_OUT0 = 0x8 , CRC_CCLK_BRST_POL_CPU_STATE_RUN = 0x2 }
 
enum  { CRC_SUPER_CCLK_DIVIDER_SUPER_CDIV_ENB = 1 << 31 }
 
enum  { CRC_CLK_CLR_CPU0_STP = 0x1 << 8 , CRC_CLK_CLR_CPU1_STP = 0x1 << 9 , CRC_CLK_CLR_CPU2_STP = 0x1 << 10 , CRC_CLK_CLR_CPU3_STP = 0x1 << 11 }
 
enum  {
  CRC_RST_CPUG_CLR_CPU0 = 0x1 << 0 , CRC_RST_CPUG_CLR_CPU1 = 0x1 << 1 , CRC_RST_CPUG_CLR_CPU2 = 0x1 << 2 , CRC_RST_CPUG_CLR_CPU3 = 0x1 << 3 ,
  CRC_RST_CPUG_CLR_DBG0 = 0x1 << 12 , CRC_RST_CPUG_CLR_DBG1 = 0x1 << 13 , CRC_RST_CPUG_CLR_DBG2 = 0x1 << 14 , CRC_RST_CPUG_CLR_DBG3 = 0x1 << 15 ,
  CRC_RST_CPUG_CLR_CORE0 = 0x1 << 16 , CRC_RST_CPUG_CLR_CORE1 = 0x1 << 17 , CRC_RST_CPUG_CLR_CORE2 = 0x1 << 18 , CRC_RST_CPUG_CLR_CORE3 = 0x1 << 19 ,
  CRC_RST_CPUG_CLR_CX0 = 0x1 << 20 , CRC_RST_CPUG_CLR_CX1 = 0x1 << 21 , CRC_RST_CPUG_CLR_CX2 = 0x1 << 22 , CRC_RST_CPUG_CLR_CX3 = 0x1 << 23 ,
  CRC_RST_CPUG_CLR_L2 = 0x1 << 24 , CRC_RST_CPUG_CLR_NONCPU = 0x1 << 29 , CRC_RST_CPUG_CLR_PDBG = 0x1 << 30
}
 
enum  {
  CRC_RST_CPULP_CLR_CPU0 = 0x1 << 0 , CRC_RST_CPULP_CLR_DBG0 = 0x1 << 12 , CRC_RST_CPULP_CLR_CORE0 = 0x1 << 16 , CRC_RST_CPULP_CLR_CX0 = 0x1 << 20 ,
  CRC_RST_CPULP_CLR_L2 = 0x1 << 24 , CRC_RST_CPULP_CLR_NONCPU = 0x1 << 29 , CRC_RST_CPULP_CLR_PDBG = 0x1 << 30
}
 

Functions

 check_member (clk_rst_ctlr, clk_src_soc_therm, 0x644)
 

Macro Definition Documentation

◆ CLK_DIVISOR_MASK

#define CLK_DIVISOR_MASK   (0xffff)

Definition at line 408 of file clk_rst.h.

◆ CLK_ENB_CPU

#define CLK_ENB_CPU   (1 << 0)

Definition at line 295 of file clk_rst.h.

◆ CLK_ENB_CSITE

#define CLK_ENB_CSITE   (1 << 9)

Definition at line 298 of file clk_rst.h.

◆ CLK_SOURCE_EMC_MC_EMC_SAME_FREQ

#define CLK_SOURCE_EMC_MC_EMC_SAME_FREQ   (1 << 16)

Definition at line 413 of file clk_rst.h.

◆ CLK_SOURCE_MASK

#define CLK_SOURCE_MASK   (0x7 << CLK_SOURCE_SHIFT)

Definition at line 411 of file clk_rst.h.

◆ CLK_SOURCE_SHIFT

#define CLK_SOURCE_SHIFT   29

Definition at line 410 of file clk_rst.h.

◆ CLK_UART_DIV_OVERRIDE

#define CLK_UART_DIV_OVERRIDE   (1 << 24)

Definition at line 415 of file clk_rst.h.

◆ CPU0_CLK_STP_MASK

#define CPU0_CLK_STP_MASK   (1U << CPU0_CLK_STP_SHIFT)

Definition at line 311 of file clk_rst.h.

◆ CPU0_CLK_STP_SHIFT

#define CPU0_CLK_STP_SHIFT   8

Definition at line 310 of file clk_rst.h.

◆ CPU1_CLK_STP_SHIFT

#define CPU1_CLK_STP_SHIFT   9

Definition at line 309 of file clk_rst.h.

◆ CPU2_CLK_STP_SHIFT

#define CPU2_CLK_STP_SHIFT   10

Definition at line 308 of file clk_rst.h.

◆ CPU3_CLK_STP_SHIFT

#define CPU3_CLK_STP_SHIFT   11

Definition at line 307 of file clk_rst.h.

◆ EN_PPSB_STOPCLK

#define EN_PPSB_STOPCLK   (1 << 0)

Definition at line 304 of file clk_rst.h.

◆ HCLK_DISABLE

#define HCLK_DISABLE   (1 << 7)

Definition at line 459 of file clk_rst.h.

◆ HCLK_DIVISOR_MASK

#define HCLK_DIVISOR_MASK   (3 << AHB_RATE_SHIFT)

Definition at line 461 of file clk_rst.h.

◆ HCLK_DIVISOR_SHIFT

#define HCLK_DIVISOR_SHIFT   4

Definition at line 460 of file clk_rst.h.

◆ MSELECT_CLK_SRC_PLLP_OUT0

#define MSELECT_CLK_SRC_PLLP_OUT0   (0 << 29)

Definition at line 467 of file clk_rst.h.

◆ OSC_DRIVE_STRENGTH

#define OSC_DRIVE_STRENGTH   7

Definition at line 320 of file clk_rst.h.

◆ OSC_FREQ_MASK

#define OSC_FREQ_MASK   (0xf << OSC_FREQ_SHIFT)

Definition at line 315 of file clk_rst.h.

◆ OSC_FREQ_SHIFT

#define OSC_FREQ_SHIFT   28

Definition at line 314 of file clk_rst.h.

◆ OSC_PREDIV_MASK

#define OSC_PREDIV_MASK   (0x3 << OSC_PREDIV_SHIFT)

Definition at line 317 of file clk_rst.h.

◆ OSC_PREDIV_SHIFT

#define OSC_PREDIV_SHIFT   26

Definition at line 316 of file clk_rst.h.

◆ OSC_XOBP

#define OSC_XOBP   (1 << 1)

Definition at line 321 of file clk_rst.h.

◆ OSC_XOE

#define OSC_XOE   (1 << 0)

Definition at line 322 of file clk_rst.h.

◆ OSC_XOFS_MASK

#define OSC_XOFS_MASK   (0x3F << OSC_XOFS_SHIFT)

Definition at line 319 of file clk_rst.h.

◆ OSC_XOFS_SHIFT

#define OSC_XOFS_SHIFT   4

Definition at line 318 of file clk_rst.h.

◆ PCLK_DISABLE

#define PCLK_DISABLE   (1 << 3)

Definition at line 462 of file clk_rst.h.

◆ PCLK_DIVISOR_MASK

#define PCLK_DIVISOR_MASK   (3 << AHB_RATE_SHIFT)

Definition at line 464 of file clk_rst.h.

◆ PCLK_DIVISOR_SHIFT

#define PCLK_DIVISOR_SHIFT   0

Definition at line 463 of file clk_rst.h.

◆ PLL_ACTIVE_POWERDOWN

#define PLL_ACTIVE_POWERDOWN   (1 << 12)

Definition at line 477 of file clk_rst.h.

◆ PLL_BASE_BYPASS

#define PLL_BASE_BYPASS   (1U << 31)

Definition at line 335 of file clk_rst.h.

◆ PLL_BASE_DIV_MASK

#define PLL_BASE_DIV_MASK   (0xffffff)

Definition at line 367 of file clk_rst.h.

◆ PLL_BASE_DIVM_MASK

#define PLL_BASE_DIVM_MASK   (0x1f << PLL_BASE_DIVM_SHIFT)

Definition at line 348 of file clk_rst.h.

◆ PLL_BASE_DIVM_SHIFT

#define PLL_BASE_DIVM_SHIFT   0

Definition at line 347 of file clk_rst.h.

◆ PLL_BASE_DIVN_MASK

#define PLL_BASE_DIVN_MASK   (0x3ffU << PLL_BASE_DIVN_SHIFT)

Definition at line 345 of file clk_rst.h.

◆ PLL_BASE_DIVN_SHIFT

#define PLL_BASE_DIVN_SHIFT   8

Definition at line 344 of file clk_rst.h.

◆ PLL_BASE_DIVP_MASK

#define PLL_BASE_DIVP_MASK   (7U << PLL_BASE_DIVP_SHIFT)

Definition at line 342 of file clk_rst.h.

◆ PLL_BASE_DIVP_SHIFT

#define PLL_BASE_DIVP_SHIFT   20

Definition at line 341 of file clk_rst.h.

◆ PLL_BASE_ENABLE

#define PLL_BASE_ENABLE   (1U << 30)

Definition at line 336 of file clk_rst.h.

◆ PLL_BASE_LOCK

#define PLL_BASE_LOCK   (1U << 27)

Definition at line 339 of file clk_rst.h.

◆ PLL_BASE_OVRRIDE

#define PLL_BASE_OVRRIDE   (1U << 28)

Definition at line 338 of file clk_rst.h.

◆ PLL_BASE_REF_DIS

#define PLL_BASE_REF_DIS   (1U << 29)

Definition at line 337 of file clk_rst.h.

◆ PLL_ENABLE_POWERDOWN

#define PLL_ENABLE_POWERDOWN   (1 << 14)

Definition at line 476 of file clk_rst.h.

◆ PLL_MISC_CPCON_MASK

#define PLL_MISC_CPCON_MASK   (0xfU << PLL_MISC_CPCON_SHIFT)

Definition at line 386 of file clk_rst.h.

◆ PLL_MISC_CPCON_SHIFT

#define PLL_MISC_CPCON_SHIFT   8

Definition at line 385 of file clk_rst.h.

◆ PLL_MISC_DCCON

#define PLL_MISC_DCCON   (1 << 20)

Definition at line 383 of file clk_rst.h.

◆ PLL_MISC_LFCON_MASK

#define PLL_MISC_LFCON_MASK   (0xfU << PLL_MISC_LFCON_SHIFT)

Definition at line 389 of file clk_rst.h.

◆ PLL_MISC_LFCON_SHIFT

#define PLL_MISC_LFCON_SHIFT   4

Definition at line 388 of file clk_rst.h.

◆ PLL_OUT1_SHIFT

#define PLL_OUT1_SHIFT   0

Definition at line 377 of file clk_rst.h.

◆ PLL_OUT2_SHIFT

#define PLL_OUT2_SHIFT   16

Definition at line 378 of file clk_rst.h.

◆ PLL_OUT3_SHIFT

#define PLL_OUT3_SHIFT   0

Definition at line 379 of file clk_rst.h.

◆ PLL_OUT4_SHIFT

#define PLL_OUT4_SHIFT   16

Definition at line 380 of file clk_rst.h.

◆ PLL_OUT_CLKEN

#define PLL_OUT_CLKEN   (1 << 1)

Definition at line 371 of file clk_rst.h.

◆ PLL_OUT_OVR

#define PLL_OUT_OVR   (1 << 2)

Definition at line 372 of file clk_rst.h.

◆ PLL_OUT_RATIO_MASK

#define PLL_OUT_RATIO_MASK   (0xffU << PLL_OUT_RATIO_SHIFT)

Definition at line 375 of file clk_rst.h.

◆ PLL_OUT_RATIO_SHIFT

#define PLL_OUT_RATIO_SHIFT   8

Definition at line 374 of file clk_rst.h.

◆ PLL_OUT_RSTN

#define PLL_OUT_RSTN   (1 << 0)

Definition at line 370 of file clk_rst.h.

◆ PLLC_MISC_LOCK_ENABLE

#define PLLC_MISC_LOCK_ENABLE   (1 << 24)

Definition at line 393 of file clk_rst.h.

◆ PLLCMX_BASE_DIVM_MASK

#define PLLCMX_BASE_DIVM_MASK   (0xffU << PLL_BASE_DIVM_SHIFT)

Definition at line 354 of file clk_rst.h.

◆ PLLCMX_BASE_DIVN_MASK

#define PLLCMX_BASE_DIVN_MASK   (0xffU << PLL_BASE_DIVN_SHIFT)

Definition at line 353 of file clk_rst.h.

◆ PLLCX_BASE_DIVP_MASK

#define PLLCX_BASE_DIVP_MASK   (0xfU << PLL_BASE_DIVP_SHIFT)

Definition at line 351 of file clk_rst.h.

◆ PLLD_MISC_CLK_ENABLE

#define PLLD_MISC_CLK_ENABLE   (1 << 30)

Definition at line 395 of file clk_rst.h.

◆ PLLDPD2_MISC_LOCK_ENABLE

#define PLLDPD2_MISC_LOCK_ENABLE   (1 << 30)

Definition at line 392 of file clk_rst.h.

◆ PLLE_MISC_LOCK_ENABLE

#define PLLE_MISC_LOCK_ENABLE   (1 << 9)

Definition at line 397 of file clk_rst.h.

◆ PLLM_BASE_DIVP_MASK

#define PLLM_BASE_DIVP_MASK   (0x1U << PLL_BASE_DIVP_SHIFT)

Definition at line 352 of file clk_rst.h.

◆ PLLM_MISC1_PD_LSHIFT_PH135_SHIFT

#define PLLM_MISC1_PD_LSHIFT_PH135_SHIFT   30

Definition at line 360 of file clk_rst.h.

◆ PLLM_MISC1_PD_LSHIFT_PH45_SHIFT

#define PLLM_MISC1_PD_LSHIFT_PH45_SHIFT   28

Definition at line 358 of file clk_rst.h.

◆ PLLM_MISC1_PD_LSHIFT_PH90_SHIFT

#define PLLM_MISC1_PD_LSHIFT_PH90_SHIFT   29

Definition at line 359 of file clk_rst.h.

◆ PLLM_MISC1_SETUP_SHIFT

#define PLLM_MISC1_SETUP_SHIFT   0

Definition at line 357 of file clk_rst.h.

◆ PLLM_MISC2_KCP_SHIFT

#define PLLM_MISC2_KCP_SHIFT   1

Definition at line 361 of file clk_rst.h.

◆ PLLM_MISC2_KVCO_SHIFT

#define PLLM_MISC2_KVCO_SHIFT   0

Definition at line 362 of file clk_rst.h.

◆ PLLM_OUT1_RSTN_RESET_DISABLE

#define PLLM_OUT1_RSTN_RESET_DISABLE   (1 << 0)

Definition at line 363 of file clk_rst.h.

◆ PLLPAXS_MISC_LOCK_ENABLE

#define PLLPAXS_MISC_LOCK_ENABLE   (1 << 18)

Definition at line 396 of file clk_rst.h.

◆ PLLU_MISC_VCO_FREQ

#define PLLU_MISC_VCO_FREQ   (1 << 20)

Definition at line 399 of file clk_rst.h.

◆ PLLU_POWERDOWN

#define PLLU_POWERDOWN   (1 << 16)

Definition at line 475 of file clk_rst.h.

◆ PLLUD_MISC_LOCK_ENABLE

#define PLLUD_MISC_LOCK_ENABLE   (1 << 22)

Definition at line 394 of file clk_rst.h.

◆ PLLX_BASE_PLLX_ENABLE

#define PLLX_BASE_PLLX_ENABLE   (1 << 30)

Definition at line 402 of file clk_rst.h.

◆ PLLX_IDDQ_MASK

#define PLLX_IDDQ_MASK   (1U << PLLX_IDDQ_SHIFT)

Definition at line 406 of file clk_rst.h.

◆ PLLX_IDDQ_SHIFT

#define PLLX_IDDQ_SHIFT   3

Definition at line 405 of file clk_rst.h.

◆ SCLK_COP_FIQ_MASK

#define SCLK_COP_FIQ_MASK   (1 << 27)

Definition at line 427 of file clk_rst.h.

◆ SCLK_COP_IRQ_MASK

#define SCLK_COP_IRQ_MASK   (1 << 25)

Definition at line 429 of file clk_rst.h.

◆ SCLK_CPU_FIQ_MASK

#define SCLK_CPU_FIQ_MASK   (1 << 26)

Definition at line 428 of file clk_rst.h.

◆ SCLK_CPU_IRQ_MASK

#define SCLK_CPU_IRQ_MASK   (1 << 24)

Definition at line 430 of file clk_rst.h.

◆ SCLK_DIV_ENB

#define SCLK_DIV_ENB   (1 << 31)

Definition at line 452 of file clk_rst.h.

◆ SCLK_DIVIDEND_MASK

#define SCLK_DIVIDEND_MASK   (0xff << SCLK_DIVIDEND_SHIFT)

Definition at line 454 of file clk_rst.h.

◆ SCLK_DIVIDEND_SHIFT

#define SCLK_DIVIDEND_SHIFT   8

Definition at line 453 of file clk_rst.h.

◆ SCLK_DIVISOR_MASK

#define SCLK_DIVISOR_MASK   (0xff << SCLK_DIVISOR_SHIFT)

Definition at line 456 of file clk_rst.h.

◆ SCLK_DIVISOR_SHIFT

#define SCLK_DIVISOR_SHIFT   0

Definition at line 455 of file clk_rst.h.

◆ SCLK_FIQ_MASK

#define SCLK_FIQ_MASK   (7 << SCLK_FIQ_SHIFT)

Definition at line 433 of file clk_rst.h.

◆ SCLK_FIQ_SHIFT

#define SCLK_FIQ_SHIFT   12

Definition at line 432 of file clk_rst.h.

◆ SCLK_IDLE_MASK

#define SCLK_IDLE_MASK   (7 << SCLK_FIQ_SHIFT)

Definition at line 439 of file clk_rst.h.

◆ SCLK_IDLE_SHIFT

#define SCLK_IDLE_SHIFT   0

Definition at line 438 of file clk_rst.h.

◆ SCLK_IRQ_MASK

#define SCLK_IRQ_MASK   (7 << SCLK_FIQ_SHIFT)

Definition at line 435 of file clk_rst.h.

◆ SCLK_IRQ_SHIFT

#define SCLK_IRQ_SHIFT   8

Definition at line 434 of file clk_rst.h.

◆ SCLK_RUN_MASK

#define SCLK_RUN_MASK   (7 << SCLK_FIQ_SHIFT)

Definition at line 437 of file clk_rst.h.

◆ SCLK_RUN_SHIFT

#define SCLK_RUN_SHIFT   4

Definition at line 436 of file clk_rst.h.

◆ SCLK_SYS_STATE_MASK

#define SCLK_SYS_STATE_MASK   (15U << SCLK_SYS_STATE_SHIFT)

Definition at line 419 of file clk_rst.h.

◆ SCLK_SYS_STATE_SHIFT

#define SCLK_SYS_STATE_SHIFT   28U

Definition at line 418 of file clk_rst.h.

◆ SET_CLK_ENB_CPUG_ENABLE

#define SET_CLK_ENB_CPUG_ENABLE   (1 << 0)

Definition at line 470 of file clk_rst.h.

◆ SET_CLK_ENB_CPULP_ENABLE

#define SET_CLK_ENB_CPULP_ENABLE   (1 << 1)

Definition at line 471 of file clk_rst.h.

◆ SET_CLK_ENB_MSELECT_ENABLE

#define SET_CLK_ENB_MSELECT_ENABLE   (1 << 3)

Definition at line 472 of file clk_rst.h.

◆ SIMPLE_PLLX

#define SIMPLE_PLLX   (CLOCK_ID_XCPU - CLOCK_ID_FIRST_SIMPLE)

Definition at line 292 of file clk_rst.h.

◆ SUPER_CDIV_ENB_ENABLE

#define SUPER_CDIV_ENB_ENABLE   (1 << 31)

Definition at line 301 of file clk_rst.h.

◆ SWR_CSITE_RST

#define SWR_CSITE_RST   (1 << 9)

Definition at line 297 of file clk_rst.h.

◆ SWR_TRIG_SYS_RST

#define SWR_TRIG_SYS_RST   (1 << 2)

Definition at line 296 of file clk_rst.h.

◆ TEGRA_DEV_H

#define TEGRA_DEV_H   1

Definition at line 287 of file clk_rst.h.

◆ TEGRA_DEV_L

#define TEGRA_DEV_L   0

Definition at line 286 of file clk_rst.h.

◆ TEGRA_DEV_U

#define TEGRA_DEV_U   2

Definition at line 288 of file clk_rst.h.

◆ TEGRA_DEV_V

#define TEGRA_DEV_V   0

Definition at line 289 of file clk_rst.h.

◆ TEGRA_DEV_W

#define TEGRA_DEV_W   1

Definition at line 290 of file clk_rst.h.

◆ UTMIP_FORCE_PD_SAMP_A_POWERDOWN

#define UTMIP_FORCE_PD_SAMP_A_POWERDOWN   (1 << 0)

Definition at line 482 of file clk_rst.h.

◆ UTMIP_FORCE_PD_SAMP_B_POWERDOWN

#define UTMIP_FORCE_PD_SAMP_B_POWERDOWN   (1 << 2)

Definition at line 481 of file clk_rst.h.

◆ UTMIP_FORCE_PD_SAMP_C_POWERDOWN

#define UTMIP_FORCE_PD_SAMP_C_POWERDOWN   (1 << 4)

Definition at line 480 of file clk_rst.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
OSC_FREQ_12 
OSC_FREQ_13 
OSC_FREQ_16P8 
OSC_FREQ_19P2 
OSC_FREQ_26 
OSC_FREQ_38P4 
OSC_FREQ_48 

Definition at line 324 of file clk_rst.h.

◆ anonymous enum

anonymous enum
Enumerator
SCLK_SYS_STATE_STDBY 
SCLK_SYS_STATE_IDLE 
SCLK_SYS_STATE_RUN 
SCLK_SYS_STATE_IRQ 
SCLK_SYS_STATE_FIQ 

Definition at line 420 of file clk_rst.h.

◆ anonymous enum

anonymous enum
Enumerator
SCLK_SOURCE_CLKM 
SCLK_SOURCE_PLLC_OUT1 
SCLK_SOURCE_PLLP_OUT4 
SCLK_SOURCE_PLLP_OUT3 
SCLK_SOURCE_PLLP_OUT2 
SCLK_SOURCE_PLLC_OUT0 
SCLK_SOURCE_CLKS 
SCLK_SOURCE_PLLM_OUT1 

Definition at line 440 of file clk_rst.h.

◆ anonymous enum

anonymous enum
Enumerator
CRC_CCLK_BRST_POL_PLLX_OUT0 
CRC_CCLK_BRST_POL_CPU_STATE_RUN 

Definition at line 485 of file clk_rst.h.

◆ anonymous enum

anonymous enum
Enumerator
CRC_SUPER_CCLK_DIVIDER_SUPER_CDIV_ENB 

Definition at line 491 of file clk_rst.h.

◆ anonymous enum

anonymous enum
Enumerator
CRC_CLK_CLR_CPU0_STP 
CRC_CLK_CLR_CPU1_STP 
CRC_CLK_CLR_CPU2_STP 
CRC_CLK_CLR_CPU3_STP 

Definition at line 496 of file clk_rst.h.

◆ anonymous enum

anonymous enum
Enumerator
CRC_RST_CPUG_CLR_CPU0 
CRC_RST_CPUG_CLR_CPU1 
CRC_RST_CPUG_CLR_CPU2 
CRC_RST_CPUG_CLR_CPU3 
CRC_RST_CPUG_CLR_DBG0 
CRC_RST_CPUG_CLR_DBG1 
CRC_RST_CPUG_CLR_DBG2 
CRC_RST_CPUG_CLR_DBG3 
CRC_RST_CPUG_CLR_CORE0 
CRC_RST_CPUG_CLR_CORE1 
CRC_RST_CPUG_CLR_CORE2 
CRC_RST_CPUG_CLR_CORE3 
CRC_RST_CPUG_CLR_CX0 
CRC_RST_CPUG_CLR_CX1 
CRC_RST_CPUG_CLR_CX2 
CRC_RST_CPUG_CLR_CX3 
CRC_RST_CPUG_CLR_L2 
CRC_RST_CPUG_CLR_NONCPU 
CRC_RST_CPUG_CLR_PDBG 

Definition at line 504 of file clk_rst.h.

◆ anonymous enum

anonymous enum
Enumerator
CRC_RST_CPULP_CLR_CPU0 
CRC_RST_CPULP_CLR_DBG0 
CRC_RST_CPULP_CLR_CORE0 
CRC_RST_CPULP_CLR_CX0 
CRC_RST_CPULP_CLR_L2 
CRC_RST_CPULP_CLR_NONCPU 
CRC_RST_CPULP_CLR_PDBG 

Definition at line 527 of file clk_rst.h.

Function Documentation

◆ check_member()

check_member ( clk_rst_ctlr  ,
clk_src_soc_therm  ,
0x644   
)