Interface for defining the SoC information device.
More...
Interface for defining the SoC information device.
The device is defined with PBL_SOCINFO_DEFINE() on the block holding the information.
◆ pbl_socinfo
◆ PBL_SOCINFO_DEFINE
| #define PBL_SOCINFO_DEFINE |
( |
|
sym, |
|
|
|
_name, |
|
|
|
_nvmem, |
|
|
|
_uid |
|
) |
| |
Value:
.uid = _uid, \
}; \
PBL_DEVICE_REGISTER(sym, &sym.
dev)
#define PBL_DEVICE_STATE_DEFINE(sym)
Define the runtime state of device instance sym.
Definition device.h:132
#define PBL_DEVICE_INIT_CLASS(sym, _name, _init, _parent, _cls)
Initializer for the struct pbl_device of device instance sym, in class _cls.
Definition device.h:153
struct pbl_device dev
Device.
Definition driver.h:22
SoC information.
Definition driver.h:20
Define the SoC information.
- Parameters
-
| sym | Symbol of the device. |
| _name | Name. |
| _nvmem | Memory holding the information, its parent. |
| _uid | Cell of the unique ID, from PBL_NVMEM_CELL(). |