Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/usb/musb/
Dmusb_cppi41.c49 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() argument
59 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() argument
72 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 …]
/linux-5.19.10/drivers/dma/ti/
Dcppi41.c85 struct cppi41_channel { struct
132 struct cppi41_channel *chan_busy[ALLOC_DECS_NUM];
249 static struct cppi41_channel *to_cpp41_chan(struct dma_chan *c) in to_cpp41_chan()
251 return container_of(c, struct cppi41_channel, chan); in to_cpp41_chan()
254 static struct cppi41_channel *desc_to_chan(struct cppi41_dd *cdd, u32 desc) in desc_to_chan()
256 struct cppi41_channel *c; in desc_to_chan()
307 struct cppi41_channel *c; in cppi41_irq()
373 struct cppi41_channel *c = to_cpp41_chan(chan); in cppi41_dma_alloc_chan_resources()
401 struct cppi41_channel *c = to_cpp41_chan(chan); in cppi41_dma_free_chan_resources()
421 struct cppi41_channel *c = to_cpp41_chan(chan); in cppi41_dma_tx_status()
[all …]