Lines Matching refs:dmach

88 static inline struct hidma_chan *to_hidma_chan(struct dma_chan *dmach)  in to_hidma_chan()  argument
90 return container_of(dmach, struct hidma_chan, chan); in to_hidma_chan()
229 static void hidma_issue_pending(struct dma_chan *dmach) in hidma_issue_pending() argument
231 struct hidma_chan *mchan = to_hidma_chan(dmach); in hidma_issue_pending()
272 static enum dma_status hidma_tx_status(struct dma_chan *dmach, in hidma_tx_status() argument
276 struct hidma_chan *mchan = to_hidma_chan(dmach); in hidma_tx_status()
279 ret = dma_cookie_status(dmach, cookie, txstate); in hidma_tx_status()
284 dmach->cookie); in hidma_tx_status()
342 static int hidma_alloc_chan_resources(struct dma_chan *dmach) in hidma_alloc_chan_resources() argument
344 struct hidma_chan *mchan = to_hidma_chan(dmach); in hidma_alloc_chan_resources()
362 dma_async_tx_descriptor_init(&mdesc->desc, dmach); in hidma_alloc_chan_resources()
369 dev_err(dmach->device->dev, in hidma_alloc_chan_resources()
394 hidma_prep_dma_memcpy(struct dma_chan *dmach, dma_addr_t dest, dma_addr_t src, in hidma_prep_dma_memcpy() argument
397 struct hidma_chan *mchan = to_hidma_chan(dmach); in hidma_prep_dma_memcpy()
427 hidma_prep_dma_memset(struct dma_chan *dmach, dma_addr_t dest, int value, in hidma_prep_dma_memset() argument
430 struct hidma_chan *mchan = to_hidma_chan(dmach); in hidma_prep_dma_memset()
535 static void hidma_free_chan_resources(struct dma_chan *dmach) in hidma_free_chan_resources() argument
537 struct hidma_chan *mchan = to_hidma_chan(dmach); in hidma_free_chan_resources()
544 hidma_terminate_channel(dmach); in hidma_free_chan_resources()