Searched refs:cgm_addr (Results 1 – 2 of 2) sorted by relevance
/openbmc/u-boot/arch/arm/include/asm/arch-s32v234/ |
H A D | mc_cgm_regs.h | 13 #define CGM_SC_SS(cgm_addr) ( ((cgm_addr) + 0x000007E4) ) argument 20 #define CGM_SC_DCn(cgm_addr,dc) ( ((cgm_addr) + 0x000007E8) + ((dc) * 0x4) ) argument 29 #define CGM_ACn_DCm(cgm_addr,ac,dc) ( ((cgm_addr) + 0x00000808) + ((ac) * 0x20) + ((dc) * 0x4) ) argument 48 #define CGM_ACn_SC(cgm_addr,ac) ((cgm_addr + 0x00000800) + ((ac) * 0x20)) argument 49 #define CGM_ACn_SS(cgm_addr,ac) ((cgm_addr + 0x00000804) + ((ac) * 0x20)) argument
|
/openbmc/u-boot/board/freescale/s32v234evb/ |
H A D | clock.c | 159 static void aux_source_clk_config(uintptr_t cgm_addr, u8 ac, u32 source) in aux_source_clk_config() argument 162 writel(MC_CGM_ACn_SEL_SET(source), CGM_ACn_SC(cgm_addr, ac)); in aux_source_clk_config() 165 static void aux_div_clk_config(uintptr_t cgm_addr, u8 ac, u8 dc, u32 divider) in aux_div_clk_config() argument 169 CGM_ACn_DCm(cgm_addr, ac, dc)); in aux_div_clk_config()
|