NVIDIA DRIVE OS Linux SDK API Reference

5.1.6.0 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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 IPC endpoint. More...
 

Macros

#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...
 

Typedefs

typedef uint64_t NvSciIpcEndpoint
 Handle to the IPC 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...
 
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, 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, 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 *event)
 Returns a bitwise OR operation on new events that occurred since the last call to this function. More...
 
NvSciError NvSciIpcSetQnxPulseParam (NvSciIpcEndpoint handle, int32_t coid, int16_t pulsePriority, int16_t pulseCode, void *pulseValue)
 Sets the event pulse parameters for QNX. More...