> ## Documentation Index
> Fetch the complete documentation index at: https://dragonwingdocs-staging.qualcomm.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Audio HW Dma API

> This file contains dma api.

**Header:** `spf/api/modules/audio_hw_dma_api.h`

## Structures

### `dma_rsc_t`

Struct for DMA channel memory request/release/request response by HLOS.

**Members**

<ParamField path="dma_type" type="uint32_t">
  DMA channel type @values #LPAIF\_CORE\_DMA.
</ParamField>

<ParamField path="num_dma_channels" type="uint32_t">
  Number of DMA channels @values >= 0.
</ParamField>

## Type Definitions

### `dma_rsc_t`

```cpp theme={null}
typedef struct dma_rsc_t dma_rsc_t
```

## Macros

### `PARAM_ID_RSC_DMA_READ_CHANNEL`

Param ID for dma This ID should only be used under PRM module instance.

```c theme={null}
#define PARAM_ID_RSC_DMA_READ_CHANNEL 0x080010CE
```

### `PARAM_ID_RSC_DMA_WRITE_CHANNEL`

```c theme={null}
#define PARAM_ID_RSC_DMA_WRITE_CHANNEL 0x080010CF
```
