Searched refs:s6dmac_ctrl (Results 1 – 2 of 2) sorted by relevance
22 struct s6dmac_ctrl s6dmac_ctrl[S6_DMAC_NB]; variable77 spinlock_t *spinl = &s6dmac_ctrl[_dmac_addr_index(dmac)].lock; in s6dmac_disable_error_irqs()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()
134 struct s6dmac_ctrl { struct140 extern struct s6dmac_ctrl s6dmac_ctrl[S6_DMAC_NB]; argument270 if (s6dmac_ctrl[i].dmac != dmac) in _dmac_addr_index()310 spinlock_t *spinl = &s6dmac_ctrl[_dmac_addr_index(dmac)].lock; in s6dmac_request_chan()316 if (r >= s6dmac_ctrl[_dmac_addr_index(dmac)].chan_nb) { in s6dmac_request_chan()337 spinlock_t *spinl = &s6dmac_ctrl[_dmac_addr_index(dmac)].lock; in s6dmac_put_fifo()