Searched refs:chcr (Results 1 – 1 of 1) sorted by relevance
24 unsigned int chcr; in calc_chcr() local26 chcr = ( info->mode & DMA_MODE_WRITE )? info->mode_write : info->mode_read; in calc_chcr()28 chcr |= CHCR_IE; in calc_chcr()29 return chcr; in calc_chcr()32 static __inline__ int ts_shift(unsigned long chcr) in ts_shift() argument34 return ((int[]){3,0,1,2,5,0,0,0})[(chcr>>4)&0x000007]; in ts_shift()