|
NVIDIA DRIVE OS Linux SDK API Reference
|
5.2.6 Release For Test and Development only
|
Go to the documentation of this file.
11 #ifndef INCLUDED_NVSCIIPC_H
12 #define INCLUDED_NVSCIIPC_H
238 #define NVSCIIPC_MAX_ENDPOINT_NAME 64U
242 #define NV_SCI_IPC_EVENT_READ 1U
244 #define NV_SCI_IPC_EVENT_WRITE 2U
246 #define NV_SCI_IPC_EVENT_CONN_EST 4U
248 #define NV_SCI_IPC_EVENT_CONN_RESET 8U
250 #define NV_SCI_IPC_EVENT_CONN_EST_ALL (NV_SCI_IPC_EVENT_CONN_EST | NV_SCI_IPC_EVENT_WRITE | NV_SCI_IPC_EVENT_READ)
604 const volatile void **buf);
750 volatile void **buf);
1016 int32_t coid, int16_t pulsePriority, int16_t pulseCode,
NvSciError NvSciIpcGetEndpointInfo(NvSciIpcEndpoint handle, struct NvSciIpcEndpointInfo *info)
Returns endpoint information.
NvSciError
Return/error codes for all NvSci functions.
NvSciError NvSciIpcWriteAdvance(NvSciIpcEndpoint handle)
Writes the next frame to the endpoint.
NVIDIA Software Communications Interface (SCI) : NvSci Event Service
void NvSciIpcDeinit(void)
De-initializes the NvSciIpc library.
void NvSciIpcCloseEndpoint(NvSciIpcEndpoint handle)
Closes an endpoint with the given handle.
NvSciError NvSciIpcOpenEndpoint(const char *endpoint, NvSciIpcEndpoint *handle)
Opens an endpoint with the given name.
NvSciError NvSciIpcOpenEndpointWithEventService(const char *endpoint, NvSciIpcEndpoint *handle, NvSciEventService *eventService)
Opens an endpoint with the given name and event service.
NvSciError NvSciIpcRead(NvSciIpcEndpoint handle, void *buf, size_t size, int32_t *bytes)
Returns the contents of the next frame from an endpoint.
An abstract interface to notify event to event consumer and to register event handler of the event co...
NvSciError NvSciIpcGetLinuxEventFd(NvSciIpcEndpoint handle, int32_t *fd)
Returns the NvSciIpc file descriptor for a given endpoint.
NvSciError NvSciIpcReadAdvance(NvSciIpcEndpoint handle)
Removes the next frame from an endpoint.
void NvSciIpcResetEndpoint(NvSciIpcEndpoint handle)
Resets an endpoint.
NvSciError NvSciIpcGetEvent(NvSciIpcEndpoint handle, uint32_t *events)
Get Events.
NvSciError NvSciIpcReadGetNextFrame(NvSciIpcEndpoint handle, const volatile void **buf)
Returns a pointer to the location of the next frame from an endpoint.
uint64_t NvSciIpcEndpoint
Handle to the NvSciIpc endpoint.
NvSciError NvSciIpcWriteGetNextFrame(NvSciIpcEndpoint handle, volatile void **buf)
Returns a pointer to the location of the next frame for writing data.
NvSciError NvSciIpcInit(void)
Initializes the NvSciIpc library.
NvSciError NvSciIpcWrite(NvSciIpcEndpoint handle, const void *buf, size_t size, int32_t *bytes)
Writes a new frame to the endpoint.
uint32_t frame_size
Holds the frame size in bytes.
NvSciError NvSciIpcGetEventNotifier(NvSciIpcEndpoint handle, NvSciEventNotifier **eventNotifier)
Get NvSciIpc event notifier.
uint32_t nframes
Holds the number of frames.
Defines information about the NvSciIpc endpoint.
An abstract interface for a program's event handling infrastructure.