Changeset View
Changeset View
Standalone View
Standalone View
sys/arm/allwinner/clk/aw_pll.c
Show First 20 Lines • Show All 50 Lines • ▼ Show 20 Lines | |||||
#include "clkdev_if.h" | #include "clkdev_if.h" | ||||
#define SUN4I_A10_PLL2_1X 0 | #define SUN4I_A10_PLL2_1X 0 | ||||
#define SUN4I_A10_PLL2_2X 1 | #define SUN4I_A10_PLL2_2X 1 | ||||
#define SUN4I_A10_PLL2_4X 2 | #define SUN4I_A10_PLL2_4X 2 | ||||
#define SUN4I_A10_PLL2_8X 3 | #define SUN4I_A10_PLL2_8X 3 | ||||
#define AW_PLL_ENABLE (1 << 31) | #define AW_PLL_ENABLE (1U << 31) | ||||
#define A10_PLL1_OUT_EXT_DIVP (0x3 << 16) | #define A10_PLL1_OUT_EXT_DIVP (0x3 << 16) | ||||
#define A10_PLL1_OUT_EXT_DIVP_SHIFT 16 | #define A10_PLL1_OUT_EXT_DIVP_SHIFT 16 | ||||
#define A10_PLL1_FACTOR_N (0x1f << 8) | #define A10_PLL1_FACTOR_N (0x1f << 8) | ||||
#define A10_PLL1_FACTOR_N_SHIFT 8 | #define A10_PLL1_FACTOR_N_SHIFT 8 | ||||
#define A10_PLL1_FACTOR_K (0x3 << 4) | #define A10_PLL1_FACTOR_K (0x3 << 4) | ||||
#define A10_PLL1_FACTOR_K_SHIFT 4 | #define A10_PLL1_FACTOR_K_SHIFT 4 | ||||
#define A10_PLL1_FACTOR_M (0x3 << 0) | #define A10_PLL1_FACTOR_M (0x3 << 0) | ||||
▲ Show 20 Lines • Show All 1,280 Lines • Show Last 20 Lines |