![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <soc/cpu.h>
Go to the source code of this file.
Data Structures | |
struct | exynos5_usb_host_phy |
struct | exynos5_usb_drd_phy |
struct | exynos5_usb_drd_dwc3 |
Macros | |
#define | CLK_24MHZ 5 |
#define | HOST_CTRL0_PHYSWRSTALL (1 << 31) |
#define | HOST_CTRL0_COMMONON_N (1 << 9) |
#define | HOST_CTRL0_SIDDQ (1 << 6) |
#define | HOST_CTRL0_FORCESLEEP (1 << 5) |
#define | HOST_CTRL0_FORCESUSPEND (1 << 4) |
#define | HOST_CTRL0_WORDINTERFACE (1 << 3) |
#define | HOST_CTRL0_UTMISWRST (1 << 2) |
#define | HOST_CTRL0_LINKSWRST (1 << 1) |
#define | HOST_CTRL0_PHYSWRST (1 << 0) |
#define | HOST_CTRL0_FSEL_MASK (7 << 16) |
#define | EHCICTRL_ENAINCRXALIGN (1 << 29) |
#define | EHCICTRL_ENAINCR4 (1 << 28) |
#define | EHCICTRL_ENAINCR8 (1 << 27) |
#define | EHCICTRL_ENAINCR16 (1 << 26) |
Functions | |
check_member (exynos5_usb_host_phy, usbotgtune, 0x40) | |
check_member (exynos5_usb_drd_phy, linkport, 0x44) | |
check_member (exynos5_usb_drd_dwc3, usb3pipectl, 0x1c0) | |
void | setup_usb_host_phy (int hsic_gpio) |
void | setup_usb_drd0_phy (void) |
void | setup_usb_drd1_phy (void) |
void | reset_usb_drd0_dwc3 (void) |
void | reset_usb_drd1_dwc3 (void) |
void | setup_usb_drd0_dwc3 (void) |
void | setup_usb_drd1_dwc3 (void) |
Variables | |
static struct exynos5_usb_host_phy *const | exynos_usb_host_phy |
static struct exynos5_usb_drd_phy *const | exynos_usb_drd0_phy |
static struct exynos5_usb_drd_phy *const | exynos_usb_drd1_phy |
static struct exynos5_usb_drd_dwc3 *const | exynos_usb_drd0_dwc3 |
static struct exynos5_usb_drd_dwc3 *const | exynos_usb_drd1_dwc3 |
check_member | ( | exynos5_usb_drd_dwc3 | , |
usb3pipectl | , | ||
0x1c0 | |||
) |
check_member | ( | exynos5_usb_drd_phy | , |
linkport | , | ||
0x44 | |||
) |
check_member | ( | exynos5_usb_host_phy | , |
usbotgtune | , | ||
0x40 | |||
) |
Definition at line 19 of file usb.c.
References BIOS_DEBUG, exynos_usb_drd0_dwc3, printk, and reset_dwc3().
Referenced by prepare_usb().
Definition at line 25 of file usb.c.
References BIOS_DEBUG, exynos_usb_drd1_dwc3, printk, and reset_dwc3().
Referenced by prepare_usb().
Definition at line 61 of file usb.c.
References BIOS_DEBUG, exynos_usb_drd0_dwc3, printk, and setup_dwc3().
Definition at line 124 of file usb.c.
References BIOS_DEBUG, exynos_power, exynos_usb_drd0_phy, POWER_USB_PHY_CTRL_EN, printk, setbits32, setup_drd_phy(), and exynos5_power::usb_drd0_phy_ctrl.
Definition at line 67 of file usb.c.
References BIOS_DEBUG, exynos_usb_drd1_dwc3, printk, and setup_dwc3().
Definition at line 131 of file usb.c.
References BIOS_DEBUG, exynos_power, exynos_usb_drd1_phy, POWER_USB_PHY_CTRL_EN, printk, setbits32, setup_drd_phy(), and exynos5_power::usb_drd1_phy_ctrl.
void setup_usb_host_phy | ( | int | hsic_gpio | ) |
Definition at line 119 of file usb.c.
References BIOS_DEBUG, CLK_24MHZ, clrbits32, exynos5_usb_host_phy::ehcictrl, EHCICTRL_ENAINCR16, EHCICTRL_ENAINCR4, EHCICTRL_ENAINCR8, EHCICTRL_ENAINCRXALIGN, exynos_power, exynos_sysreg, exynos_usb_host_phy, gpio_direction_output(), HOST_CTRL0_COMMONON_N, HOST_CTRL0_FORCESLEEP, HOST_CTRL0_FORCESUSPEND, HOST_CTRL0_FSEL_MASK, HOST_CTRL0_LINKSWRST, HOST_CTRL0_PHYSWRST, HOST_CTRL0_PHYSWRSTALL, HOST_CTRL0_SIDDQ, HOST_CTRL0_UTMISWRST, exynos5_usb_host_phy::hsicphyctrl1, POWER_USB_PHY_CTRL_EN, printk, read32(), setbits32, udelay(), exynos5_sysreg::usb20_phy_cfg, USB20_PHY_CFG_EN, exynos5_power::usb_host_phy_ctrl, exynos5_usb_host_phy::usbphyctrl0, and write32().
|
static |
Definition at line 113 of file usb.h.
Referenced by reset_usb_drd0_dwc3(), and setup_usb_drd0_dwc3().
|
static |
Definition at line 70 of file usb.h.
Referenced by setup_usb_drd0_phy().
|
static |
Definition at line 115 of file usb.h.
Referenced by reset_usb_drd1_dwc3(), and setup_usb_drd1_dwc3().
|
static |
Definition at line 72 of file usb.h.
Referenced by setup_usb_drd1_phy().
|
static |