struct definitions in ethosu_driver.h
More...
Data Structures | |
| struct | ethosu_driver |
| Driver handle. More... | |
| struct | ethosu_driver_version |
| Driver version. More... | |
| struct | ethosu_job |
| Driver job state. More... | |
| struct | ethosu_id |
| Hardware Identification Information. More... | |
| struct | ethosu_config |
| Hardware Configuration Information. More... | |
| struct | ethosu_hw_info |
| Hardware Information. More... | |
| struct | ethosu_pmu_ops |
| Variant-specific PMU operations. More... | |
| struct | ethosu_pmu_desc |
| Variant-specific PMU descriptor. More... | |
| struct | ethosu_device_ops |
| Variant-specific device operations. More... | |
| struct | ethosu_device_caps |
| NPU product capabilities. More... | |
| struct | ethosu_device |
| Device state owned by a driver instance. More... | |
| struct | ethosu_device_config |
| Variant-specific device configuration wrapper. More... | |
struct definitions in ethosu_driver.h
| struct ethosu_driver |
Driver handle.
Caller-allocated driver handle. Initialize it to zero before first use and do not modify its members.
| struct ethosu_driver_version |
Driver version.
This structure holds Ethos-U driver implementation version:
| struct ethosu_job |
Driver job state.
Internal job state. Applications must not modify it.
| struct ethosu_id |
Hardware Identification Information.
This structure holds hardware ID:
| struct ethosu_config |
Hardware Configuration Information.
This structure holds configuration information:
The macs_per_cc member contains the encoded hardware field, not the literal number of MACs. The number of MACs per clock cycle is (1U << macs_per_cc).
| Data Fields | ||
|---|---|---|
| uint32_t | macs_per_cc | MACs per clock cycle. |
| uint32_t | cmd_stream_version | NPU command stream version. |
| uint32_t | custom_dma | Custom DMA enabled. |
| struct ethosu_hw_info |
Hardware Information.
This structure holds Ethos-U hardware information:
| struct ethosu_pmu_ops |
Variant-specific PMU operations.
Internal operation table selected for the NPU family associated with a driver instance.
| struct ethosu_pmu_desc |
Variant-specific PMU descriptor.
Associates a driver instance with its PMU operation table.
| struct ethosu_device_ops |
Variant-specific device operations.
Internal operation table implemented by each Ethos-U family backend.
| struct ethosu_device_caps |
NPU product capabilities.
Identifies the Ethos-U product, its encoded MAC configuration, and optional feature bits.
| struct ethosu_device |
Device state owned by a driver instance.
Holds the selected backend, register base, capabilities, configuration, and optional per-driver user operations. Applications must not modify it.
| struct ethosu_device_config |
Variant-specific device configuration wrapper.
Points to the configuration structure expected by the selected device backend.