Searched refs:calc_chcr (Results 1 – 1 of 1) sorted by relevance
22 static unsigned int calc_chcr(struct dma_info_t *info) in calc_chcr() function47 ctrl_outl(info->count>>ts_shift(calc_chcr(info)), DMATCR[info->chan]); in dma_tei()75 ctrl_outl(calc_chcr(info)|CHCR_DE, CHCR[info->chan]); in enable_dma()81 ctrl_outl(calc_chcr(info)&~CHCR_DE, CHCR[info->chan]); in disable_dma()110 ctrl_outl(count>>ts_shift(calc_chcr(info)), DMATCR[info->chan]); in set_dma_count()116 return ctrl_inl(DMATCR[info->chan])<<ts_shift(calc_chcr(info)); in get_dma_residue()