Lines Matching +full:usb +full:- +full:detect
1 /* SPDX-License-Identifier: GPL-1.0+ */
3 * Renesas USB driver
16 #include <linux/usb/renesas_usbhs.h>
52 #define USBREQ 0x0054 /* USB request type register */
53 #define USBVAL 0x0056 /* USB request value register */
54 #define USBINDX 0x0058 /* USB request index register */
55 #define USBLENG 0x005A /* USB request length register */
100 #define D2FIFOSEL 0x00F0 /* for R-Car Gen2 */
101 #define D2FIFOCTR 0x00F2 /* for R-Car Gen2 */
102 #define D3FIFOSEL 0x00F4 /* for R-Car Gen2 */
103 #define D3FIFOCTR 0x00F6 /* for R-Car Gen2 */
107 #define SCKE (1 << 10) /* USB Module Clock Enable */
108 #define CNEN (1 << 8) /* Single-ended receiver operation Enable */
109 #define HSE (1 << 7) /* High-Speed Operation Enable */
111 #define DRPD (1 << 5) /* D+ Line/D- Line Resistance Control */
113 #define USBE (1 << 0) /* USB Module Operation Enable */
115 #define UPLLE (1 << 1) /* USB PLL Enable for RZ/A1 */
121 #define UACT (1 << 4) /* USB Bus Enable */
123 #define RHST_LOW_SPEED 1 /* Low-speed connection */
124 #define RHST_FULL_SPEED 2 /* Full-speed connection */
125 #define RHST_HIGH_SPEED 3 /* High-speed connection */
148 #define BCHGE (1 << 14) /* USB Bus Change Interrupt Enable */
149 #define DTCHE (1 << 12) /* Disconnection Detect Interrupt Enable */
150 #define ATTCHE (1 << 11) /* Connection Detect Interrupt Enable */
151 #define EOFERRE (1 << 6) /* EOF Error Detect Interrupt Enable */
162 #define VALID (1 << 3) /* USB Request Receive */
182 #define BCHG (1 << 14) /* USB Bus Change Interrupt Status */
183 #define DTCH (1 << 12) /* USB Disconnection Detect Interrupt Status */
185 #define EOFERR (1 << 6) /* EOF Error Detect Interrupt Status */
217 #define ACLRM (1 << 9) /* Buffer Auto-Clear Mode */
307 * usb request
341 #define usbhs_get_dparam(priv, param) (priv->dparam.param)
342 #define usbhs_priv_to_pdev(priv) (priv->pdev)
343 #define usbhs_priv_to_dev(priv) (&priv->pdev->dev)
344 #define usbhs_priv_to_lock(priv) (&priv->lock)