dmam_declare_coherent_memory
Prev | Device Drivers DMA Management | Next

## Name

dmam_declare_coherent_memory — Managed `dma_declare_coherent_memory`

## Synopsis

`int dmam_declare_coherent_memory (` | struct device * dev,
| dma_addr_t bus_addr,
| dma_addr_t device_addr,
| size_t size,
| int flags`)`;

## Arguments

`dev`

  Device to declare coherent memory for

`bus_addr`

  Bus 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

## Description

Managed `dma_declare_coherent_memory`.

## RETURNS

0 on success, -errno on failure.

Prev | Up | Next
dmam_free_noncoherent | Home | dmam_release_declared_memory