Go to the source code of this file.
Data Structures | |
| struct | ejtag_bufm_s |
| struct | ejtag_struct |
Defines | |
| #define | BASE 0xFF300000 |
| #define | BIG_E 1 |
| #define | BRKST 0x00000008 |
| #define | BYPASS 0x07 |
| #define | CH(dword) (dword>>1)&0x000000F |
| #define | CLKEN 0x00000001 |
| #define | DATABRK 0x00000040 |
| #define | DB0 BASE+0x020C |
| #define | DBA0 BASE+0x0200 |
| #define | DBC0 BASE+0x0204 |
| #define | DBC_BE 0x00000001 |
| #define | DBC_BLM 0x00000FF0 |
| #define | DBC_TE 0x00000004 |
| #define | DBM0 BASE+0x0208 |
| #define | DBS_BCN(dword) (dword>>24) |
| #define | DBS_BS(dword) ((dword&0x00004FF2)>>1) |
| #define | DBS_BS0 0x00000001 |
| #define | DCACHEC 0x00040000 |
| #define | DCR BASE+0x0000 |
| #define | DCR_DZS 0x80000000 |
| #define | DCR_ENM 0x20000000 |
| #define | DCR_HIS 0x40000000 |
| #define | DCR_MINT 0x00000010 |
| #define | DCR_MNMI 0x00000008 |
| #define | DCR_MP 0x00000004 |
| #define | DCR_MRST 0x00000002 |
| #define | DCR_TIFDSU 0x00000040 |
| #define | DCR_TM 0x00000001 |
| #define | DCR_TOFDSU 0x00000020 |
| #define | DERR 0x00000400 |
| #define | DEST_FLASH 0xB |
| #define | DEST_HOST 0xC |
| #define | DEST_NORMAL 0xA |
| #define | DEV 0x00004000 |
| #define | DEV_VERSION (0x24<<16 | 0x00) |
| #define | DEX_HIGH 0xFF200FFF |
| #define | DEX_LOW 0xFF200000 |
| #define | DEX_SIZE_W 0xFFF |
| #define | DINC 0x00000010 |
| #define | DLOCK 0x00000020 |
| #define | DMAACC 0x00020000 |
| #define | DOZE 0x00400000 |
| #define | DRWN 0x00000200 |
| #define | DSTRT 0x00000800 |
| #define | EJTAG_ADDR_REG 0x1101 |
| #define | EJTAG_BIGEND 0x0002 |
| #define | EJTAG_BIGENDIAN 0x3003 |
| #define | EJTAG_BUFFER_SIZE 256 |
| #define | EJTAG_BUSY 0x0004 |
| #define | EJTAG_BUSY_BIT_POS 2 |
| #define | EJTAG_CHECKSTATUS 0x3000 |
| #define | EJTAG_CTRL_REG 0x1100 |
| #define | EJTAG_DATA 0x1000 |
| #define | EJTAG_DATA_REG 0x1102 |
| #define | EJTAG_EXIST 0x0001 |
| #define | EJTAG_F(minor) ejtag_table[(minor)].flags |
| #define | EJTAG_IMPLEMENTATION 0x1002 |
| #define | EJTAG_INIT 0x0001 |
| #define | EJTAG_INIT_CHAR 1000 |
| #define | EJTAG_INIT_DEBUG 0 |
| #define | EJTAG_INIT_TIME 2 |
| #define | EJTAG_INIT_WAIT 1 |
| #define | EJTAG_INSTR 0x1001 |
| #define | EJTAG_IRQ(minor) ejtag_table[(minor)].dev->port->irq |
| #define | EJTAG_PARPORT_AUTO -3 |
| #define | EJTAG_PARPORT_NONE -1 |
| #define | EJTAG_PARPORT_OFF -2 |
| #define | EJTAG_PARPORT_UNSPEC -4 |
| #define | EJTAG_PORTREAD 0x3002 |
| #define | EJTAG_PORTWRITE 0x3001 |
| #define | EJTAG_READ_BYTE 0x2021 |
| #define | EJTAG_READ_HWORD 0x2011 |
| #define | EJTAG_READ_STATP 0x4002 |
| #define | EJTAG_READ_WORD 0x2001 |
| #define | EJTAG_TAPMOVE 0x0002 |
| #define | EJTAG_TAPRESET 0x0000 |
| #define | EJTAG_TIME(minor) ejtag_table[(minor)].time |
| #define | EJTAG_VERSION 0x1003 |
| #define | EJTAG_WAIT(minor) ejtag_table[(minor)].wait |
| #define | EJTAG_WAIT(minor) ejtag_table[(minor)].wait |
| #define | EJTAG_WRITE_BYTE 0x2020 |
| #define | EJTAG_WRITE_CTRLP 0x4001 |
| #define | EJTAG_WRITE_DATAP 0x4000 |
| #define | EJTAG_WRITE_HWORD 0x2010 |
| #define | EJTAG_WRITE_WORD 0x2000 |
| #define | EJTAGBUFSIZE (1024*4) |
| #define | EXTEST 0x00 |
| #define | HI_Z 0x05 |
| #define | IBA0 BASE+0x0100 |
| #define | IBC0 BASE+0x0104 |
| #define | IBC_BE 0x00000001 |
| #define | IBC_TE 0x00000004 |
| #define | IBM0 BASE+0x0108 |
| #define | IBS_BCN(dword) (dword>>24) |
| #define | IBS_BS(dword) ((dword&0x00004FF2)>>1) |
| #define | IBS_BS0 0x00000001 |
| #define | ICACHEC 0x00020000 |
| #define | IDCODE 0x01 |
| #define | IMPCODE 0x03 |
| #define | INSTBRK 0x00000020 |
| #define | JTAG_ADDRESS_IR 0x08 |
| #define | JTAG_ALL_IR 0x0B |
| #define | JTAG_BOOT 0x0C |
| #define | JTAG_CONTROL_IR 0x0A |
| #define | JTAG_DATA_IR 0x09 |
| #define | JTAGBRK 0x00001000 |
| #define | JTS_BYTE 0x00000000 |
| #define | JTS_HALFWORD 0x00000080 |
| #define | JTS_TRIPLEBYTE 0x00000180 |
| #define | JTS_WORD 0x00000100 |
| #define | LITTLE_E 0 |
| #define | MACRO 0x1E |
| #define | MIPS16 0x00010000 |
| #define | MIPS64 0x00000001 |
| #define | NODMA 0x00004000 |
| #define | NOPCTRACE 0x00008000 |
| #define | PBA0 BASE+0x0300 |
| #define | PBC0 BASE+0x030C |
| #define | PBC_BE 0x00000001 |
| #define | PBC_DLUC 0x00000020 |
| #define | PBC_DSUC 0x00000040 |
| #define | PBC_IFUC 0x00000010 |
| #define | PBC_LAM 0xFFFFFF00 |
| #define | PBC_TE 0x00000004 |
| #define | PBD0 BASE+0x0304 |
| #define | PBM0 BASE+0x0308 |
| #define | PBS BASE+0x000C |
| #define | PBS_BCN(dword) (dword>>24) |
| #define | PBS_BS(dword) ((dword&0x00004FF2)>>1) |
| #define | PBS_BS0 0x00000001 |
| #define | PCLEN 0x01000000 |
| #define | PCSTW(dword) 1+((dword)>>8&0x0000007) |
| #define | PCTRACE 0x10 |
| #define | PERRST 0x00100000 |
| #define | PHYSAW 0x00080000 |
| #define | PRACC 0x00040000 |
| #define | PRNW 0x00080000 |
| #define | PROBE_MEM_SIZE 0x1000 |
| #define | PROBEN 0x0000c000 |
| #define | PROCBRK 0x00000080 |
| #define | PRRST 0x00010000 |
| #define | RUN 0x00200000 |
| #define | SAMPLE_PRELOAD 0x02 |
| #define | SDBBPC 0x00800000 |
| #define | SYNC_FLAG 0x00800000 |
| #define | TCK_BIT(x) ((x)?TCK_BIT_MASK:0x0) |
| #define | TCK_BIT_MASK (0x1<<0) |
| #define | TDO_BIT(x) ((x)?TDO_BIT_MASK:0x0) |
| #define | TDO_BIT_MASK (0x1<<6) |
| #define | TIF 0x00000004 |
| #define | TMS_BIT(x) ((x)?TMS_BIT_MASK:0x0) |
| #define | TMS_BIT_MASK (0x1<<1) |
| #define | TOF 0x00000002 |
| #define | TPCW(dword) 1+((dword)>>11&0x0000007) |
| #define | TRSTN_BIT(x) ((x)?TRSTN_BIT_MASK:0x0) |
| #define | TRSTN_BIT_MASK (0x1<<3) |
Typedefs | |
| typedef struct ejtag_bufm_s | ejtag_bufm_t |
Enumerations | |
| enum | ejtag_srec_state { Start, Type, Count, Addr, Data, ChkSum } |
| #define EJTAG_IRQ | ( | minor | ) | ejtag_table[(minor)].dev->port->irq |
| typedef struct ejtag_bufm_s ejtag_bufm_t |
| enum ejtag_srec_state |
1.5.6