/* edma3_read_slot - read parameter RAM data from slot @base: base address of edma @slot: number of parameter RAM slot being copied  */
void edma3_read_slot(u32 base, int slot, struct edma3_slot_layout *param)
/* edma3_read_slot - read parameter RAM data from slot @base: base address of edma @slot: number of parameter RAM slot being copied  */
void edma3_read_slot(u32 base, int slot, struct edma3_slot_layout *param)
{
	int i;
	u32 *p = (u32 *)param;
	u32 *addr = (u32 *)(base + EDMA3_SL_BASE(slot));
	for (i = 0; i < sizeof(struct edma3_slot_layout)/4; i += 4)
		*p++ = __raw_readl(addr++);
}