Sound Open Firmware
Loading...
Searching...
No Matches
ipc4_message_request Struct Reference

Standard 64-bit IPC4 message request envelope. More...

#include <src/include/ipc4/header.h>

Data Fields

union { 
 
   uint32_t   dat 
 Raw 32-bit Primary register value. More...
 
   struct { 
 
      uint32_t   rsvd0: 24 
 Command-specific payload, pipeline ID, or module/instance identifier. More...
 
      uint32_t   type: 5 
 5-bit message opcode (enum ipc4_message_type or enum sof_ipc4_module_type). More...
 
      uint32_t   rsp: 1 
 Direction: 0 for request/notification (SOF_IPC4_MESSAGE_DIR_MSG_REQUEST). More...
 
      uint32_t   msg_tgt: 1 
 Target selector: 0 for global firmware, 1 for module instance. More...
 
      uint32_t   _reserved_0: 1 
 Hardware reserved control bit. More...
 
   }   r 
 
} primary 
 
union { 
 
   uint32_t   dat 
 Raw 32-bit Extension register value. More...
 
   struct { 
 
      uint32_t   ext_data: 30 
 Command-specific extension payload, buffer offsets, or parameter flags. More...
 
      uint32_t   _reserved_0: 2 
 Hardware reserved control bits. More...
 
   }   r 
 
} extension 
 

Detailed Description

Standard 64-bit IPC4 message request envelope.

Used for all host-to-DSP command requests. When msg_tgt is SOF_IPC4_MESSAGE_TARGET_FW_GEN_MSG, the type field is one of ipc4_message_type. When msg_tgt is SOF_IPC4_MESSAGE_TARGET_MODULE_MSG, type is one of sof_ipc4_module_type.

Field Documentation

◆ _reserved_0

uint32_t ipc4_message_request::_reserved_0

Hardware reserved control bit.

Hardware reserved control bits.

◆ dat

uint32_t ipc4_message_request::dat

Raw 32-bit Primary register value.

Raw 32-bit Extension register value.

◆ ext_data

uint32_t ipc4_message_request::ext_data

Command-specific extension payload, buffer offsets, or parameter flags.

◆ [union]

union { ... } ipc4_message_request::extension

◆ msg_tgt

uint32_t ipc4_message_request::msg_tgt

Target selector: 0 for global firmware, 1 for module instance.

◆ [union]

union { ... } ipc4_message_request::primary

◆ [struct] [1/2]

struct { ... } ipc4_message_request::r

◆ [struct] [2/2]

struct { ... } ipc4_message_request::r

◆ rsp

uint32_t ipc4_message_request::rsp

Direction: 0 for request/notification (SOF_IPC4_MESSAGE_DIR_MSG_REQUEST).

◆ rsvd0

uint32_t ipc4_message_request::rsvd0

Command-specific payload, pipeline ID, or module/instance identifier.

◆ type

uint32_t ipc4_message_request::type

5-bit message opcode (enum ipc4_message_type or enum sof_ipc4_module_type).


The documentation for this struct was generated from the following file: