Lines Matching +full:disable +full:- +full:port +full:- +full:power +full:- +full:control
1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (c) 2001-2002 by David Brownell
9 #include <linux/usb/ehci-dbgp.h>
17 * some hosts treat caplength and hciversion as parts of a 32-bit
26 u32 hcs_params; /* HCSPARAMS - offset 0x4 */
27 #define HCS_DEBUG_PORT(p) (((p)>>20)&0xf) /* bits 23:20, debug port? */
28 #define HCS_INDICATOR(p) ((p)&(1 << 16)) /* true: has port indicators */
31 #define HCS_PORTROUTED(p) ((p)&(1 << 7)) /* true: port routing */
32 #define HCS_PPC(p) ((p)&(1 << 4)) /* true: port power control */
34 #define HCS_N_PORTS_MAX 15 /* N_PORTS valid 0x1-0xF */
36 u32 hcc_params; /* HCCPARAMS - offset 0x8 */
48 #define HCC_64BIT_ADDR(p) ((p)&(1)) /* true: can use 64-bit addr */
49 u8 portroute[8]; /* nibbles for routing - offset 0xC */
61 #define CMD_PPCEE (1<<15) /* per port change event enable */
78 #define STS_PPCE_MASK (0xff<<16) /* Per-Port change event 1-16 */
88 #define STS_PCD (1<<2) /* port change detect */
131 /* 19:16 for port testing */
132 #define PORT_TEST(x) (((x)&0xf)<<16) /* Port Test Control */
133 #define PORT_TEST_PKT PORT_TEST(0x4) /* Port Test Control - packet test */
134 #define PORT_TEST_FORCE PORT_TEST(0x5) /* Port Test Control - force enable */
139 #define PORT_OWNER (1<<13) /* true: companion hc owns this port */
140 #define PORT_POWER (1<<12) /* true: has power (see PPC) */
145 #define PORT_RESET (1<<8) /* reset port */
146 #define PORT_SUSPEND (1<<7) /* suspend port */
150 #define PORT_PEC (1<<3) /* port enable change */
151 #define PORT_PE (1<<2) /* port enable */
160 #define USBMODE_SDIS (1<<3) /* Stream disable */
166 /* Moorestown has some non-standard registers, partially due to the fact that
175 #define HOSTPC_PHCD (1<<22) /* Phy clock disable */
176 #define HOSTPC_PSPD (3<<25) /* Port speed detection */
179 /* Broadcom-proprietary USB_EHCI_INSNREG00 @ 0x80 */
187 #define USBMODE_EX_VBPS (1<<5) /* VBus Power Select On */