u-boot/include/linux
Masahiro Yamada 9d86b89c59 dma-mapping: move dma_map_(un)single() to <linux/dma-mapping.h>
The implementation of dma_map_single() and dma_unmap_single() is
exactly the same for all the architectures that support them.

Factor them out to <linux/dma-mapping.h>, and make all drivers to
include <linux/dma-mapping.h> instead of <asm/dma-mapping.h>.

If we need to differentiate them for some architectures, we can
move the generic definitions to <asm-generic/dma-mapping.h>.

Add some comments to the helpers. The concept is quite similar to
the DMA-API of Linux kernel. Drivers are agnostic about what is
going on behind the scene. Just call dma_map_single() before the
DMA, and dma_unmap_single() after it.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2020-02-19 21:27:30 +08:00
..
byteorder include/linux/byteorder: Sync to latest Linux definitions 2018-06-12 18:44:00 -04:00
clk clk: sifive: Sync-up WRPLL library with upstream Linux 2019-07-19 14:24:51 +08:00
mtd mtd: Rename free() to rfree() 2020-02-05 19:33:46 -07:00
soc/ti dma: ti: k3-udma: Implement dma_get_cfg() interface 2019-12-09 09:47:43 -06:00
unaligned
usb usb: dwc3: Add phy interface for dwc3_uboot 2019-11-23 22:29:49 +08:00
apm_bios.h
arm-smccc.h
asn1.h cmd: add asn1_compiler 2019-12-06 16:44:20 -05:00
asn1_ber_bytecode.h cmd: add asn1_compiler 2019-12-06 16:44:20 -05:00
asn1_decoder.h cmd: add asn1_compiler 2019-12-06 16:44:20 -05:00
bch.h
bitfield.h
bitmap.h lib: Import few bitmap functions from Linux 2020-01-20 10:10:28 +05:30
bitops.h lib: Import few bitmap functions from Linux 2020-01-20 10:10:28 +05:30
bitrev.h lib: bitrev: Sync with Linux kernel v4.17 2018-09-18 00:01:18 -06:00
bug.h bug.h: introduce WARN_ONCE 2018-06-07 17:08:06 -04:00
build_bug.h
clk-provider.h dm: core: Create a new header file for 'compat' features 2020-02-05 19:33:46 -07:00
compat.h dm: core: Drop the inclusion of linux/compat.h in dm.h 2020-02-05 21:48:22 -07:00
compiler-clang.h
compiler-gcc.h ctags: Minor changes to fix ctags output 2018-10-09 04:40:27 -06:00
compiler-intel.h
compiler.h
completion.h compat linux: import completion from linux 4.18 2019-04-22 11:55:58 -04:00
const.h linux/const.h: import from kernel 2018-11-20 13:08:15 +01:00
crc7.h
crc32.h
ctype.h
delay.h time: Update mdelay() to delay in one large chunk 2018-12-05 06:01:35 -07:00
dma-direction.h
dma-mapping.h dma-mapping: move dma_map_(un)single() to <linux/dma-mapping.h> 2020-02-19 21:27:30 +08:00
drm_dp_helper.h
edd.h
err.h linux err: make ERR_PTR/PTR_ERR architecture specific 2019-11-07 18:01:13 -05:00
errno.h
ethtool.h
fb.h
if_ether.h linux/if_ether.h: Add VLAN related macros 2018-10-10 12:28:53 -05:00
immap_qe.h mpc83xx: Introduce ARCH_MPC836* 2019-05-20 13:50:34 +02:00
input.h
io.h include: linux: io: define devm_ioremap on board with ioremap 2019-04-22 11:55:58 -04:00
ioctl.h
iopoll.h
ioport.h
kbuild.h
kconfig.h kconfig: doc: Update comment regarding CONFIG_IS_ENABLED(FOO) for TPL 2019-09-19 12:54:28 -04:00
kernel.h common: Move ROUND() into kernel.h 2020-01-17 17:53:52 -05:00
libfdt.h
libfdt_env.h fdt: Add INT32_MAX to kernel.h for libfdt 2019-11-04 18:15:32 -07:00
linkage.h
linux_string.h
list.h list: import list_first_entry_or_null() 2019-11-07 00:24:59 +01:00
list_sort.h
log2.h
lzo.h
math64.h
mbus.h
mc146818rtc.h
mdio.h linux/mdio.h: Sync with Linux kernel v4.17 2018-10-09 14:18:12 -05:00
mii.h common: Move mii_init() function out of common.h 2019-12-02 18:23:13 -05:00
netdevice.h
oid_registry.h lib: add oid registry utility 2019-12-06 16:44:20 -05:00
poison.h
posix_types.h
printk.h
psci.h efi_loader: PSCI reset and shutdown 2018-12-02 21:59:37 +01:00
rbtree.h
rbtree_augmented.h
screen_info.h
serial_reg.h
sizes.h linux/sizes.h: sync from kernel 2018-11-20 13:08:15 +01:00
stat.h
stddef.h
string.h sandbox: Rename strdup() functions 2020-02-05 19:33:46 -07:00
stringify.h
time.h linux/time.h: include vsprintf.h 2019-12-06 16:44:19 -05:00
typecheck.h
types.h common: Move type declarations to linux/types.h 2020-01-17 13:27:25 -05:00
xxhash.h lib: Add xxhash support 2019-05-05 08:48:50 -04:00
zstd.h lib: add Zstandard decompression support 2019-05-05 08:48:50 -04:00