coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
usb.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 /*
4  * This file is created based on MT8186 Functional Specification
5  * Chapter number: 5.5
6  */
7 
8 #ifndef SOC_MEDIATEK_MT8186_USB_H
9 #define SOC_MEDIATEK_MT8186_USB_H
10 
11 #include <soc/usb_common.h>
12 
13 struct ssusb_sif_port {
14  struct sif_u2_phy_com u2phy;
15  u32 reserved0[64 * 5];
16  struct sif_u3phyd u3phyd;
17  u32 reserved1[64];
18  struct sif_u3phya u3phya;
19  struct sif_u3phya_da u3phya_da;
20  u32 reserved2[64 * 3];
21 };
22 check_member(ssusb_sif_port, u3phyd, 0x600);
23 check_member(ssusb_sif_port, u3phya, 0x800);
24 check_member(ssusb_sif_port, u3phya_da, 0x900);
25 check_member(ssusb_sif_port, reserved2, 0xa00);
26 
27 #define USB_PORT_NUMBER 1
28 
29 #endif
check_member(ssusb_sif_port, u3phyd, 0x100)
uint32_t u32
Definition: stdint.h:51
struct sif_u3phya_da u3phya_da
Definition: usb.h:13
struct sif_u3phyd u3phyd
Definition: usb.h:10
struct sif_u2_phy_com u2phy
Definition: usb.h:9
struct sif_u3phya u3phya
Definition: usb.h:12
u32 reserved2[64 *3]
Definition: usb.h:15
u32 reserved1[64 *3]
Definition: usb.h:14
u32 reserved0[64]
Definition: usb.h:11