NVIDIA DRIVE OS Linux SDK API Reference

5.2.6 Release
For Test and Development only
nvsciipc.h File Reference

Detailed Description

NVIDIA Software Communications Interface (SCI) : NvSci Inter-Process Communication

Definition in file nvsciipc.h.

Go to the source code of this file.

Data Structures

struct  NvSciIpcEndpointInfo
 Defines information about the NvSciIpc endpoint. More...
 

Macros

#define NVSCIIPC_MAX_ENDPOINT_NAME   64U
 Specifies maximum Endpoint name length including null terminator. More...
 
#define NV_SCI_IPC_EVENT_READ   1U
 Specifies the IPC read event. More...
 
#define NV_SCI_IPC_EVENT_WRITE   2U
 Specifies the IPC write event. More...
 
#define NV_SCI_IPC_EVENT_CONN_EST   4U
 Specifies the IPC connection established event. More...
 
#define NV_SCI_IPC_EVENT_CONN_RESET   8U
 Specifies the IPC connection reset event. More...
 
#define NV_SCI_IPC_EVENT_CONN_EST_ALL   (NV_SCI_IPC_EVENT_CONN_EST | NV_SCI_IPC_EVENT_WRITE | NV_SCI_IPC_EVENT_READ)
 Specifies single event mask to check IPC connection establishment. More...
 

Typedefs

typedef uint64_t NvSciIpcEndpoint
 Handle to the NvSciIpc endpoint. More...
 

Functions

NvSciError NvSciIpcInit (void)
 Initializes the NvSciIpc library. More...
 
void NvSciIpcDeinit (void)
 De-initializes the NvSciIpc library. More...
 
NvSciError NvSciIpcOpenEndpoint (const char *endpoint, NvSciIpcEndpoint *handle)
 Opens an endpoint with the given name. More...
 
NvSciError NvSciIpcOpenEndpointWithEventService (const char *endpoint, NvSciIpcEndpoint *handle, NvSciEventService *eventService)
 Opens an endpoint with the given name and event service. More...
 
NvSciError NvSciIpcGetEventNotifier (NvSciIpcEndpoint handle, NvSciEventNotifier **eventNotifier)
 Get NvSciIpc event notifier. More...
 
void NvSciIpcCloseEndpoint (NvSciIpcEndpoint handle)
 Closes an endpoint with the given handle. More...
 
void NvSciIpcResetEndpoint (NvSciIpcEndpoint handle)
 Resets an endpoint. More...
 
NvSciError NvSciIpcRead (NvSciIpcEndpoint handle, void *buf, size_t size, int32_t *bytes)
 Returns the contents of the next frame from an endpoint. More...
 
NvSciError NvSciIpcReadGetNextFrame (NvSciIpcEndpoint handle, const volatile void **buf)
 Returns a pointer to the location of the next frame from an endpoint. More...
 
NvSciError NvSciIpcReadAdvance (NvSciIpcEndpoint handle)
 Removes the next frame from an endpoint. More...
 
NvSciError NvSciIpcWrite (NvSciIpcEndpoint handle, const void *buf, size_t size, int32_t *bytes)
 Writes a new frame to the endpoint. More...
 
NvSciError NvSciIpcWriteGetNextFrame (NvSciIpcEndpoint handle, volatile void **buf)
 Returns a pointer to the location of the next frame for writing data. More...
 
NvSciError NvSciIpcWriteAdvance (NvSciIpcEndpoint handle)
 Writes the next frame to the endpoint. More...
 
NvSciError NvSciIpcGetEndpointInfo (NvSciIpcEndpoint handle, struct NvSciIpcEndpointInfo *info)
 Returns endpoint information. More...
 
NvSciError NvSciIpcGetLinuxEventFd (NvSciIpcEndpoint handle, int32_t *fd)
 Returns the NvSciIpc file descriptor for a given endpoint. More...
 
NvSciError NvSciIpcGetEvent (NvSciIpcEndpoint handle, uint32_t *events)
 Get Events. More...