Lines Matching +full:sense +full:- +full:mode
1 // SPDX-License-Identifier: GPL-2.0
20 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
138 #define XTAL 0xC000 /* b15-14: Crystal selection */
146 #define LPSME 0x0100 /* b8: Low power sleep mode */
147 #define HSE 0x0080 /* b7: Hi-speed enable */
149 #define DRPD 0x0020 /* b5: D+/- pull down control */
154 #define OVCBIT 0x8000 /* b15-14: Over-current bit */
155 #define OVCMON 0xC000 /* b15-14: Over-current monitor */
157 #define IDMON 0x0004 /* b3: ID-pin monitor */
158 #define LNST 0x0003 /* b1-0: D+, D- line status */
160 #define FS_KSTS 0x0002 /* Full-Speed K State */
161 #define FS_JSTS 0x0001 /* Full-Speed J State */
162 #define LS_JSTS 0x0002 /* Low-Speed J State */
163 #define LS_KSTS 0x0001 /* Low-Speed K State */
170 #define RWUPE 0x0080 /* b7: Remote wakeup sense */
174 #define RHST 0x0007 /* b1-0: Reset handshake status */
176 #define HSMODE 0x0003 /* Hi-Speed mode */
177 #define FSMODE 0x0002 /* Full-Speed mode */
178 #define LSMODE 0x0001 /* Low-Speed mode */
181 /* Test Mode Register */
182 #define UTST 0x000F /* b3-0: Test select */
187 #define H_TST_NORMAL 0x0000 /* HOST Normal Mode */
192 #define P_TST_NORMAL 0x0000 /* PERI Normal Mode */
198 #define INTA 0x0001 /* b1: USB INT-pin active */
202 #define BURST 0x2000 /* b13: Burst mode */
204 #define DFORM 0x0380 /* b9-7: DMA mode select */
205 #define CPU_ADR_RD_WR 0x0000 /* Address + RD/WR mode (CPU bus) */
206 #define CPU_DACK_RD_WR 0x0100 /* DACK + RD/WR mode (CPU bus) */
207 #define CPU_DACK_ONLY 0x0180 /* DACK only mode (CPU bus) */
208 #define SPLIT_DACK_ONLY 0x0200 /* DACK only mode (SPLIT bus) */
210 #define PKTM 0x0020 /* b5: Packet mode */
212 #define OBUS 0x0004 /* b2: OUTbus mode */
215 #define RCNT 0x8000 /* b15: Read count mode */
217 #define DCLRM 0x2000 /* b13: DMA buffer clear mode */
222 #define BIGEND 0x0100 /* b8: Big endian mode */
226 #define CURPIPE 0x000F /* b2-0: PIPE select */
232 #define DTLN 0x0FFF /* b11-0: FIFO received data length */
245 #define OVRCRE 0x8000 /* b15: Over-current interrupt */
247 #define DTCHE 0x1000 /* b12: Detach sense interrupt */
248 #define ATTCHE 0x0800 /* b11: Attach sense interrupt */
292 #define INTL 0x0020 /* b5: Interrupt sense select */
294 #define SOFMODE 0x000C /* b3-2: SOF pin select */
309 #define DVSQ 0x0070 /* b6-4: Device state */
319 #define DVSQS 0x0030 /* b5-4: Device state */
321 #define CTSQ 0x0007 /* b2-0: Control transfer stage */
331 #define OVRCR 0x8000 /* b15: Over-current interrupt */
333 #define DTCH 0x1000 /* b12: Detach sense interrupt */
334 #define ATTCH 0x0800 /* b11: Attach sense interrupt */
335 #define EOFERR 0x0040 /* b6: EOF-error interrupt */
342 #define FRNM 0x07FF /* b10-0: Frame number */
345 #define UFRNM 0x0007 /* b2-0: Micro frame number */
349 #define DEVSEL 0xF000 /* b15-14: Device address select */
350 #define MAXP 0x007F /* b6-0: Maxpacket size of default control pipe */
355 #define CSCLR 0x2000 /* b13: complete-split status clear */
356 #define CSSTS 0x1000 /* b12: complete-split status */
364 #define PID 0x0003 /* b1-0: Response PID */
371 #define PIPENM 0x0007 /* b2-0: Pipe select */
374 #define R8A66597_TYP 0xC000 /* b15-14: Transfer type */
378 #define R8A66597_BFRE 0x0400 /* b10: Buffer ready interrupt mode select */
379 #define R8A66597_DBLB 0x0200 /* b9: Double buffer mode select */
380 #define R8A66597_CNTMD 0x0100 /* b8: Continuous transfer mode select */
383 #define R8A66597_EPNUM 0x000F /* b3-0: Eendpoint number select */
386 #define BUFSIZE 0x7C00 /* b14-10: Pipe buffer size */
387 #define BUFNMB 0x007F /* b6-0: Pipe buffer number */
392 #define MXPS 0x07FF /* b10-0: Maxpacket size */
395 #define IFIS 0x1000 /* b12: Isochronous in-buffer flush mode select */
396 #define IITV 0x0007 /* b2-0: Isochronous interval */
401 #define CSCLR 0x2000 /* b13: complete-split status clear */
402 #define CSSTS 0x1000 /* b12: complete-split status */
403 #define ATREPM 0x0400 /* b10: Auto repeat mode */
404 #define ACLRM 0x0200 /* b9: Out buffer auto clear mode */
409 #define PID 0x0003 /* b1-0: Response PID */
416 #define TRNCNT 0xFFFF /* b15-0: Transaction counter */
446 #define SENDBUFM 0x1000 /* b12: Transmit Buffer Mode */
447 #define RCVENDM 0x0100 /* b8: Receive Data Transfer End Mode */
448 #define LBA_WAIT 0x0030 /* b5-4: Local Bus Access Wait */