|
|
NVIDIA DriveOS Linux NSR SDK API Reference
|
7.0.3.0 Release
|
Go to the documentation of this file.
13 #ifndef SIVC_INSTANCE_H
14 #define SIVC_INSTANCE_H
32 #define SIVC_ALIGN_SHIFT 6U
35 #define SIVC_ALIGN (static_cast<uint32_t>(1U) << SIVC_ALIGN_SHIFT)
39 #define SIVC_ALIGN (((uint32_t)1U) << SIVC_ALIGN_SHIFT)
79 struct sivc_fifo_header;
212 uintptr_t recv_base, uintptr_t send_base,
224 #endif // SIVC_INSTANCE_H
int sivc_init(struct sivc_queue *queue, uintptr_t recv_base, uintptr_t send_base, uint32_t nframes, uint32_t frame_size, sivc_notify_function notify, sivc_cache_invalidate_function cache_invalidate, sivc_cache_flush_function sivc_cache_flush)
Initialize IVC queue control structure.
void(* sivc_cache_flush_function)(const volatile void *addr, size_t size)
Callback: Flush cache for a given memory range.
void(* sivc_cache_invalidate_function)(const volatile void *addr, size_t size)
Callback: Invalidate cache for a given memory range.
sivc_cache_flush_function mem_cache_flush
void(* sivc_notify_function)(struct sivc_queue *queue)
Callback: signal the remote endpoint.
volatile struct sivc_fifo_header * send_fifo
typedef void(WFD_APIENTRY PFNWFDBINDSOURCETOPIPELINEWITHTIMESTAMPNV)(const WFDDevice device
sivc_cache_invalidate_function mem_cache_invalidate
uint32_t sivc_align(uint32_t value)
Align a number.
uint32_t sivc_fifo_size(uint32_t nframes, uint32_t frame_size)
Calculate size of the memory needed for IVC fifo.
sivc_notify_function notify
volatile struct sivc_fifo_header * recv_fifo