VCOM Linux Driver
Advantech Inc.
Loading...
Searching...
No Matches
advioctl.h File Reference

Go to the source code of this file.

Macros

#define __ADVIOCTL_H
 
#define ADVVCOM_IOC_MAGIC   'A'
 
#define ADVVCOM_IOCGTXHEAD   _IOR(ADVVCOM_IOC_MAGIC, 1, int)
 
#define ADVVCOM_IOCGTXTAIL   _IOR(ADVVCOM_IOC_MAGIC, 2, int)
 
#define ADVVCOM_IOCGTXSIZE   _IOR(ADVVCOM_IOC_MAGIC, 3, int)
 
#define ADVVCOM_IOCGRXHEAD   _IOR(ADVVCOM_IOC_MAGIC, 4, int)
 
#define ADVVCOM_IOCGRXTAIL   _IOR(ADVVCOM_IOC_MAGIC, 5, int)
 
#define ADVVCOM_IOCGRXSIZE   _IOR(ADVVCOM_IOC_MAGIC, 6, int)
 
#define ADVVCOM_IOCSTXTAIL   _IOW(ADVVCOM_IOC_MAGIC, 7, int)
 
#define ADVVCOM_IOCSRXHEAD   _IOW(ADVVCOM_IOC_MAGIC, 8, int)
 
#define ADVVCOM_IOCGTXBEGIN   _IOR(ADVVCOM_IOC_MAGIC, 9, int)
 
#define ADVVCOM_IOCGRXBEGIN   _IOR(ADVVCOM_IOC_MAGIC, 10, int)
 
#define ADVVCOM_IOCGATTRBEGIN   _IOR(ADVVCOM_IOC_MAGIC, 11, int)
 
#define ADVVCOM_IOCGATTRPTR   _IOR(ADVVCOM_IOC_MAGIC, 12, int)
 
#define ADVVCOM_IOCSINTER   _IOW(ADVVCOM_IOC_MAGIC, 13, int)
 
#define ADVVCOM_IOCSMCTRL   _IOW(ADVVCOM_IOC_MAGIC, 14, int)
 
#define ADVVCOM_IOCSCLR   _IOW(ADVVCOM_IOC_MAGIC, 15, int)
 
#define ADVVCOM_IOCMAX   15
 
#define ADVVCOM_EVENT_TRANS_EN   0x1;
 
#define ADVVCOM_EVENT_RECV_EN   0x2;
 
#define ADV_INT_RX   (0x1 << 0)
 
#define ADV_INT_TX   (0x1 << 1)
 
#define ADV_CLR_RX   (0x1 << 0)
 
#define ADV_CLR_TX   (0x1 << 1)
 

Macro Definition Documentation

◆ __ADVIOCTL_H

#define __ADVIOCTL_H

◆ ADV_CLR_RX

#define ADV_CLR_RX   (0x1 << 0)

◆ ADV_CLR_TX

#define ADV_CLR_TX   (0x1 << 1)

◆ ADV_INT_RX

#define ADV_INT_RX   (0x1 << 0)

◆ ADV_INT_TX

#define ADV_INT_TX   (0x1 << 1)

◆ ADVVCOM_EVENT_RECV_EN

#define ADVVCOM_EVENT_RECV_EN   0x2;

◆ ADVVCOM_EVENT_TRANS_EN

#define ADVVCOM_EVENT_TRANS_EN   0x1;

◆ ADVVCOM_IOC_MAGIC

#define ADVVCOM_IOC_MAGIC   'A'

◆ ADVVCOM_IOCGATTRBEGIN

#define ADVVCOM_IOCGATTRBEGIN   _IOR(ADVVCOM_IOC_MAGIC, 11, int)

◆ ADVVCOM_IOCGATTRPTR

#define ADVVCOM_IOCGATTRPTR   _IOR(ADVVCOM_IOC_MAGIC, 12, int)

◆ ADVVCOM_IOCGRXBEGIN

#define ADVVCOM_IOCGRXBEGIN   _IOR(ADVVCOM_IOC_MAGIC, 10, int)

◆ ADVVCOM_IOCGRXHEAD

#define ADVVCOM_IOCGRXHEAD   _IOR(ADVVCOM_IOC_MAGIC, 4, int)

◆ ADVVCOM_IOCGRXSIZE

#define ADVVCOM_IOCGRXSIZE   _IOR(ADVVCOM_IOC_MAGIC, 6, int)

◆ ADVVCOM_IOCGRXTAIL

#define ADVVCOM_IOCGRXTAIL   _IOR(ADVVCOM_IOC_MAGIC, 5, int)

◆ ADVVCOM_IOCGTXBEGIN

#define ADVVCOM_IOCGTXBEGIN   _IOR(ADVVCOM_IOC_MAGIC, 9, int)

◆ ADVVCOM_IOCGTXHEAD

#define ADVVCOM_IOCGTXHEAD   _IOR(ADVVCOM_IOC_MAGIC, 1, int)

◆ ADVVCOM_IOCGTXSIZE

#define ADVVCOM_IOCGTXSIZE   _IOR(ADVVCOM_IOC_MAGIC, 3, int)

◆ ADVVCOM_IOCGTXTAIL

#define ADVVCOM_IOCGTXTAIL   _IOR(ADVVCOM_IOC_MAGIC, 2, int)

◆ ADVVCOM_IOCMAX

#define ADVVCOM_IOCMAX   15

◆ ADVVCOM_IOCSCLR

#define ADVVCOM_IOCSCLR   _IOW(ADVVCOM_IOC_MAGIC, 15, int)

◆ ADVVCOM_IOCSINTER

#define ADVVCOM_IOCSINTER   _IOW(ADVVCOM_IOC_MAGIC, 13, int)

◆ ADVVCOM_IOCSMCTRL

#define ADVVCOM_IOCSMCTRL   _IOW(ADVVCOM_IOC_MAGIC, 14, int)

◆ ADVVCOM_IOCSRXHEAD

#define ADVVCOM_IOCSRXHEAD   _IOW(ADVVCOM_IOC_MAGIC, 8, int)

◆ ADVVCOM_IOCSTXTAIL

#define ADVVCOM_IOCSTXTAIL   _IOW(ADVVCOM_IOC_MAGIC, 7, int)