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

Go to the source code of this file.

Data Structures

struct  sof_uuid
 UUID (Universally Unique IDentifier) structure. More...
 
struct  sof_uuid_entry
 Connects UUID with component description. More...
 

Macros

#define UUID_SIZE   16
 UUID is 16 bytes long.
 
#define UUID_NAME_MAX_LEN   32
 UUID name string max length in bytes, including null termination.
 
#define _UUID_INIT(va, vb, vc, d0, d1, d2, d3, d4, d5, d6, d7)    { va, vb, vc, { d0, d1, d2, d3, d4, d5, d6, d7 } }
 
#define _UUID(uuid_name)   (&_##uuid_name)
 
#define _RT_UUID(uuid_name)   (&uuid_name)
 
#define _DEF_UUID(entity_name, uuid_name, initializer)
 
#define SOF_DEFINE_UUID(entity_name, uuid_name, va, vb, vc, vd0, vd1, vd2, vd3, vd4, vd5, vd6, vd7)
 Declares runtime UUID (aaaaaaaa-bbbb-cccc-d0d1-d2d3d4d5d6d7) and name.
 
#define SOF_REG_UUID(name)   _UUIDREG_##name
 Get UUID value sourced from the fixed SOF registry.
 
#define SOF_DEFINE_REG_UUID(name)   _DEF_UUID(#name, name##_uuid, SOF_REG_UUID(name))
 Defines UUID sourced from the fixed SOF registry.
 
#define SOF_UUID(uuid_name)   _UUID(uuid_name)
 Creates local unique 32-bit representation of UUID structure.
 
#define SOF_RT_UUID(uuid_name)   _RT_UUID(uuid_name)
 Dereference unique 32-bit representation of UUID structure in runtime.