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 phys_addr_t phys_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 phys_addr
19 Physical 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 3.10 June 2019 DMAM_DECLARE_COHEREN(9)