Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
ft1000_ioctl.h File Reference

Go to the source code of this file.

Data Structures

struct  _IOCTL_GET_VER
 
struct  _IOCTL_GET_DSP_STAT
 
struct  _IOCTL_DPRAM_BLK
 
struct  _IOCTL_DPRAM_COMMAND
 

Macros

#define FT1000_MAGIC_CODE   'F'
 
#define IOCTL_REGISTER_CMD   0
 
#define IOCTL_SET_DPRAM_CMD   3
 
#define IOCTL_GET_DPRAM_CMD   4
 
#define IOCTL_GET_DSP_STAT_CMD   6
 
#define IOCTL_GET_VER_CMD   7
 
#define IOCTL_CONNECT   10
 
#define IOCTL_DISCONNECT   11
 
#define IOCTL_FT1000_GET_DSP_STAT   _IOR (FT1000_MAGIC_CODE, IOCTL_GET_DSP_STAT_CMD, sizeof(IOCTL_GET_DSP_STAT) )
 
#define IOCTL_FT1000_GET_VER   _IOR (FT1000_MAGIC_CODE, IOCTL_GET_VER_CMD, sizeof(IOCTL_GET_VER) )
 
#define IOCTL_FT1000_CONNECT   _IOW (FT1000_MAGIC_CODE, IOCTL_CONNECT, 0 )
 
#define IOCTL_FT1000_DISCONNECT   _IOW (FT1000_MAGIC_CODE, IOCTL_DISCONNECT, 0 )
 
#define IOCTL_FT1000_SET_DPRAM   _IOW (FT1000_MAGIC_CODE, IOCTL_SET_DPRAM_CMD, sizeof(IOCTL_DPRAM_BLK) )
 
#define IOCTL_FT1000_GET_DPRAM   _IOR (FT1000_MAGIC_CODE, IOCTL_GET_DPRAM_CMD, sizeof(IOCTL_DPRAM_BLK) )
 
#define IOCTL_FT1000_REGISTER   _IOW (FT1000_MAGIC_CODE, IOCTL_REGISTER_CMD, sizeof(unsigned short *) )
 

Functions

struct _IOCTL_GET_VER __attribute__ ((packed)) IOCTL_GET_VER
 

Variables

unsigned long drv_ver
 
struct _IOCTL_GET_VERPIOCTL_GET_VER
 
unsigned char DspVer [DSPVERSZ]
 
unsigned char HwSerNum [HWSERNUMSZ]
 
unsigned char Sku [SKUSZ]
 
unsigned char eui64 [EUISZ]
 
unsigned short ConStat
 
unsigned short LedStat
 
unsigned long nTxPkts
 
unsigned long nRxPkts
 
unsigned long nTxBytes
 
unsigned long nRxBytes
 
unsigned long ConTm
 
unsigned char CalVer [CALVERSZ]
 
unsigned char CalDate [CALDATESZ]
 
struct _IOCTL_GET_DSP_STATPIOCTL_GET_DSP_STAT
 
unsigned short total_len
 
struct pseudo_hdr pseudohdr
 
unsigned char buffer [1780]
 
struct _IOCTL_DPRAM_BLKPIOCTL_DPRAM_BLK
 
unsigned short extra
 
IOCTL_DPRAM_BLK dpram_blk
 
struct _IOCTL_DPRAM_COMMANDPIOCTL_DPRAM_COMMAND
 

Macro Definition Documentation

#define FT1000_MAGIC_CODE   'F'

Definition at line 89 of file ft1000_ioctl.h.

#define IOCTL_CONNECT   10

Definition at line 96 of file ft1000_ioctl.h.

#define IOCTL_DISCONNECT   11

Definition at line 97 of file ft1000_ioctl.h.

#define IOCTL_FT1000_CONNECT   _IOW (FT1000_MAGIC_CODE, IOCTL_CONNECT, 0 )

Definition at line 101 of file ft1000_ioctl.h.

#define IOCTL_FT1000_DISCONNECT   _IOW (FT1000_MAGIC_CODE, IOCTL_DISCONNECT, 0 )

Definition at line 102 of file ft1000_ioctl.h.

#define IOCTL_FT1000_GET_DPRAM   _IOR (FT1000_MAGIC_CODE, IOCTL_GET_DPRAM_CMD, sizeof(IOCTL_DPRAM_BLK) )

Definition at line 104 of file ft1000_ioctl.h.

#define IOCTL_FT1000_GET_DSP_STAT   _IOR (FT1000_MAGIC_CODE, IOCTL_GET_DSP_STAT_CMD, sizeof(IOCTL_GET_DSP_STAT) )

Definition at line 99 of file ft1000_ioctl.h.

#define IOCTL_FT1000_GET_VER   _IOR (FT1000_MAGIC_CODE, IOCTL_GET_VER_CMD, sizeof(IOCTL_GET_VER) )

Definition at line 100 of file ft1000_ioctl.h.

#define IOCTL_FT1000_REGISTER   _IOW (FT1000_MAGIC_CODE, IOCTL_REGISTER_CMD, sizeof(unsigned short *) )

Definition at line 105 of file ft1000_ioctl.h.

#define IOCTL_FT1000_SET_DPRAM   _IOW (FT1000_MAGIC_CODE, IOCTL_SET_DPRAM_CMD, sizeof(IOCTL_DPRAM_BLK) )

Definition at line 103 of file ft1000_ioctl.h.

#define IOCTL_GET_DPRAM_CMD   4

Definition at line 93 of file ft1000_ioctl.h.

#define IOCTL_GET_DSP_STAT_CMD   6

Definition at line 94 of file ft1000_ioctl.h.

#define IOCTL_GET_VER_CMD   7

Definition at line 95 of file ft1000_ioctl.h.

#define IOCTL_REGISTER_CMD   0

Definition at line 91 of file ft1000_ioctl.h.

#define IOCTL_SET_DPRAM_CMD   3

Definition at line 92 of file ft1000_ioctl.h.

Function Documentation

struct _IOCTL_GET_VER __attribute__ ( (packed)  )
read

mcontroller : adapter info structure for old mimd_t apps

: base address : irq number : number of logical drives : pci bus : pci device : pci function : pci id : vendor id : slot number : unique id

Definition at line 171 of file esd_usb2.c.

Variable Documentation

unsigned char buffer[1780]

Definition at line 81 of file ft1000_ioctl.h.

unsigned char CalDate[CALDATESZ]

Definition at line 103 of file ft1000_ioctl.h.

unsigned char CalVer[CALVERSZ]

Definition at line 102 of file ft1000_ioctl.h.

unsigned short ConStat

Definition at line 75 of file ft1000_ioctl.h.

unsigned long ConTm

Definition at line 101 of file ft1000_ioctl.h.

IOCTL_DPRAM_BLK dpram_blk

Definition at line 86 of file ft1000_ioctl.h.

unsigned long drv_ver

Definition at line 33 of file ft1000_ioctl.h.

unsigned char DspVer[DSPVERSZ]

Definition at line 71 of file ft1000_ioctl.h.

unsigned char eui64[EUISZ]

Definition at line 74 of file ft1000_ioctl.h.

unsigned short extra

Definition at line 85 of file ft1000_ioctl.h.

unsigned char HwSerNum[HWSERNUMSZ]

Definition at line 72 of file ft1000_ioctl.h.

unsigned short LedStat

Definition at line 82 of file ft1000_ioctl.h.

unsigned long nRxBytes

Definition at line 100 of file ft1000_ioctl.h.

unsigned long nRxPkts

Definition at line 98 of file ft1000_ioctl.h.

unsigned long nTxBytes

Definition at line 99 of file ft1000_ioctl.h.

unsigned long nTxPkts

Definition at line 97 of file ft1000_ioctl.h.

struct _IOCTL_DPRAM_BLK * PIOCTL_DPRAM_BLK

Definition at line 78 of file ft1000_ioctl.h.

struct _IOCTL_DPRAM_COMMAND * PIOCTL_DPRAM_COMMAND

Definition at line 84 of file ft1000_ioctl.h.

struct _IOCTL_GET_DSP_STAT * PIOCTL_GET_DSP_STAT

Definition at line 70 of file ft1000_ioctl.h.

struct _IOCTL_GET_VER * PIOCTL_GET_VER

Definition at line 32 of file ft1000_ioctl.h.

struct pseudo_hdr pseudohdr

Definition at line 80 of file ft1000_ioctl.h.

unsigned char Sku[SKUSZ]

Definition at line 73 of file ft1000_ioctl.h.

unsigned short total_len

Definition at line 79 of file ft1000_ioctl.h.