Lines Matching refs:mod_to
35 struct rsnd_mod *mod_from, struct rsnd_mod *mod_to);
143 struct rsnd_mod *mod_to) in rsnd_dmaen_request_channel() argument
145 if ((!mod_from && !mod_to) || in rsnd_dmaen_request_channel()
146 (mod_from && mod_to)) in rsnd_dmaen_request_channel()
152 return rsnd_mod_dma_req(io, mod_to); in rsnd_dmaen_request_channel()
157 struct rsnd_mod *mod_from, struct rsnd_mod *mod_to) in rsnd_dmaen_init() argument
172 dmaen->chan = rsnd_dmaen_request_channel(io, mod_from, mod_to); in rsnd_dmaen_init()
299 struct rsnd_mod *mod_to) in rsnd_dmapp_get_chcr() argument
302 (rsnd_dmapp_get_id(io, mod_to) << 16); in rsnd_dmapp_get_chcr()
353 struct rsnd_mod *mod_from, struct rsnd_mod *mod_to) in rsnd_dmapp_init() argument
361 dmapp->chcr = rsnd_dmapp_get_chcr(io, mod_from, mod_to) | PDMACHCR_DE; in rsnd_dmapp_init()
504 struct rsnd_mod **mod_to) in rsnd_dma_of_path() argument
571 *mod_to = mod[nr]; in rsnd_dma_of_path()
574 *mod_to = mod[1]; in rsnd_dma_of_path()
583 (mod[i] == *mod_to) ? " to" : ""); in rsnd_dma_of_path()
612 struct rsnd_mod *mod_to = NULL; in rsnd_dma_init() local
627 rsnd_dma_of_path(dma, io, is_play, &mod_from, &mod_to); in rsnd_dma_init()
630 dma->dst_addr = rsnd_dma_addr(io, mod_to, is_play, 0); in rsnd_dma_init()
633 if (mod_from && mod_to) in rsnd_dma_init()
645 rsnd_mod_name(mod_to), rsnd_mod_id(mod_to)); in rsnd_dma_init()
647 return dma->ops->init(io, dma, id, mod_from, mod_to); in rsnd_dma_init()