/* edma_write_slot - write parameter RAM data for slot @slot: number of parameter RAM slot being modified  */
void edma_write_slot(unsigned slot, const struct edmacc_param *param)
/* edma_write_slot - write parameter RAM data for slot @slot: number of parameter RAM slot being modified  */
void edma_write_slot(unsigned slot, const struct edmacc_param *param)
{
	unsigned ctlr;
	ctlr = EDMA_CTLR(slot);
	slot = EDMA_CHAN_SLOT(slot);
	if (slot >= edma_info[ctlr]->num_slots)
		return;
	memcpy_toio(edmacc_regs_base[ctlr] + PARM_OFFSET(slot), param,
			PARM_SIZE);
}