Lines Matching refs:dma_chan
80 static struct dma_chan *dev_to_dma_chan(struct device *dev) in dev_to_dma_chan()
91 struct dma_chan *chan; in memcpy_count_show()
113 struct dma_chan *chan; in bytes_transferred_show()
135 struct dma_chan *chan; in in_use_show()
193 static struct module *dma_chan_to_owner(struct dma_chan *chan) in dma_chan_to_owner()
204 static void balance_ref_count(struct dma_chan *chan) in balance_ref_count()
220 static int dma_chan_get(struct dma_chan *chan) in dma_chan_get()
259 static void dma_chan_put(struct dma_chan *chan) in dma_chan_put()
283 enum dma_status dma_sync_wait(struct dma_chan *chan, dma_cookie_t cookie) in dma_sync_wait()
314 struct dma_chan *chan;
359 struct dma_chan *dma_find_channel(enum dma_transaction_type tx_type) in dma_find_channel()
371 struct dma_chan *chan; in dma_issue_pending_all()
388 static bool dma_chan_is_local(struct dma_chan *chan, int cpu) in dma_chan_is_local()
404 static struct dma_chan *min_chan(enum dma_transaction_type cap, int cpu) in min_chan()
407 struct dma_chan *chan; in min_chan()
408 struct dma_chan *min = NULL; in min_chan()
409 struct dma_chan *localmin = NULL; in min_chan()
446 struct dma_chan *chan; in dma_channel_rebalance()
475 int dma_get_slave_caps(struct dma_chan *chan, struct dma_slave_caps *caps) in dma_get_slave_caps()
515 static struct dma_chan *private_candidate(const dma_cap_mask_t *mask, in private_candidate()
519 struct dma_chan *chan; in private_candidate()
552 static struct dma_chan *find_candidate(struct dma_device *device, in find_candidate()
556 struct dma_chan *chan = private_candidate(mask, device, fn, fn_param); in find_candidate()
593 struct dma_chan *dma_get_slave_channel(struct dma_chan *chan) in dma_get_slave_channel()
624 struct dma_chan *dma_get_any_slave_channel(struct dma_device *device) in dma_get_any_slave_channel()
627 struct dma_chan *chan; in dma_get_any_slave_channel()
651 struct dma_chan *__dma_request_channel(const dma_cap_mask_t *mask, in __dma_request_channel()
655 struct dma_chan *chan = NULL; in __dma_request_channel()
704 struct dma_chan *dma_request_chan(struct device *dev, const char *name) in dma_request_chan()
707 struct dma_chan *chan = NULL; in dma_request_chan()
752 struct dma_chan *dma_request_slave_channel(struct device *dev, in dma_request_slave_channel()
755 struct dma_chan *ch = dma_request_chan(dev, name); in dma_request_slave_channel()
769 struct dma_chan *dma_request_chan_by_mask(const dma_cap_mask_t *mask) in dma_request_chan_by_mask()
771 struct dma_chan *chan; in dma_request_chan_by_mask()
784 void dma_release_channel(struct dma_chan *chan) in dma_release_channel()
803 struct dma_chan *chan; in dmaengine_get()
842 struct dma_chan *chan; in dmaengine_put()
918 struct dma_chan* chan; in dma_async_device_register()
1066 struct dma_chan *chan; in dma_async_device_unregister()
1216 struct dma_chan *chan) in dma_async_tx_descriptor_init()
1257 struct dma_chan *chan; in dma_run_dependencies()