/* Set NBYTES in the DMA channel's TCD to nbytes.  */
int kinetis_dma_ch_set_nbytes(int ch, u32 nbytes)
/* Set NBYTES in the DMA channel's TCD to nbytes.  */
int kinetis_dma_ch_set_nbytes(int ch, u32 nbytes)
{
	DMAAPI_LOCKED_BEGIN
	KINETIS_DMA->tcd[ch].nbytes = nbytes;
	DMAAPI_LOCKED_END
}