![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <soc/addressmap.h>
Go to the source code of this file.
Data Structures | |
struct | rockchip_usb_dwc3 |
struct | rk3399_tcphy |
Functions | |
check_member (rk3399_tcphy, lane[2].tx_diag_tx_drv, 0x11784) | |
check_member (rk3399_tcphy, isolation_ctrl, 0x3207c) | |
void | reset_usb_otg0 (void) |
void | reset_usb_otg1 (void) |
void | setup_usb_otg0 (void) |
void | setup_usb_otg1 (void) |
Variables | |
static struct rockchip_usb_dwc3 *const | rockchip_usb_otg0_dwc3 |
static struct rockchip_usb_dwc3 *const | rockchip_usb_otg1_dwc3 |
static struct rk3399_tcphy *const | rockchip_usb_otg0_phy |
static struct rk3399_tcphy *const | rockchip_usb_otg1_phy |
#define DWC3_GCTL_RAMCLKSEL | ( | x | ) | (((x) & DWC3_GCTL_CLK_MASK) << 6) |
#define DWC3_GCTL_SCALEDOWN_MASK DWC3_GCTL_SCALEDOWN(3) |
#define DWC3_GHWPARAMS1_EN_PWROPT | ( | n | ) | (((n) & (3 << 24)) >> 24) |
#define DWC3_GUSB2PHYCFG_PHYIF_MASK DWC3_GUSB2PHYCFG_PHYIF(1) |
#define DWC3_GUSB2PHYCFG_USB2TRDTIM_MASK DWC3_GUSB2PHYCFG_USBTRDTIM(0xf) |
check_member | ( | rk3399_tcphy | , |
isolation_ctrl | , | ||
0x3207c | |||
) |
check_member | ( | rk3399_tcphy | , |
lane. | tx_diag_tx_drv[2], | ||
0x11784 | |||
) |
Definition at line 112 of file usb.c.
References BIOS_DEBUG, cru_ptr, printk, reset_dwc3(), rk3399_grf, RK_CLRBITS, RK_CLRSETBITS, RK_SETBITS, rockchip_usb_otg0_dwc3, rockchip_usb_otg0_phy, tcphy_phy_init(), rk3399_grf_regs::usb3otg0_con1, and write32().
Referenced by prepare_usb().
Definition at line 130 of file usb.c.
References BIOS_DEBUG, cru_ptr, printk, reset_dwc3(), rk3399_grf, RK_CLRBITS, RK_CLRSETBITS, RK_SETBITS, rockchip_usb_otg1_dwc3, rockchip_usb_otg1_phy, tcphy_phy_init(), rk3399_grf_regs::usb3otg1_con1, and write32().
Referenced by prepare_usb().
Definition at line 148 of file usb.c.
References BIOS_DEBUG, cru_ptr, printk, RK_CLRBITS, rockchip_usb_otg0_dwc3, setup_dwc3(), and write32().
Referenced by setup_usb().
Definition at line 157 of file usb.c.
References BIOS_DEBUG, cru_ptr, printk, RK_CLRBITS, rockchip_usb_otg1_dwc3, setup_dwc3(), and write32().
Referenced by setup_usb().
|
static |
Definition at line 96 of file usb.h.
Referenced by reset_usb_otg0(), and setup_usb_otg0().
|
static |
Definition at line 132 of file usb.h.
Referenced by reset_usb_otg0().
|
static |
Definition at line 98 of file usb.h.
Referenced by reset_usb_otg1(), and setup_usb_otg1().
|
static |
Definition at line 134 of file usb.h.
Referenced by reset_usb_otg1().