Fabien Dessenne
641067fb0c
dm: core: Introduce xxx_translate_dma_address()
...
Add the following functions to translate DMA address to CPU address:
- dev_translate_dma_address()
- ofnode_translate_dma_address()
- of_translate_dma_address()
- fdt_translate_dma_address()
These functions work the same way as xxx_translate_address(), with the
difference that the translation relies on the "dma-ranges" property
instead of the "ranges" property.
Add related test. Test report:
=> ut dm fdt_translation
Test: dm_test_fdt_translation: test-fdt.c
Test: dm_test_fdt_translation: test-fdt.c (flat tree)
Failures: 0
Signed-off-by: Fabien Dessenne <fabien.dessenne@st.com >
2019-07-22 09:21:28 +02:00
..
2018-05-07 09:34:12 -04:00
2018-11-26 08:25:37 -05:00
2019-07-17 11:12:54 -04:00
2018-05-10 20:38:25 -04:00
2019-04-26 18:58:22 -04:00
2018-11-26 08:25:32 -05:00
2019-07-10 16:52:58 -06:00
2018-05-07 09:34:12 -04:00
2019-07-13 11:11:30 -04:00
2018-05-07 09:34:12 -04:00
2018-12-31 08:08:51 -05:00
2019-07-11 14:11:18 -04:00
2018-05-07 09:34:12 -04:00
2019-04-23 20:26:43 -06:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-09-10 20:20:34 -04:00
2018-05-07 09:34:12 -04:00
2019-04-26 17:51:51 -04:00
2019-07-18 11:31:25 -04:00
2018-11-09 10:44:50 -05:00
2018-11-26 08:25:36 -05:00
2018-11-20 19:14:22 -07:00
2018-05-07 09:34:12 -04:00
2018-12-07 16:31:45 +01:00
2019-04-23 17:57:27 -04:00
2018-05-07 09:34:12 -04:00
2019-07-22 09:21:28 +02:00
2018-05-07 09:34:12 -04:00
2018-12-08 20:18:44 -05:00
2018-05-07 09:34:12 -04:00
2019-03-22 12:15:18 -04:00
2019-04-24 07:27:32 -04:00
2019-07-11 14:11:18 -04:00
2019-04-22 18:13:23 -04:00
2019-06-21 10:07:11 -04:00
2019-07-11 14:11:18 -04:00
2018-05-07 09:34:12 -04:00
2018-06-18 14:02:04 -04:00
2019-07-10 16:52:58 -06:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2018-05-07 09:34:12 -04:00
2019-06-04 23:20:43 +02:00
2018-05-07 09:34:12 -04:00
2019-02-20 15:21:44 +08:00
2018-04-27 14:54:48 -04:00
2018-12-06 23:26:30 -05:00
2019-05-23 11:38:11 +02:00
2018-11-29 09:30:05 -07:00
2018-07-10 16:55:59 -04:00
2018-06-05 20:19:08 -04:00
2018-10-24 14:45:36 -05:00
2018-05-07 09:34:12 -04:00
2019-05-20 11:56:41 +02:00
2019-06-04 23:20:43 +02:00
2019-06-04 23:20:43 +02:00
2018-05-07 09:34:12 -04:00
2019-04-09 13:11:45 +02:00
2019-04-14 14:18:48 +02:00
2018-11-26 21:19:04 +01:00
2018-11-26 21:19:03 +01:00
2019-01-15 15:28:51 -05:00