Home
last modified time | relevance | path

Searched refs:S6_DMAC_INDEX (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/arch/xtensa/variants/s6000/
Ddmac.c143 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()
/linux-2.6.39/arch/xtensa/variants/s6000/include/variant/
Ddmac.h132 #define S6_DMAC_INDEX(dmac) (((unsigned)(dmac) >> 18) % S6_DMAC_NB) macro
269 unsigned i = S6_DMAC_INDEX(dmac); in _dmac_addr_index()