Linux Kernel
3.7.1
|
Go to the source code of this file.
Functions | |
int | syscon_dc_on (bool keep_power_on) |
int | syscon_set_busmaster_active_state (enum syscon_busmaster busmaster, bool active) |
bool | syscon_get_busmaster_active_state (void) |
int | syscon_set_sleep_mask (enum syscon_clk, bool sleep_ctrl) |
int | syscon_config_sysclk (u32 sysclk, enum syscon_sysclk_mode sysclkmode, bool inverse, u32 divisor, enum syscon_sysclk_req sysclkreq) |
bool | syscon_can_turn_off_semi_clock (void) |
int | syscon_request_normal_power (bool req) |
int | syscon_speed_request (enum syscon_call_mode wait_mode, enum syscon_clk_mode req_clk_mode) |
#define SYSCON_AHB_CLOCK_LOW 7 /* i.e 13/2=6.5MHz */ |
#define SYSCON_AHB_CLOCK_MEDIUM 26 |
#define SYSCON_CPU_CLOCK_HIGH 208 |
#define SYSCON_CPU_CLOCK_MEDIUM 52 |
#define SYSCON_EMIF_CLOCK_HIGH 104 |
#define SYSCON_EMIF_CLOCK_MEDIUM 52 |
#define U300_SYSCON_BCR_ACC_CPU_SUBSYS_VINITHI_IND (0x0400) |
#define U300_SYSCON_BCR_APP_CPU_SUBSYS_VINITHI_IND (0x0200) |
#define U300_SYSCON_CCR_CLKING_PERFORMANCE_INTERMEDIATE (0x02) |
#define U300_SYSCON_CFRR_AHB_SUBSYS_BRIDGE_CLK_FORCE_EN (0x0400) |
#define U300_SYSCON_CICR_APP_SUBLVDS_PWR_DWN_N_MASK (0x000F) |
#define U300_SYSCON_CICR_APP_SUBLVDS_PWR_DWN_N_PORT0 (0x0003) |
#define U300_SYSCON_CICR_APP_SUBLVDS_PWR_DWN_N_PORT1 (0x000C) |
#define U300_SYSCON_CICR_APP_SUBLVDS_TESTMODE_MASK (0x0F00) |
#define U300_SYSCON_CICR_APP_SUBLVDS_TESTMODE_PORT0 (0x0300) |
#define U300_SYSCON_CICR_APP_SUBLVDS_TESTMODE_PORT1 (0x0C00) |
#define U300_SYSCON_ECCR_EMIF_1_RET_OUT_CLK_EN_N_DISABLE (0x0004) |
#define U300_SYSCON_ECCR_EMIF_1_STATIC_CLK_EN_N_DISABLE (0x0008) |
#define U300_SYSCON_ECCR_EMIF_MEMCLK_RET_EN_N_DISABLE (0x0002) |
#define U300_SYSCON_ECCR_EMIF_SDRCLK_RET_EN_N_DISABLE (0x0001) |
#define U300_SYSCON_MCR_PMGEN_CR_0_EMIF_1_SDRAM_M1 (0x0000) |
#define U300_SYSCON_MCR_PMGEN_CR_0_EMIF_1_SDRAM_M2 (0x0004) |
#define U300_SYSCON_MCR_PMGEN_CR_0_EMIF_1_SDRAM_M3 (0x0008) |
#define U300_SYSCON_PICR_FORCE_PLL13_LOCK_HIGH_ENABLE (0x0010) |
#define U300_SYSCON_PICR_FORCE_PLL13_LOCK_LOW_ENABLE (0x0020) |
#define U300_SYSCON_PICR_FORCE_PLL208_LOCK_HIGH_ENABLE (0x0040) |
#define U300_SYSCON_PICR_FORCE_PLL208_LOCK_LOW_ENABLE (0x0080) |
#define U300_SYSCON_PICR_IRQMASK_PLL13_LOCK_ENABLE (0x0004) |
#define U300_SYSCON_PICR_IRQMASK_PLL13_UNLOCK_ENABLE (0x0008) |
#define U300_SYSCON_PICR_IRQMASK_PLL208_LOCK_ENABLE (0x0001) |
#define U300_SYSCON_PICR_IRQMASK_PLL208_UNLOCK_ENABLE (0x0002) |
#define U300_SYSCON_PUCR_EMIF_1_NFIF_READY_PU_ENABLE (0x0100) |
#define U300_SYSCON_SBCER_AHB_SUBSYS_BRIDGE_CLK_EN (0x002A) |
#define U300_SYSCON_SMCR_SEMI_EXT_BOOT_MODE_ENABLE (0x0002) |
enum syscon_busmaster |
enum syscon_call_mode |
enum syscon_clk |
enum syscon_clk_mode |
enum syscon_pull_up_down |
enum syscon_sysclk_mode |
enum syscon_sysclk_req |
int syscon_config_sysclk | ( | u32 | sysclk, |
enum syscon_sysclk_mode | sysclkmode, | ||
bool | inverse, | ||
u32 | divisor, | ||
enum syscon_sysclk_req | sysclkreq | ||
) |
int syscon_set_busmaster_active_state | ( | enum syscon_busmaster | busmaster, |
bool | active | ||
) |
int syscon_speed_request | ( | enum syscon_call_mode | wait_mode, |
enum syscon_clk_mode | req_clk_mode | ||
) |