Searched refs:S6_DMAC_INDEX (Results 1 – 2 of 2) sorted by relevance
143 s6dmac_ctrl[S6_DMAC_INDEX(dmac)].dmac = dmac; in dmac_init()144 spin_lock_init(&s6dmac_ctrl[S6_DMAC_INDEX(dmac)].lock); in dmac_init()145 s6dmac_ctrl[S6_DMAC_INDEX(dmac)].chan_nb = chan_nb; in dmac_init()
132 #define S6_DMAC_INDEX(dmac) (((unsigned)(dmac) >> 18) % S6_DMAC_NB) macro269 unsigned i = S6_DMAC_INDEX(dmac); in _dmac_addr_index()