Lines Matching +full:host +full:- +full:wake
1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (c) 2001-2002 by David Brownell
23 #include <linux/usb/ehci-dbgp.h>
27 /* Section 2.2 Host Controller Capability Registers */
31 * some hosts treat caplength and hciversion as parts of a 32-bit
40 u32 hcs_params; /* HCSPARAMS - offset 0x4 */
49 u32 hcc_params; /* HCCPARAMS - offset 0x8 */
61 #define HCC_64BIT_ADDR(p) ((p)&(1)) /* true: can use 64-bit addr */
62 u8 portroute[8]; /* nibbles for routing - offset 0xC */
66 /* Section 2.3 Host Controller Operational Registers */
73 #define CMD_HIRD (0xf<<24) /* host initiated resume duration */
91 #define STS_PPCE_MASK (0xff<<16) /* Per-Port change event 1-16 */
140 #define PORT_WKOC_E (1<<22) /* wake on overcurrent (enable) */
141 #define PORT_WKDISC_E (1<<21) /* wake on disconnect (enable) */
142 #define PORT_WKCONN_E (1<<20) /* wake on connect (enable) */
145 #define PORT_TEST_PKT PORT_TEST(0x4) /* Port Test Control - packet test */
146 #define PORT_TEST_FORCE PORT_TEST(0x5) /* Port Test Control - force enable */
174 #define USBMODE_CM_HC (3<<0) /* host controller mode */
179 /* Moorestown has some non-standard registers, partially due to the fact that
193 #define USBMODE_EX_HC (3<<0) /* host controller mode */