NVIDIA DRIVE OS Linux API Reference

5.1.3.0 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Client Application Interface

Detailed Description

Defines the client application APIs.

Modules

 User Application Communication
 

Macros

#define TLK_DEVICE_BASE_NAME   "tlk_device"
 
#define TE_IOCTL_MAGIC_NUMBER   ('t')
 
#define TE_IOCTL_OPEN_CLIENT_SESSION   _IOWR(TE_IOCTL_MAGIC_NUMBER, 0x10, union te_cmd)
 
#define TE_IOCTL_CLOSE_CLIENT_SESSION   _IOWR(TE_IOCTL_MAGIC_NUMBER, 0x11, union te_cmd)
 
#define TE_IOCTL_LAUNCH_OP   _IOWR(TE_IOCTL_MAGIC_NUMBER, 0x14, union te_cmd)
 
#define TE_IOCTL_SS_CMD   _IOR(TE_IOCTL_MAGIC_NUMBER, 0x30, int)
 
#define TE_IOCTL_SS_CMD_GET_NEW_REQ   1
 
#define TE_IOCTL_SS_CMD_REQ_COMPLETE   2
 
#define LIBCA_ERR(args...)   te_fprintf(TE_ERR, args)
 
#define LIBCA_INFO(args...)   te_fprintf(TE_INFO, args)
 
#define LIBCA_SECURE(args...)   te_fprintf(TE_SECURE, args)
 

Enumerations

enum  {
  TLK_SMC_REQUEST = 0xFFFF1000,
  TLK_SMC_GET_MORE = 0xFFFF1001,
  TLK_SMC_ANSWER = 0xFFFF1002,
  TLK_SMC_NO_ANSWER = 0xFFFF1003,
  TLK_SMC_OPEN_SESSION = 0xFFFF1004,
  TLK_SMC_CLOSE_SESSION = 0xFFFF1005
}
 Defines secure monitor calls (SMC) that clients use to communicate with trusted applications (TAs) in the secure world. More...
 

Macro Definition Documentation

#define LIBCA_ERR (   args...)    te_fprintf(TE_ERR, args)

Definition at line 64 of file ote_client.h.

#define LIBCA_INFO (   args...)    te_fprintf(TE_INFO, args)

Definition at line 65 of file ote_client.h.

#define LIBCA_SECURE (   args...)    te_fprintf(TE_SECURE, args)

Definition at line 66 of file ote_client.h.

#define TE_IOCTL_CLOSE_CLIENT_SESSION   _IOWR(TE_IOCTL_MAGIC_NUMBER, 0x11, union te_cmd)

Definition at line 51 of file ote_client.h.

#define TE_IOCTL_LAUNCH_OP   _IOWR(TE_IOCTL_MAGIC_NUMBER, 0x14, union te_cmd)

Definition at line 53 of file ote_client.h.

#define TE_IOCTL_MAGIC_NUMBER   ('t')

Definition at line 47 of file ote_client.h.

#define TE_IOCTL_OPEN_CLIENT_SESSION   _IOWR(TE_IOCTL_MAGIC_NUMBER, 0x10, union te_cmd)

Definition at line 49 of file ote_client.h.

#define TE_IOCTL_SS_CMD   _IOR(TE_IOCTL_MAGIC_NUMBER, 0x30, int)

Definition at line 57 of file ote_client.h.

#define TE_IOCTL_SS_CMD_GET_NEW_REQ   1

Definition at line 60 of file ote_client.h.

#define TE_IOCTL_SS_CMD_REQ_COMPLETE   2

Definition at line 61 of file ote_client.h.

#define TLK_DEVICE_BASE_NAME   "tlk_device"

Definition at line 46 of file ote_client.h.

Enumeration Type Documentation

anonymous enum

Defines secure monitor calls (SMC) that clients use to communicate with trusted applications (TAs) in the secure world.

Enumerator
TLK_SMC_REQUEST 

Requests OTE to launch a TA operation.

TLK_SMC_GET_MORE 

Gets a pending answer without making new operation.

TLK_SMC_ANSWER 

Answers from secure side.

TLK_SMC_NO_ANSWER 

No answers for now (secure side idle).

TLK_SMC_OPEN_SESSION 
TLK_SMC_CLOSE_SESSION 

Definition at line 70 of file ote_client.h.