/* This function is used to clear dma interrupt flag.  */
void tls_dma_irq_clr(unsigned char ch, unsigned char flags)
/* This function is used to clear dma interrupt flag.  */
void tls_dma_irq_clr(unsigned char ch, unsigned char flags)
{
    unsigned int int_src = 0;
    int_src |= flags << 2 * ch;
    tls_reg_write32(HR_DMA_INT_SRC, int_src);
    return;
}