Go to the documentation of this file.
23 #ifndef __LINUX_USB_R8A66597_H
24 #define __LINUX_USB_R8A66597_H
26 #define R8A66597_PLATDATA_XTAL_12MHZ 0x01
27 #define R8A66597_PLATDATA_XTAL_24MHZ 0x02
28 #define R8A66597_PLATDATA_XTAL_48MHZ 0x03
73 #define D0FIFOSEL 0x28
74 #define D0FIFOCTR 0x2A
75 #define D1FIFOSEL 0x2C
76 #define D1FIFOCTR 0x2E
103 #define PIPEMAXP 0x6C
104 #define PIPEPERI 0x6E
105 #define PIPE1CTR 0x70
106 #define PIPE2CTR 0x72
107 #define PIPE3CTR 0x74
108 #define PIPE4CTR 0x76
109 #define PIPE5CTR 0x78
110 #define PIPE6CTR 0x7A
111 #define PIPE7CTR 0x7C
112 #define PIPE8CTR 0x7E
113 #define PIPE9CTR 0x80
114 #define PIPE1TRE 0x90
115 #define PIPE1TRN 0x92
116 #define PIPE2TRE 0x94
117 #define PIPE2TRN 0x96
118 #define PIPE3TRE 0x98
119 #define PIPE3TRN 0x9A
120 #define PIPE4TRE 0x9C
121 #define PIPE4TRN 0x9E
122 #define PIPE5TRE 0xA0
123 #define PIPE5TRN 0xA2
138 #define XTAL48 0x8000
139 #define XTAL24 0x4000
140 #define XTAL12 0x0000
144 #define PCSDIS 0x0200
153 #define OVCBIT 0x8000
154 #define OVCMON 0xC000
159 #define FS_KSTS 0x0002
160 #define FS_JSTS 0x0001
161 #define LS_JSTS 0x0002
162 #define LS_KSTS 0x0001
166 #define EXTLP0 0x0400
170 #define USBRST 0x0040
171 #define RESUME 0x0020
174 #define HSPROC 0x0004
175 #define HSMODE 0x0003
176 #define FSMODE 0x0002
177 #define LSMODE 0x0001
178 #define UNDECID 0x0000
182 #define H_TST_PACKET 0x000C
183 #define H_TST_SE0_NAK 0x000B
184 #define H_TST_K 0x000A
185 #define H_TST_J 0x0009
186 #define H_TST_NORMAL 0x0000
187 #define P_TST_PACKET 0x0004
188 #define P_TST_SE0_NAK 0x0003
189 #define P_TST_K 0x0002
190 #define P_TST_J 0x0001
191 #define P_TST_NORMAL 0x0000
204 #define CPU_ADR_RD_WR 0x0000
205 #define CPU_DACK_RD_WR 0x0100
206 #define CPU_DACK_ONLY 0x0180
207 #define SPLIT_DACK_ONLY 0x0200
219 #define MBW_16 0x0400
220 #define MBW_32 0x0800
221 #define BIGEND 0x0100
222 #define BYTE_LITTLE 0x0000
223 #define BYTE_BIG 0x0100
225 #define CURPIPE 0x000F
244 #define OVRCRE 0x8000
247 #define ATTCHE 0x0800
248 #define EOFERRE 0x0040
289 #define TRNENSEL 0x0100
292 #define EDGESTS 0x0010
293 #define SOFMODE 0x000C
294 #define SOF_125US 0x0008
295 #define SOF_1MS 0x0004
296 #define SOF_DISABLE 0x0000
309 #define DS_SPD_CNFG 0x0070
310 #define DS_SPD_ADDR 0x0060
311 #define DS_SPD_DFLT 0x0050
312 #define DS_SPD_POWR 0x0040
313 #define DS_SUSP 0x0040
314 #define DS_CNFG 0x0030
315 #define DS_ADDS 0x0020
316 #define DS_DFLT 0x0010
317 #define DS_POWR 0x0000
321 #define CS_SQER 0x0006
322 #define CS_WRND 0x0005
323 #define CS_WRSS 0x0004
324 #define CS_WRDS 0x0003
325 #define CS_RDSS 0x0002
326 #define CS_RDDS 0x0001
327 #define CS_IDST 0x0000
334 #define EOFERR 0x0040
348 #define DEVSEL 0xF000
356 #define SUREQCLR 0x0800
364 #define PID_STALL11 0x0003
365 #define PID_STALL 0x0002
366 #define PID_BUF 0x0001
367 #define PID_NAK 0x0000
370 #define PIPENM 0x0007
373 #define R8A66597_TYP 0xC000
374 #define R8A66597_ISO 0xC000
375 #define R8A66597_INT 0x8000
376 #define R8A66597_BULK 0x4000
377 #define R8A66597_BFRE 0x0400
378 #define R8A66597_DBLB 0x0200
379 #define R8A66597_CNTMD 0x0100
380 #define R8A66597_SHTNAK 0x0080
381 #define R8A66597_DIR 0x0010
382 #define R8A66597_EPNUM 0x000F
385 #define BUFSIZE 0x7C00
386 #define BUFNMB 0x007F
399 #define INBUFM 0x4000
402 #define ATREPM 0x0400
415 #define TRNCNT 0xFFFF
418 #define UPPHUB 0x7800
419 #define HUBPORT 0x0700
420 #define USBSPD 0x00C0
421 #define RTPORT 0x0001
437 #define DBUFCTRL 0x3C
438 #define DINTCTRL 0x40
440 #define DINTSTSCLR 0x48
441 #define CH0SHCTRL 0x50
442 #define CH1SHCTRL 0x54
445 #define SENDBUFM 0x1000
446 #define RCVENDM 0x0100
447 #define LBA_WAIT 0x0030
453 #define CH1STCLR 0x0002
454 #define CH0STCLR 0x0001
457 #define CH1BUFW 0x0200
458 #define CH0BUFW 0x0100
459 #define CH1BUFS 0x0002
460 #define CH0BUFS 0x0001
463 #define CH1ERRE 0x0200
464 #define CH0ERRE 0x0100
465 #define CH1ENDE 0x0002
466 #define CH0ENDE 0x0001
469 #define CH1ERRS 0x0200
470 #define CH0ERRS 0x0100
471 #define CH1ENDS 0x0002
472 #define CH0ENDS 0x0001
475 #define CH1ERRC 0x0200
476 #define CH0ERRC 0x0100
477 #define CH1ENDC 0x0002
478 #define CH0ENDC 0x0001