Loading [MathJax]/extensions/tex2jax.js
  • <xmp id="om0om">
  • <table id="om0om"><noscript id="om0om"></noscript></table>
  • NVIDIA DRIVE OS Linux SDK API Reference

    6.0.4 Release
    All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
    nvsciipc.h File Reference

    Detailed Description

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

    Version
    1.0

    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   0x01U
     Specifies the IPC read event. More...
     
    #define NV_SCI_IPC_EVENT_WRITE   0x02U
     Specifies the IPC write event. More...
     
    #define NV_SCI_IPC_EVENT_CONN_EST   0x04U
     Specifies the IPC connection established event. More...
     
    #define NV_SCI_IPC_EVENT_CONN_RESET   0x08U
     Specifies the IPC connection reset event. More...
     
    #define NV_SCI_IPC_EVENT_WRITE_EMPTY   0x10U
     Specifies the IPC write fifo empty event. More...
     
    #define NV_SCI_IPC_EVENT_CONN_EST_ALL
     Specifies single event mask to check IPC connection establishment. More...
     
    #define NVSCIIPC_INFINITE_WAIT   -1LL
     infinite timeout for NvSciIpcWaitEventQnx() More...
     

    Typedefs

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

    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...
     
    NvSciError NvSciIpcCloseEndpointSafe (NvSciIpcEndpoint handle, bool clear)
     Closes an endpoint with the given handle (safety version) More...
     
    void NvSciIpcResetEndpoint (NvSciIpcEndpoint handle)
     Resets an endpoint. More...
     
    NvSciError NvSciIpcResetEndpointSafe (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 NvSciIpcReadSafe (NvSciIpcEndpoint handle, void *buf, uint32_t size, uint32_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 NvSciIpcWriteSafe (NvSciIpcEndpoint handle, const void *buf, uint32_t size, uint32_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, 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...
     
    NvSciError NvSciIpcGetEventSafe (NvSciIpcEndpoint handle, uint32_t *events)
     Get Events (safety version) More...
     
    NvSciError NvSciIpcCheckVersionCompatibility (uint32_t majorVer, uint32_t minorVer, bool *isCompatible)
     

    Variables

    static const uint32_t NvSciIpcMajorVersion = 1U
     NvSciIpc API Major version number. More...
     
    static const uint32_t NvSciIpcMinorVersion = 0U
     NvSciIpc API Minor version number. More...
     

    Variable Documentation

    ◆ NvSciIpcMajorVersion

    const uint32_t NvSciIpcMajorVersion = 1U
    static

    NvSciIpc API Major version number.

    Definition at line 45 of file nvsciipc.h.

    ◆ NvSciIpcMinorVersion

    const uint32_t NvSciIpcMinorVersion = 0U
    static

    NvSciIpc API Minor version number.

    Definition at line 48 of file nvsciipc.h.

    人人超碰97caoporen国产