FreeBSD kernel usb device Code
if_kuefw.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define KUE_QTBTYPE_WRITE_DATA   0x00
 
#define KUE_QTBTYPE_WRITE_INTVEC   0x01
 
#define KUE_QTBTYPE_REPL_INTVEC   0x02
 
#define KUE_QTBTYPE_FIXUP_INTVEC   0x03
 
#define KUE_QTBTYPE_JUMP   0x04
 
#define KUE_QTBTYPE_CALL   0x05
 
#define KUE_QTBTYPE_CALLINTR   0x06
 
#define KUE_QTBTYPE_WRITE_WITH_INTR   0x07
 
#define KUE_QTBTYPE_WRITE_STR_WITH_INTR   0x08
 
#define KUE_QTBTYPE_WRITE_CONFIG   0x09
 
#define KUE_QTINTR_LOAD_CODE   0x64
 
#define KUE_QTINTR_TRIGGER_CODE   0x3B
 
#define KUE_QTINTR_LOAD_CODE_HIGH   0x9C
 
#define KUE_TRIGCMD_OFFSET   5
 

Variables

static unsigned char kue_code_seg []
 
static unsigned char kue_fix_seg []
 
static unsigned char kue_trig_seg []
 

Macro Definition Documentation

◆ KUE_QTBTYPE_CALL

#define KUE_QTBTYPE_CALL   0x05

Definition at line 70 of file if_kuefw.h.

◆ KUE_QTBTYPE_CALLINTR

#define KUE_QTBTYPE_CALLINTR   0x06

Definition at line 72 of file if_kuefw.h.

◆ KUE_QTBTYPE_FIXUP_INTVEC

#define KUE_QTBTYPE_FIXUP_INTVEC   0x03

Definition at line 66 of file if_kuefw.h.

◆ KUE_QTBTYPE_JUMP

#define KUE_QTBTYPE_JUMP   0x04

Definition at line 68 of file if_kuefw.h.

◆ KUE_QTBTYPE_REPL_INTVEC

#define KUE_QTBTYPE_REPL_INTVEC   0x02

Definition at line 64 of file if_kuefw.h.

◆ KUE_QTBTYPE_WRITE_CONFIG

#define KUE_QTBTYPE_WRITE_CONFIG   0x09

Definition at line 83 of file if_kuefw.h.

◆ KUE_QTBTYPE_WRITE_DATA

#define KUE_QTBTYPE_WRITE_DATA   0x00

Definition at line 60 of file if_kuefw.h.

◆ KUE_QTBTYPE_WRITE_INTVEC

#define KUE_QTBTYPE_WRITE_INTVEC   0x01

Definition at line 62 of file if_kuefw.h.

◆ KUE_QTBTYPE_WRITE_STR_WITH_INTR

#define KUE_QTBTYPE_WRITE_STR_WITH_INTR   0x08

Definition at line 80 of file if_kuefw.h.

◆ KUE_QTBTYPE_WRITE_WITH_INTR

#define KUE_QTBTYPE_WRITE_WITH_INTR   0x07

Definition at line 78 of file if_kuefw.h.

◆ KUE_QTINTR_LOAD_CODE

#define KUE_QTINTR_LOAD_CODE   0x64

Definition at line 85 of file if_kuefw.h.

◆ KUE_QTINTR_LOAD_CODE_HIGH

#define KUE_QTINTR_LOAD_CODE_HIGH   0x9C

Definition at line 87 of file if_kuefw.h.

◆ KUE_QTINTR_TRIGGER_CODE

#define KUE_QTINTR_TRIGGER_CODE   0x3B

Definition at line 86 of file if_kuefw.h.

◆ KUE_TRIGCMD_OFFSET

#define KUE_TRIGCMD_OFFSET   5

Definition at line 684 of file if_kuefw.h.

Variable Documentation

◆ kue_code_seg

unsigned char kue_code_seg[]
static

Definition at line 90 of file if_kuefw.h.

Referenced by kue_load_fw().

◆ kue_fix_seg

unsigned char kue_fix_seg[]
static

Definition at line 582 of file if_kuefw.h.

Referenced by kue_load_fw().

◆ kue_trig_seg

unsigned char kue_trig_seg[]
static
Initial value:
= {
0xb6, 0xc3, 0x01, 0x00, 0x06, 0x64, 0x00, 0x00
}

Definition at line 685 of file if_kuefw.h.

Referenced by kue_load_fw().