Searched refs:SLCR (Results 1 – 6 of 6) sorted by relevance
119 return (uintptr_t)&SLCR->USB0_CLK_CTRL; in periph_clk_ctrl_reg()121 return (uintptr_t)&SLCR->USB1_CLK_CTRL; in periph_clk_ctrl_reg()123 return (uintptr_t)&SLCR->GEM0_CLK_CTRL; in periph_clk_ctrl_reg()125 return (uintptr_t)&SLCR->GEM1_CLK_CTRL; in periph_clk_ctrl_reg()127 return (uintptr_t)&SLCR->SMC_CLK_CTRL; in periph_clk_ctrl_reg()131 return (uintptr_t)&SLCR->SDIO_CLK_CTRL; in periph_clk_ctrl_reg()139 return (uintptr_t)&SLCR->SPI_CLK_CTRL; in periph_clk_ctrl_reg()141 return (uintptr_t)&SLCR->SPI_CLK_CTRL; in periph_clk_ctrl_reg()143 return (uintptr_t)&SLCR->CAN_CLK_CTRL; in periph_clk_ctrl_reg()145 return (uintptr_t)&SLCR->CAN_CLK_CTRL; in periph_clk_ctrl_reg()[all …]
72 if (reg_poll((uintptr_t)&SLCR->PLL_STATUS, PLL_STATUS_ARM_PLL_LOCK) == -1) { in zynq_pll_init()85 if (reg_poll((uintptr_t)&SLCR->PLL_STATUS, PLL_STATUS_DDR_PLL_LOCK) == -1) { in zynq_pll_init()101 if (reg_poll((uintptr_t)&SLCR->PLL_STATUS, PLL_STATUS_IO_PLL_LOCK) == -1) { in zynq_pll_init()180 reg_poll((uintptr_t)&SLCR->DDRIOB_DCI_STATUS, 0x2000); in zynq_ddr_init()342 saved_reboot_status = SLCR->REBOOT_STATUS; in platform_early_init()343 SLCR->REBOOT_STATUS &= ~(0xff << 16); in platform_early_init()488 printf("%s\n", (SLCR->SLCR_LOCKSTA & 0x1) ? "locked" : "unlocked"); in cmd_zynq()495 printf("\t%02u: 0x%08x", i, *REG32((uintptr_t)&SLCR->MIO_PIN_00 + (i * 4))); in cmd_zynq()
59 SLCR->PSS_RST_CTRL = 1; in platform_halt()
38 SLCR->WDT_CLK_SEL = 0; // cpu 1x in platform_watchdog_init()
412 SLCR->GEM_RST_CTRL |= rst_mask; in gem_deinit()414 SLCR->GEM_RST_CTRL &= ~rst_mask; in gem_deinit()
361 #define SLCR ((volatile struct slcr_regs *)SLCR_BASE) macro362 #define SLCR_REG(reg) (*REG32((uintptr_t)&SLCR->reg))521 static inline void zynq_slcr_unlock(void) { SLCR->SLCR_UNLOCK = 0xdf0d; } in zynq_slcr_unlock()522 static inline void zynq_slcr_lock(void) { SLCR->SLCR_LOCK = 0x767b; } in zynq_slcr_lock()571 static inline uint32_t zynq_get_boot_mode(void) { return SLCR->BOOT_MODE & ZYNQ_BOOT_MODE_MASK; } in zynq_get_boot_mode()
Completed in 11 milliseconds