Lines Matching refs:dma
159 struct dma { struct
184 int dma_get_by_index(struct udevice *dev, int index, struct dma *dma);
201 int dma_get_by_name(struct udevice *dev, const char *name, struct dma *dma);
204 struct dma *dma) in dma_get_by_index() argument
210 struct dma *dma) in dma_get_by_name() argument
230 int dma_request(struct udevice *dev, struct dma *dma);
239 int dma_free(struct dma *dma);
248 int dma_enable(struct dma *dma);
257 int dma_disable(struct dma *dma);
271 int dma_prepare_rcv_buf(struct dma *dma, void *dst, size_t size);
283 int dma_receive(struct dma *dma, void **dst, void *metadata);
295 int dma_send(struct dma *dma, void *src, size_t len, void *metadata);
307 int dma_get_cfg(struct dma *dma, u32 cfg_id, void **cfg_data);