/* Set CITER and BITER in the DMA channel's TCD to iter.  */
int kinetis_dma_ch_set_iter_num(int ch, u16 iter)
/* Set CITER and BITER in the DMA channel's TCD to iter.  */
int kinetis_dma_ch_set_iter_num(int ch, u16 iter)
{
	DMAAPI_LOCKED_BEGIN
	KINETIS_DMA->tcd[ch].citer = iter;
	KINETIS_DMA->tcd[ch].biter = iter;
	DMAAPI_LOCKED_END
}