Lines Matching refs:dma_spec
33 static struct of_dma *of_dma_find_controller(struct of_phandle_args *dma_spec) in of_dma_find_controller() argument
38 if (ofdma->of_node == dma_spec->np) in of_dma_find_controller()
42 dma_spec->np->full_name); in of_dma_find_controller()
124 int index, struct of_phandle_args *dma_spec) in of_dma_match_channel() argument
135 dma_spec)) in of_dma_match_channel()
151 struct of_phandle_args dma_spec; in of_dma_request_slave_channel() local
170 if (of_dma_match_channel(np, name, i, &dma_spec)) in of_dma_request_slave_channel()
174 ofdma = of_dma_find_controller(&dma_spec); in of_dma_request_slave_channel()
177 chan = ofdma->of_dma_xlate(&dma_spec, ofdma); in of_dma_request_slave_channel()
185 of_node_put(dma_spec.np); in of_dma_request_slave_channel()
205 struct dma_chan *of_dma_simple_xlate(struct of_phandle_args *dma_spec, in of_dma_simple_xlate() argument
208 int count = dma_spec->args_count; in of_dma_simple_xlate()
218 &dma_spec->args[0]); in of_dma_simple_xlate()
235 struct dma_chan *of_dma_xlate_by_chan_id(struct of_phandle_args *dma_spec, in of_dma_xlate_by_chan_id() argument
241 if (!dev || dma_spec->args_count != 1) in of_dma_xlate_by_chan_id()
245 if (chan->chan_id == dma_spec->args[0]) { in of_dma_xlate_by_chan_id()