dmam_declare_coherent_memory(9)

dmam_declare_coherent_memory9

Managed dma_declare_coherent_memory

Usage

int dmam_declare_coherent_memory(struct device * dev, phys_addr_t phys_addr, dma_addr_t device_addr, size_t size, int flags);

Arguments

dev

Device to declare coherent memory for

phys_addr

Physical address of coherent memory to be declared

device_addr

Device address of coherent memory to be declared

size

Size of coherent memory to be declared

flags

Flags

Overview

Managed dma_declare_coherent_memory.

Returns

0 on success, -errno on failure.

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.