Lines Matching defs:src
55 * Copy @num registers from @src to @dst
57 static __pmusramfunc void sram_regcpy(uintptr_t dst, uintptr_t src,
61 mmio_write_32(dst, mmio_read_32(src));
63 src += sizeof(uint32_t);
68 * Copy @num registers from @src to @dst
72 static void dram_regcpy(uintptr_t dst, uintptr_t src, uint32_t num)
75 mmio_write_32(dst, mmio_read_32(src));
77 src += sizeof(uint32_t);
653 __pmusramfunc static void pmusram_restore_pll(int pll_id, uint32_t *src)
657 mmio_write_32(CRU_BASE + CRU_PLL_CON(pll_id, 0), src[0] | REG_SOC_WMSK);
658 mmio_write_32(CRU_BASE + CRU_PLL_CON(pll_id, 1), src[1] | REG_SOC_WMSK);
659 mmio_write_32(CRU_BASE + CRU_PLL_CON(pll_id, 2), src[2]);
660 mmio_write_32(CRU_BASE + CRU_PLL_CON(pll_id, 4), src[4] | REG_SOC_WMSK);
661 mmio_write_32(CRU_BASE + CRU_PLL_CON(pll_id, 5), src[5] | REG_SOC_WMSK);
663 mmio_write_32(CRU_BASE + CRU_PLL_CON(pll_id, 3), src[3] | REG_SOC_WMSK);