libxcoder  5.2.0
ni_p2p_ioctl.h File Reference

Definitions related to NETINT P2P kernel driver interface. More...

Go to the source code of this file.

Data Structures

struct  netint_iocmd_export_dmabuf
 
struct  netint_iocmd_import_dmabuf
 
struct  netint_iocmd_issue_request
 
struct  netint_iocmd_attach_rfence
 
struct  netint_iocmd_signal_rfence
 

Macros

#define NI_DMABUF_READ_FENCE   (1 << 0)
 
#define NI_DMABUF_SYNC_FILE_OUT_FENCE   (1 << 1)
 
#define NI_DMABUF_SYNC_FILE_IN_FENCE   (1 << 2)
 
#define NI_DMABUF_MAX_SGL_ENTRY   128
 
#define NETINT_IOCTL_ID   _IO('N', 0x80)
 
#define NETINT_IOCTL_EXPORT_DMABUF   _IOWR('N', 0x81, struct netint_iocmd_export_dmabuf)
 
#define NETINT_IOCTL_ATTACH_RFENCE   _IOW('N', 0x82, struct netint_iocmd_attach_rfence)
 
#define NETINT_IOCTL_SIGNAL_RFENCE   _IOW('N', 0x83, struct netint_iocmd_signal_rfence)
 
#define NETINT_IOCTL_ISSUE_REQ   _IOW('N', 0x85, struct netint_iocmd_issue_request)
 
#define NETINT_IOCTL_IMPORT_DMABUF   _IOW('N', 0x88, struct netint_iocmd_import_dmabuf)
 

Enumerations

enum  { NI_DMABUF_READ_FROM_DEVICE = 0, NI_DMABUF_WRITE_TO_DEVICE = 1 }
 

Detailed Description

Definitions related to NETINT P2P kernel driver interface.


Definition in file ni_p2p_ioctl.h.

Macro Definition Documentation

◆ NETINT_IOCTL_ATTACH_RFENCE

#define NETINT_IOCTL_ATTACH_RFENCE   _IOW('N', 0x82, struct netint_iocmd_attach_rfence)

Definition at line 95 of file ni_p2p_ioctl.h.

◆ NETINT_IOCTL_EXPORT_DMABUF

#define NETINT_IOCTL_EXPORT_DMABUF   _IOWR('N', 0x81, struct netint_iocmd_export_dmabuf)

Definition at line 93 of file ni_p2p_ioctl.h.

◆ NETINT_IOCTL_ID

#define NETINT_IOCTL_ID   _IO('N', 0x80)

Definition at line 92 of file ni_p2p_ioctl.h.

◆ NETINT_IOCTL_IMPORT_DMABUF

#define NETINT_IOCTL_IMPORT_DMABUF   _IOW('N', 0x88, struct netint_iocmd_import_dmabuf)

Definition at line 101 of file ni_p2p_ioctl.h.

◆ NETINT_IOCTL_ISSUE_REQ

#define NETINT_IOCTL_ISSUE_REQ   _IOW('N', 0x85, struct netint_iocmd_issue_request)

Definition at line 99 of file ni_p2p_ioctl.h.

◆ NETINT_IOCTL_SIGNAL_RFENCE

#define NETINT_IOCTL_SIGNAL_RFENCE   _IOW('N', 0x83, struct netint_iocmd_signal_rfence)

Definition at line 97 of file ni_p2p_ioctl.h.

◆ NI_DMABUF_MAX_SGL_ENTRY

#define NI_DMABUF_MAX_SGL_ENTRY   128

Definition at line 35 of file ni_p2p_ioctl.h.

◆ NI_DMABUF_READ_FENCE

#define NI_DMABUF_READ_FENCE   (1 << 0)

Definition at line 31 of file ni_p2p_ioctl.h.

◆ NI_DMABUF_SYNC_FILE_IN_FENCE

#define NI_DMABUF_SYNC_FILE_IN_FENCE   (1 << 2)

Definition at line 33 of file ni_p2p_ioctl.h.

◆ NI_DMABUF_SYNC_FILE_OUT_FENCE

#define NI_DMABUF_SYNC_FILE_OUT_FENCE   (1 << 1)

Definition at line 32 of file ni_p2p_ioctl.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
NI_DMABUF_READ_FROM_DEVICE 
NI_DMABUF_WRITE_TO_DEVICE 

Definition at line 37 of file ni_p2p_ioctl.h.