/* Writes a buffer to PE internal program memory (PMEM) from the host through indirect access registers.  */
static void pe_pmem_memcpy_to32(int id, u32 dst, const void *src, unsigned int len)
/* Writes a buffer to PE internal program memory (PMEM) from the host through indirect access registers.  */
static void pe_pmem_memcpy_to32(int id, u32 dst, const void *src, unsigned int len)
{
	pe_mem_memcpy_to32(id, pe[id].pmem_base_addr | (dst & (pe[id].pmem_size
				- 1)) | PE_MEM_ACCESS_IMEM, src, len);
}