coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
ehci.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef BAYTRAIL_EHCI_H
4 #define BAYTRAIL_EHCI_H
5 
6 /* EHCI PCI Registers */
7 #define EHCI_CMD_STS 0x04
8 # define INTRDIS (1 << 10)
9 #define EHCI_SBRN_FLA_PWC 0x60
10 # define PORTWKIMP (1 << 16)
11 # define PORTWKCAPMASK (0x3ff << 17)
12 #define EHCI_USB2PDO 0x64
13 
14 /* EHCI Memory Registers */
15 #define USB2CMD 0x20
16 # define USB2CMD_ASE (1 << 5)
17 # define USB2CMD_PSE (1 << 4)
18 # define USB2CMD_HCRESET (1 << 1)
19 # define USB2CMD_RS (1 << 0)
20 #define USB2STS 0x24
21 # define USB2STS_HCHALT (1 << 12)
22 
23 /* RCBA EHCI Registers */
24 #define RCBA_FUNC_DIS 0x220
25 # define RCBA_EHCI_DIS (1 << 0)
26 
27 #endif /* BAYTRAIL_EHCI_H */