Home
last modified time | relevance | path

Searched refs:dma (Results 1 – 18 of 18) sorted by relevance

/optee_os/core/drivers/
H A Dzynqmp_csudma.c47 vaddr_t dma = core_mmu_get_va(CSUDMA_BASE, MEM_AREA_IO_SEC, in csudma_clear_intr() local
52 dma += CSUDMA_OFFSET_DIFF; in csudma_clear_intr()
56 io_write32(dma + CSUDMA_I_STS_OFFSET, val & mask); in csudma_clear_intr()
61 vaddr_t dma = core_mmu_get_va(CSUDMA_BASE, MEM_AREA_IO_SEC, in zynqmp_csudma_sync() local
66 if (!dma) in zynqmp_csudma_sync()
70 dma = dma + CSUDMA_OFFSET_DIFF; in zynqmp_csudma_sync()
73 status = io_read32(dma + CSUDMA_I_STS_OFFSET); in zynqmp_csudma_sync()
85 vaddr_t dma = core_mmu_get_va(CSUDMA_BASE, MEM_AREA_IO_SEC, in zynqmp_csudma_prepare() local
88 if (!dma) in zynqmp_csudma_prepare()
91 io_setbits32(dma + CSUDMA_CTRL_OFFSET, CSUDMA_CTRL_ENDIAN_MASK); in zynqmp_csudma_prepare()
[all …]
/optee_os/core/arch/arm/dts/
H A Dat91-sama5d27_wlsom1_ek.dts67 atmel,use-dma-rx;
68 atmel,use-dma-tx;
77 atmel,use-dma-rx;
78 atmel,use-dma-tx;
215 atmel,use-dma-rx;
216 atmel,use-dma-tx;
223 atmel,use-dma-rx;
224 atmel,use-dma-tx;
H A Dsama5d2.dtsi9 #include <dt-bindings/dma/at91.h>
272 dma0: dma-controller@f0010000 {
273 compatible = "atmel,sama5d4-dma";
276 #dma-cells = <1>;
282 dma1: dma-controller@f0004000 {
283 compatible = "atmel,sama5d4-dma";
286 #dma-cells = <1>;
331 dma-names = "tx";
347 dma-names = "tx", "rx";
363 dma-names = "tx", "rx";
[all …]
H A Dsama7g5.dtsi12 #include <dt-bindings/dma/at91.h>
441 dma-names = "tx", "rx";
459 dma-names = "tx", "rx";
572 dma-names = "rx";
724 dma-names = "rx";
737 dma-names = "rx";
757 dma-names = "rx0", "tx0", "rx1", "tx1",
775 dma-names = "rx";
788 dma-names = "tx";
800 dma-names = "tx", "rx";
[all …]
H A Dstm32mp15xx-dkx.dtsi22 compatible = "shared-dma-pool";
28 compatible = "shared-dma-pool";
34 compatible = "shared-dma-pool";
40 compatible = "shared-dma-pool";
46 compatible = "shared-dma-pool";
52 compatible = "shared-dma-pool";
58 compatible = "shared-dma-pool";
177 /delete-property/dma-names;
255 /delete-property/dma-names;
435 /delete-property/dma-names;
[all …]
H A Dstm32mp151.dtsi274 mdma1: dma-controller@58000000 {
280 #dma-cells = <5>;
281 dma-channels = <32>;
282 dma-requests = <48>;
631 dma-names = "ch1", "ch2", "ch3", "ch4", "up";
666 dma-names = "ch1", "ch2", "ch3", "ch4", "up", "trig";
699 dma-names = "ch1", "ch2", "ch3", "ch4";
734 dma-names = "ch1", "ch2", "ch3", "ch4", "up", "trig";
764 dma-names = "up";
783 dma-names = "up";
[all …]
H A Dstm32mp15xx-dhcor-som.dtsi30 compatible = "shared-dma-pool";
36 compatible = "shared-dma-pool";
42 compatible = "shared-dma-pool";
48 compatible = "shared-dma-pool";
54 compatible = "shared-dma-pool";
60 compatible = "shared-dma-pool";
99 /delete-property/dma-names;
H A Dstm32mp157c-ed1.dts34 compatible = "shared-dma-pool";
40 compatible = "shared-dma-pool";
46 compatible = "shared-dma-pool";
52 compatible = "shared-dma-pool";
58 compatible = "shared-dma-pool";
64 compatible = "shared-dma-pool";
70 compatible = "shared-dma-pool";
191 /delete-property/dma-names;
413 /delete-property/dma-names;
425 /delete-property/dma-names;
H A Dstm32mp15xx-dhcom-pdk2.dtsi157 /delete-property/dma-names;
168 /delete-property/dma-names;
230 dma-names = "tx";
247 dma-names = "rx";
268 /delete-property/dma-names;
284 /delete-property/dma-names;
293 /delete-property/dma-names;
H A Dat91-sama5d27_som1_ek.dts105 atmel,use-dma-rx;
106 atmel,use-dma-tx;
113 atmel,use-dma-rx;
114 atmel,use-dma-tx;
149 atmel,use-dma-rx;
150 atmel,use-dma-tx;
157 atmel,use-dma-rx;
158 atmel,use-dma-tx;
H A Dstm32mp15xx-dhcor-avenger96.dtsi209 /delete-property/dma-names;
219 /delete-property/dma-names;
300 dma-names = "tx";
373 /delete-property/dma-names;
382 /delete-property/dma-names;
393 /delete-property/dma-names;
404 /delete-property/dma-names;
H A Dstm32mp15xx-dhcom-som.dtsi31 compatible = "shared-dma-pool";
37 compatible = "shared-dma-pool";
43 compatible = "shared-dma-pool";
49 compatible = "shared-dma-pool";
55 compatible = "shared-dma-pool";
61 compatible = "shared-dma-pool";
268 /delete-property/dma-names;
559 /delete-property/dma-names;
H A Dfsl-lx2160a.dtsi475 dma-ranges = <0x0 0x0 0x0 0x0 0x10000 0x00000000>;
485 dma-coherent;
876 dma-coherent;
901 dma-coherent;
912 dma-coherent;
923 dma-coherent;
934 dma-coherent;
950 dma-coherent;
987 dma-coherent;
1024 dma-coherent;
[all …]
H A Dstm32mp231.dtsi98 hpdma1: dma-controller@40400000 {
103 #dma-cells = <4>;
107 hpdma2: dma-controller@40410000 {
112 #dma-cells = <4>;
116 hpdma3: dma-controller@40420000 {
121 #dma-cells = <4>;
H A Dstm32mp157c-ev1.dts299 /delete-property/dma-names;
314 /delete-property/dma-names;
329 /delete-property/dma-names;
H A Dstm32mp251.dtsi98 hpdma1: dma-controller@40400000 {
103 #dma-cells = <4>;
107 hpdma2: dma-controller@40410000 {
112 #dma-cells = <4>;
116 hpdma3: dma-controller@40420000 {
121 #dma-cells = <4>;
H A Dat91-sama5d2_xplained.dts174 atmel,use-dma-rx;
175 atmel,use-dma-tx;
370 atmel,use-dma-rx;
371 atmel,use-dma-tx;
/optee_os/core/drivers/crypto/caam/utils/
H A Dutils_dmaobj.c77 uint8_t *dma; member
180 struct dmaentry *entry, struct caambuf *dma, in add_sgtdata_entry() argument
186 sgtdata->dma = 0; in add_sgtdata_entry()
189 sgtdata->length = dma->length; in add_sgtdata_entry()
190 sgtdata->dma = dma->data; in add_sgtdata_entry()
193 obj->sgtbuf.length += dma->length; in add_sgtdata_entry()
887 if (sgtdata->orig != sgtdata->dma && sgtdata->orig) { in caam_dmaobj_copy_to_orig()
889 memcpy(sgtdata->orig, sgtdata->dma, copy_size); in caam_dmaobj_copy_to_orig()
925 if (sgtdata->dma[offset]) in caam_dmaobj_copy_ltrim_to_orig()
957 memmove(dst, &sgtdata->dma[offset], copy_size); in caam_dmaobj_copy_ltrim_to_orig()
[all …]