54 volatile unsigned int ctrl;
55 volatile unsigned int oper;
56 volatile unsigned int cur_cmd;
57 volatile unsigned int imask;
58 volatile unsigned int ipend;
59 volatile unsigned int ipoint;
60 volatile unsigned int bit_reg;
61 volatile unsigned int ttag;
62 volatile unsigned int dpoint;
63 volatile unsigned int sw;
64 volatile unsigned int initcount;
65 volatile unsigned int mcpoint;
66 volatile unsigned int mdpoint;
67 volatile unsigned int mbc;
68 volatile unsigned int mfilta;
69 volatile unsigned int mfiltb;
70 volatile unsigned int rt_cmd_leg[16];
71 volatile unsigned int enhanced;
73 volatile unsigned int dummy[31];
75 volatile unsigned int w_ctrl;
76 volatile unsigned int w_irqctrl;
77 volatile unsigned int w_ahbaddr;
87 unsigned short data[32];
93 unsigned short data[32];
117 unsigned char rtaddr[2];
118 unsigned char subaddr[2];
121 unsigned short tsw[2];
122 unsigned short data[32];
127#define BC_RTRT 0x0002
128#define BC_BUSA 0x0004
130#define BC_SKIP 0x0040
131#define BC_BAME 0x8000
136#define BRM_ILLOP_IRQ 8
137#define BRM_BC_ILLCMD_IRQ 16
138#define BRM_EOL_IRQ 32
139#define BRM_RT_ILLCMD_IRQ 128
140#define BRM_IXEQ0_IRQ 256
141#define BRM_BDRCV_IRQ 512
142#define BRM_SUBAD_IRQ 1024
143#define BRM_MERR_IRQ 2048
144#define BRM_TAPF_IRQ 8192
145#define BRM_WRAPF_IRQ 16384
146#define BRM_DMAF_IRQ 32768
149#define BRM_SET_MODE 0
151#define BRM_SET_MSGTO 2
152#define BRM_SET_RT_ADDR 3
155#define BRM_TX_BLOCK 7
156#define BRM_RX_BLOCK 8
158#define BRM_DO_LIST 10
159#define BRM_LIST_DONE 11
161#define BRM_CLR_STATUS 12
162#define BRM_GET_STATUS 13
163#define BRM_SET_EVENTID 14
165#define GET_ERROR_DESCRIPTOR(event_in) (event_in>>16)
168#define BRM_MODE_BC 0x0
169#define BRM_MODE_RT 0x1
170#define BRM_MODE_BM 0x2
171#define BRM_MODE_BM_RT 0x3
173#define BRM_FREQ_12MHZ 0
174#define BRM_FREQ_16MHZ 1
175#define BRM_FREQ_20MHZ 2
176#define BRM_FREQ_24MHZ 3
177#define BRM_FREQ_MASK 0x3
179#define CLKDIV_MASK 0xf
181#define CLKSEL_MASK 0x7
183void b1553brm_register_drv(
void);
191extern unsigned short b1553brm_rt_cmd_legalize[16];
194void b1553brm_print(
int options);
197void b1553brm_print_dev(
struct drvmgr_dev *dev,
int options);
Driver Manager Interface.
Definition: b1553brm.h:116
Definition: b1553brm.h:80
Definition: b1553brm.h:53
Definition: b1553brm.h:90