|
Sound Open Firmware
|
Main DMA trace context and state machine descriptor. More...
#include <src/include/sof/trace/dma-trace.h>

Data Fields | |
| struct dma_sg_config | config |
| Scatter-gather configuration for host DMA. | |
| struct dma_trace_buf | dmatb |
| Internal circular buffer tracking read/write pointers. | |
| struct dma_copy | dc |
| DMA copy engine instance. | |
| struct sof_ipc_dma_trace_posn | posn |
| Position report payload sent to host. | |
| struct ipc_msg * | msg |
| IPC message used to report buffer position. | |
| uint32_t | host_size |
| Total size of host-allocated trace buffer. | |
| struct task | dmat_work |
| Periodic scheduling task driving DMA transfers. | |
| uint32_t | enabled |
| 1 if DMA trace streaming is active, 0 otherwise | |
| uint32_t | copy_in_progress |
| 1 if a DMA copy operation is currently underway | |
| uint32_t | stream_tag |
| Assigned host DMA stream tag. | |
| uint32_t | active_stream_tag |
| Current active stream tag. | |
| uint32_t | dma_copy_align |
| Minimal byte alignment required for DMA transfer chunks. | |
| uint32_t | dropped_entries |
| Cumulative counter of dropped entries due to buffer overflow. | |
| struct k_spinlock | lock |
| Spinlock synchronizing buffer writes and DMA triggers. | |
| uint64_t | time_delta |
| Offset between host wallclock and DSP hardware timer. | |
Main DMA trace context and state machine descriptor.
| uint32_t dma_trace_data::active_stream_tag |
Current active stream tag.
| struct dma_sg_config dma_trace_data::config |
Scatter-gather configuration for host DMA.
| uint32_t dma_trace_data::copy_in_progress |
1 if a DMA copy operation is currently underway
| struct dma_copy dma_trace_data::dc |
DMA copy engine instance.
| uint32_t dma_trace_data::dma_copy_align |
Minimal byte alignment required for DMA transfer chunks.
| struct task dma_trace_data::dmat_work |
Periodic scheduling task driving DMA transfers.
| struct dma_trace_buf dma_trace_data::dmatb |
Internal circular buffer tracking read/write pointers.
| uint32_t dma_trace_data::dropped_entries |
Cumulative counter of dropped entries due to buffer overflow.
| uint32_t dma_trace_data::enabled |
1 if DMA trace streaming is active, 0 otherwise
| uint32_t dma_trace_data::host_size |
Total size of host-allocated trace buffer.
| struct k_spinlock dma_trace_data::lock |
Spinlock synchronizing buffer writes and DMA triggers.
| struct ipc_msg* dma_trace_data::msg |
IPC message used to report buffer position.
| struct sof_ipc_dma_trace_posn dma_trace_data::posn |
Position report payload sent to host.
| uint32_t dma_trace_data::stream_tag |
Assigned host DMA stream tag.
| uint64_t dma_trace_data::time_delta |
Offset between host wallclock and DSP hardware timer.