Searched refs:cppi41_channel (Results 1 – 2 of 2) sorted by relevance
49 void (*set_dma_mode)(struct cppi41_dma_channel *cppi41_channel,54 static void save_rx_toggle(struct cppi41_dma_channel *cppi41_channel) in save_rx_toggle() argument59 if (cppi41_channel->is_tx) in save_rx_toggle()61 if (!is_host_active(cppi41_channel->controller->controller.musb)) in save_rx_toggle()64 csr = musb_readw(cppi41_channel->hw_ep->regs, MUSB_RXCSR); in save_rx_toggle()67 cppi41_channel->usb_toggle = toggle; in save_rx_toggle()70 static void update_rx_toggle(struct cppi41_dma_channel *cppi41_channel) in update_rx_toggle() argument72 struct musb_hw_ep *hw_ep = cppi41_channel->hw_ep; in update_rx_toggle()77 if (cppi41_channel->is_tx) in update_rx_toggle()91 if (!toggle && toggle == cppi41_channel->usb_toggle) { in update_rx_toggle()[all …]
84 struct cppi41_channel { struct131 struct cppi41_channel *chan_busy[ALLOC_DECS_NUM];248 static struct cppi41_channel *to_cpp41_chan(struct dma_chan *c) in to_cpp41_chan()250 return container_of(c, struct cppi41_channel, chan); in to_cpp41_chan()253 static struct cppi41_channel *desc_to_chan(struct cppi41_dd *cdd, u32 desc) in desc_to_chan()255 struct cppi41_channel *c; in desc_to_chan()306 struct cppi41_channel *c; in cppi41_irq()372 struct cppi41_channel *c = to_cpp41_chan(chan); in cppi41_dma_alloc_chan_resources()400 struct cppi41_channel *c = to_cpp41_chan(chan); in cppi41_dma_free_chan_resources()420 struct cppi41_channel *c = to_cpp41_chan(chan); in cppi41_dma_tx_status()[all …]