Searched refs:ofdma (Results 1 - 33 of 33) sorted by relevance

/linux-4.4.14/drivers/dma/
H A Dof-dma.c35 struct of_dma *ofdma; of_dma_find_controller() local
37 list_for_each_entry(ofdma, &of_dma_list, of_dma_controllers) of_dma_find_controller()
38 if (ofdma->of_node == dma_spec->np) of_dma_find_controller()
39 return ofdma; of_dma_find_controller()
57 struct of_dma *ofdma) of_dma_router_xlate()
66 route_data = ofdma->of_dma_route_allocate(&dma_spec_target, ofdma); of_dma_router_xlate()
76 chan->router = ofdma->dma_router; of_dma_router_xlate()
79 ofdma->dma_router->route_free(ofdma->dma_router->dev, of_dma_router_xlate()
84 * Need to put the node back since the ofdma->of_dma_route_allocate of_dma_router_xlate()
109 struct of_dma *ofdma; of_dma_controller_register() local
116 ofdma = kzalloc(sizeof(*ofdma), GFP_KERNEL); of_dma_controller_register()
117 if (!ofdma) of_dma_controller_register()
120 ofdma->of_node = np; of_dma_controller_register()
121 ofdma->of_dma_xlate = of_dma_xlate; of_dma_controller_register()
122 ofdma->of_dma_data = data; of_dma_controller_register()
126 list_add_tail(&ofdma->of_dma_controllers, &of_dma_list); of_dma_controller_register()
141 struct of_dma *ofdma; of_dma_controller_free() local
145 list_for_each_entry(ofdma, &of_dma_list, of_dma_controllers) of_dma_controller_free()
146 if (ofdma->of_node == np) { of_dma_controller_free()
147 list_del(&ofdma->of_dma_controllers); of_dma_controller_free()
148 kfree(ofdma); of_dma_controller_free()
176 struct of_dma *ofdma; of_dma_router_register() local
183 ofdma = kzalloc(sizeof(*ofdma), GFP_KERNEL); of_dma_router_register()
184 if (!ofdma) of_dma_router_register()
187 ofdma->of_node = np; of_dma_router_register()
188 ofdma->of_dma_xlate = of_dma_router_xlate; of_dma_router_register()
189 ofdma->of_dma_route_allocate = of_dma_route_allocate; of_dma_router_register()
190 ofdma->dma_router = dma_router; of_dma_router_register()
194 list_add_tail(&ofdma->of_dma_controllers, &of_dma_list); of_dma_router_register()
241 struct of_dma *ofdma; of_dma_request_slave_channel() local
267 ofdma = of_dma_find_controller(&dma_spec); of_dma_request_slave_channel()
269 if (ofdma) { of_dma_request_slave_channel()
270 chan = ofdma->of_dma_xlate(&dma_spec, ofdma); of_dma_request_slave_channel()
300 struct of_dma *ofdma) of_dma_simple_xlate()
303 struct of_dma_filter_info *info = ofdma->of_dma_data; of_dma_simple_xlate()
330 struct of_dma *ofdma) of_dma_xlate_by_chan_id()
332 struct dma_device *dev = ofdma->of_dma_data; of_dma_xlate_by_chan_id()
56 of_dma_router_xlate(struct of_phandle_args *dma_spec, struct of_dma *ofdma) of_dma_router_xlate() argument
299 of_dma_simple_xlate(struct of_phandle_args *dma_spec, struct of_dma *ofdma) of_dma_simple_xlate() argument
329 of_dma_xlate_by_chan_id(struct of_phandle_args *dma_spec, struct of_dma *ofdma) of_dma_xlate_by_chan_id() argument
H A Dlpc18xx-dmamux.c56 struct of_dma *ofdma) lpc18xx_dmamux_reserve()
58 struct platform_device *pdev = of_find_device_by_node(ofdma->of_node); lpc18xx_dmamux_reserve()
82 dma_spec->np = of_parse_phandle(ofdma->of_node, "dma-masters", 0); lpc18xx_dmamux_reserve()
55 lpc18xx_dmamux_reserve(struct of_phandle_args *dma_spec, struct of_dma *ofdma) lpc18xx_dmamux_reserve() argument
H A Dti-dma-crossbar.c70 struct of_dma *ofdma) ti_am335x_xbar_route_allocate()
72 struct platform_device *pdev = of_find_device_by_node(ofdma->of_node); ti_am335x_xbar_route_allocate()
92 dma_spec->np = of_parse_phandle(ofdma->of_node, "dma-masters", 0); ti_am335x_xbar_route_allocate()
233 struct of_dma *ofdma) ti_dra7_xbar_route_allocate()
235 struct platform_device *pdev = of_find_device_by_node(ofdma->of_node); ti_dra7_xbar_route_allocate()
246 dma_spec->np = of_parse_phandle(ofdma->of_node, "dma-masters", 0); ti_dra7_xbar_route_allocate()
69 ti_am335x_xbar_route_allocate(struct of_phandle_args *dma_spec, struct of_dma *ofdma) ti_am335x_xbar_route_allocate() argument
232 ti_dra7_xbar_route_allocate(struct of_phandle_args *dma_spec, struct of_dma *ofdma) ti_dra7_xbar_route_allocate() argument
H A Dmmp_tdma.c597 struct of_dma *ofdma) mmp_tdma_xlate()
599 struct mmp_tdma_device *tdev = ofdma->of_dma_data; mmp_tdma_xlate()
606 param.of_node = ofdma->of_node; mmp_tdma_xlate()
596 mmp_tdma_xlate(struct of_phandle_args *dma_spec, struct of_dma *ofdma) mmp_tdma_xlate() argument
H A Ddma-jz4780.c706 struct of_dma *ofdma) jz4780_of_dma_xlate()
708 struct jz4780_dma_dev *jzdma = ofdma->of_dma_data; jz4780_of_dma_xlate()
715 data.of_node = ofdma->of_node; jz4780_of_dma_xlate()
705 jz4780_of_dma_xlate(struct of_phandle_args *dma_spec, struct of_dma *ofdma) jz4780_of_dma_xlate() argument
H A Dmxs-dma.c753 struct of_dma *ofdma) mxs_dma_xlate()
755 struct mxs_dma_engine *mxs_dma = ofdma->of_dma_data; mxs_dma_xlate()
762 param.of_node = ofdma->of_node; mxs_dma_xlate()
752 mxs_dma_xlate(struct of_phandle_args *dma_spec, struct of_dma *ofdma) mxs_dma_xlate() argument
H A Dbcm2835-dma.c569 struct of_dma *ofdma) bcm2835_dma_xlate()
571 struct bcm2835_dmadev *d = ofdma->of_dma_data; bcm2835_dma_xlate()
568 bcm2835_dma_xlate(struct of_phandle_args *spec, struct of_dma *ofdma) bcm2835_dma_xlate() argument
H A Dmoxart-dma.c332 struct of_dma *ofdma) moxart_of_xlate()
334 struct moxart_dmadev *mdc = ofdma->of_dma_data; moxart_of_xlate()
331 moxart_of_xlate(struct of_phandle_args *dma_spec, struct of_dma *ofdma) moxart_of_xlate() argument
H A Dcppi41.c868 struct of_dma *ofdma) cppi41_dma_xlate()
871 struct of_dma_filter_info *info = ofdma->of_dma_data; cppi41_dma_xlate()
867 cppi41_dma_xlate(struct of_phandle_args *dma_spec, struct of_dma *ofdma) cppi41_dma_xlate() argument
H A Dimg-mdc-dma.c774 struct of_dma *ofdma) mdc_of_xlate()
776 struct mdc_dma *mdma = ofdma->of_dma_data; mdc_of_xlate()
773 mdc_of_xlate(struct of_phandle_args *dma_spec, struct of_dma *ofdma) mdc_of_xlate() argument
H A Dk3dma.c658 struct of_dma *ofdma) k3_of_dma_simple_xlate()
660 struct k3_dma_dev *d = ofdma->of_dma_data; k3_of_dma_simple_xlate()
657 k3_of_dma_simple_xlate(struct of_phandle_args *dma_spec, struct of_dma *ofdma) k3_of_dma_simple_xlate() argument
H A Dzx296702_dma.c735 struct of_dma *ofdma) zx_of_dma_simple_xlate()
737 struct zx_dma_dev *d = ofdma->of_dma_data; zx_of_dma_simple_xlate()
734 zx_of_dma_simple_xlate(struct of_phandle_args *dma_spec, struct of_dma *ofdma) zx_of_dma_simple_xlate() argument
H A Dfsl-edma.c734 struct of_dma *ofdma) fsl_edma_xlate()
736 struct fsl_edma_engine *fsl_edma = ofdma->of_dma_data; fsl_edma_xlate()
733 fsl_edma_xlate(struct of_phandle_args *dma_spec, struct of_dma *ofdma) fsl_edma_xlate() argument
H A Dimx-dma.c1033 struct of_dma *ofdma) imxdma_xlate()
1036 struct imxdma_engine *imxdma = ofdma->of_dma_data; imxdma_xlate()
1032 imxdma_xlate(struct of_phandle_args *dma_spec, struct of_dma *ofdma) imxdma_xlate() argument
H A Dmmp_pdma.c982 struct of_dma *ofdma) mmp_pdma_dma_xlate()
984 struct mmp_pdma_device *d = ofdma->of_dma_data; mmp_pdma_dma_xlate()
981 mmp_pdma_dma_xlate(struct of_phandle_args *dma_spec, struct of_dma *ofdma) mmp_pdma_dma_xlate() argument
H A Dsirf-dma.c832 struct of_dma *ofdma) of_dma_sirfsoc_xlate()
834 struct sirfsoc_dma *sdma = ofdma->of_dma_data; of_dma_sirfsoc_xlate()
831 of_dma_sirfsoc_xlate(struct of_phandle_args *dma_spec, struct of_dma *ofdma) of_dma_sirfsoc_xlate() argument
H A Dsun4i-dma.c912 struct of_dma *ofdma) sun4i_dma_of_xlate()
914 struct sun4i_dma_dev *priv = ofdma->of_dma_data; sun4i_dma_of_xlate()
911 sun4i_dma_of_xlate(struct of_phandle_args *dma_spec, struct of_dma *ofdma) sun4i_dma_of_xlate() argument
H A Dsun6i-dma.c813 struct of_dma *ofdma) sun6i_dma_of_xlate()
815 struct sun6i_dma_dev *sdev = ofdma->of_dma_data; sun6i_dma_of_xlate()
812 sun6i_dma_of_xlate(struct of_phandle_args *dma_spec, struct of_dma *ofdma) sun6i_dma_of_xlate() argument
H A Dedma.c2068 struct of_dma *ofdma) of_edma_xlate()
2070 struct edma_cc *ecc = ofdma->of_dma_data; of_edma_xlate()
2112 struct of_dma *ofdma) of_edma_xlate()
2067 of_edma_xlate(struct of_phandle_args *dma_spec, struct of_dma *ofdma) of_edma_xlate() argument
2111 of_edma_xlate(struct of_phandle_args *dma_spec, struct of_dma *ofdma) of_edma_xlate() argument
H A Dimx-sdma.c1629 struct of_dma *ofdma) sdma_xlate()
1631 struct sdma_engine *sdma = ofdma->of_dma_data; sdma_xlate()
1628 sdma_xlate(struct of_phandle_args *dma_spec, struct of_dma *ofdma) sdma_xlate() argument
H A Dnbpfaxi.c1073 struct of_dma *ofdma) nbpf_of_xlate()
1075 struct nbpf_device *nbpf = ofdma->of_dma_data; nbpf_of_xlate()
1072 nbpf_of_xlate(struct of_phandle_args *dma_spec, struct of_dma *ofdma) nbpf_of_xlate() argument
H A Dpxa_dma.c1331 struct of_dma *ofdma) pxad_dma_xlate()
1333 struct pxad_device *d = ofdma->of_dma_data; pxad_dma_xlate()
1330 pxad_dma_xlate(struct of_phandle_args *dma_spec, struct of_dma *ofdma) pxad_dma_xlate() argument
H A Dtegra20-apb-dma.c1241 struct of_dma *ofdma) tegra_dma_of_xlate()
1243 struct tegra_dma *tdma = ofdma->of_dma_data; tegra_dma_of_xlate()
1240 tegra_dma_of_xlate(struct of_phandle_args *dma_spec, struct of_dma *ofdma) tegra_dma_of_xlate() argument
H A Dcoh901318.c1795 struct of_dma *ofdma) coh901318_xlate()
1798 .base = ofdma->of_dma_data, coh901318_xlate()
1794 coh901318_xlate(struct of_phandle_args *dma_spec, struct of_dma *ofdma) coh901318_xlate() argument
H A Damba-pl08x.c2050 struct of_dma *ofdma) pl08x_of_xlate()
2052 struct pl08x_driver_data *pl08x = ofdma->of_dma_data; pl08x_of_xlate()
2049 pl08x_of_xlate(struct of_phandle_args *dma_spec, struct of_dma *ofdma) pl08x_of_xlate() argument
H A Dpl330.c2058 struct of_dma *ofdma) of_dma_pl330_xlate()
2061 struct pl330_dmac *pl330 = ofdma->of_dma_data; of_dma_pl330_xlate()
2057 of_dma_pl330_xlate(struct of_phandle_args *dma_spec, struct of_dma *ofdma) of_dma_pl330_xlate() argument
H A Dste_dma40.c2371 struct of_dma *ofdma) d40_xlate()
2370 d40_xlate(struct of_phandle_args *dma_spec, struct of_dma *ofdma) d40_xlate() argument
/linux-4.4.14/include/linux/
H A Dof_dma.h53 struct of_dma *ofdma);
55 struct of_dma *ofdma);
87 struct of_dma *ofdma) of_dma_simple_xlate()
86 of_dma_simple_xlate(struct of_phandle_args *dma_spec, struct of_dma *ofdma) of_dma_simple_xlate() argument
/linux-4.4.14/drivers/dma/sh/
H A Dshdma-of.c23 struct of_dma *ofdma) shdma_of_xlate()
22 shdma_of_xlate(struct of_phandle_args *dma_spec, struct of_dma *ofdma) shdma_of_xlate() argument
H A Dusb-dmac.c650 struct of_dma *ofdma) usb_dmac_of_xlate()
649 usb_dmac_of_xlate(struct of_phandle_args *dma_spec, struct of_dma *ofdma) usb_dmac_of_xlate() argument
H A Drcar-dmac.c1452 struct of_dma *ofdma) rcar_dmac_of_xlate()
1451 rcar_dmac_of_xlate(struct of_phandle_args *dma_spec, struct of_dma *ofdma) rcar_dmac_of_xlate() argument
/linux-4.4.14/drivers/dma/dw/
H A Dplatform.c32 struct of_dma *ofdma) dw_dma_of_xlate()
34 struct dw_dma *dw = ofdma->of_dma_data; dw_dma_of_xlate()
31 dw_dma_of_xlate(struct of_phandle_args *dma_spec, struct of_dma *ofdma) dw_dma_of_xlate() argument
/linux-4.4.14/drivers/dma/xilinx/
H A Dxilinx_vdma.c1215 * @ofdma: Pointer to DMA controller data
1220 struct of_dma *ofdma) of_dma_xilinx_xlate()
1222 struct xilinx_vdma_device *xdev = ofdma->of_dma_data; of_dma_xilinx_xlate()
1219 of_dma_xilinx_xlate(struct of_phandle_args *dma_spec, struct of_dma *ofdma) of_dma_xilinx_xlate() argument

Completed in 557 milliseconds