1DMAM_DECLARE_COHEREN(9) Device drivers infrastructure DMAM_DECLARE_COHEREN(9)
2
3
4
6 dmam_declare_coherent_memory - Managed dma_declare_coherent_memory
7
9 int dmam_declare_coherent_memory(struct device * dev,
10 dma_addr_t bus_addr,
11 dma_addr_t device_addr, size_t size,
12 int flags);
13
15 dev
16 Device to declare coherent memory for
17
18 bus_addr
19 Bus address of coherent memory to be declared
20
21 device_addr
22 Device address of coherent memory to be declared
23
24 size
25 Size of coherent memory to be declared
26
27 flags
28 Flags
29
31 Managed dma_declare_coherent_memory.
32
34 0 on success, -errno on failure.
35
37Kernel Hackers Manual 2.6. June 2019 DMAM_DECLARE_COHEREN(9)