Sound Open Firmware
Loading...
Searching...
No Matches
ipc-config.h File Reference
Include dependency graph for ipc-config.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  dma_device_stream_channel_map
 
struct  dma_stream_channel_map
 
struct  ipc_dma_config
 
struct  ipc_config_host
 
struct  ipc_config_dai
 
struct  ipc_config_volume
 
struct  ipc_config_src
 
struct  ipc_config_asrc
 
struct  ipc_config_tone
 
struct  ipc_config_process
 
struct  ipc_comp_file
 

Macros

#define GTW_DMA_CONFIG_ID   0x1000
 
#define GTW_DMA_INVALID_CHANNEL_ID   0xffffffff
 
#define GTW_DMA_DEVICE_MAX_COUNT   16
 
#define GET_IPC_DMA_CONFIG(buffer, size)    ((struct ipc_dma_config *)((uint8_t *)(buffer) + (size) - sizeof(struct ipc_dma_config)))
 
#define GET_IPC_DMA_CONFIG_ID(buffer, size)   ((uint32_t *)GET_IPC_DMA_CONFIG(buffer, size) - 2)
 

Macro Definition Documentation

◆ GET_IPC_DMA_CONFIG

#define GET_IPC_DMA_CONFIG (   buffer,
  size 
)     ((struct ipc_dma_config *)((uint8_t *)(buffer) + (size) - sizeof(struct ipc_dma_config)))

◆ GET_IPC_DMA_CONFIG_ID

#define GET_IPC_DMA_CONFIG_ID (   buffer,
  size 
)    ((uint32_t *)GET_IPC_DMA_CONFIG(buffer, size) - 2)

◆ GTW_DMA_CONFIG_ID

#define GTW_DMA_CONFIG_ID   0x1000

◆ GTW_DMA_DEVICE_MAX_COUNT

#define GTW_DMA_DEVICE_MAX_COUNT   16

◆ GTW_DMA_INVALID_CHANNEL_ID

#define GTW_DMA_INVALID_CHANNEL_ID   0xffffffff