/linux-4.4.14/drivers/dma/ |
H A D | of-dma.c | 35 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 D | lpc18xx-dmamux.c | 56 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 D | ti-dma-crossbar.c | 70 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 D | mmp_tdma.c | 597 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 D | dma-jz4780.c | 706 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 D | mxs-dma.c | 753 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 D | bcm2835-dma.c | 569 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 D | moxart-dma.c | 332 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 D | cppi41.c | 868 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 D | img-mdc-dma.c | 774 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 D | k3dma.c | 658 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 D | zx296702_dma.c | 735 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 D | fsl-edma.c | 734 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 D | imx-dma.c | 1033 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 D | mmp_pdma.c | 982 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 D | sirf-dma.c | 832 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 D | sun4i-dma.c | 912 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 D | sun6i-dma.c | 813 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 D | edma.c | 2068 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 D | imx-sdma.c | 1629 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 D | nbpfaxi.c | 1073 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 D | pxa_dma.c | 1331 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 D | tegra20-apb-dma.c | 1241 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 D | coh901318.c | 1795 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 D | amba-pl08x.c | 2050 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 D | pl330.c | 2058 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 D | ste_dma40.c | 2371 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 D | of_dma.h | 53 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 D | shdma-of.c | 23 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 D | usb-dmac.c | 650 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 D | rcar-dmac.c | 1452 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 D | platform.c | 32 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 D | xilinx_vdma.c | 1215 * @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
|