static inline void edma_parm_modify(unsigned ctlr, int offset, int param_no, unsigned and, unsigned or) { edma_modify(ctlr, EDMA_PARM + offset + (param_no << 5), and, or); }
static inline void edma_modify_array(unsigned ctlr, int offset, int i, unsigned and, unsigned or) { edma_modify(ctlr, offset + (i << 2), and, or); }
static void __init map_queue_tc(unsigned ctlr, int queue_no, int tc_no) { int bit = queue_no * 4; edma_modify(ctlr, EDMA_QUETCMAP, ~(0x7 << bit), ((tc_no & 0x7) << bit)); }