![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <console/console.h>
#include <device/device.h>
#include <device/mmio.h>
#include <device/path.h>
#include <device/pci.h>
#include <device/pci_ops.h>
#include <device/pci_ids.h>
#include "chip.h"
#include "bh720.h"
Go to the source code of this file.
Functions | |
static u32 | bh720_read_pcr (u32 sdbar, u32 addr) |
static void | bh720_write_pcr (u32 sdbar, u32 addr, u32 data) |
static void | bh720_rmw_pcr (u32 sdbar, u32 addr, u32 clear, u32 set) |
static void | bh720_program_hs200_mode (struct device *dev) |
static void | bh720_init (struct device *dev) |
Variables | |
static struct device_operations | bh720_ops |
static const unsigned short | pci_device_ids [] |
static const struct pci_driver bayhub_bh720 | __pci_driver |
struct chip_operations | drivers_generic_bayhub_ops |
Definition at line 57 of file bh720.c.
References BH720_LINK_CTRL, BH720_LINK_CTRL_CLKREQ, BH720_LINK_CTRL_L0_ENABLE, BH720_LINK_CTRL_L1_ENABLE, BH720_MISC2, BH720_MISC2_APSM_CLKREQ_L1, BH720_MISC2_APSM_PHY_L1, BH720_MISC2_ASPM_DISABLE, BH720_PCR_DrvStrength_PLL, bh720_program_hs200_mode(), BH720_PROTECT, BH720_PROTECT_LOCK_OFF, BH720_PROTECT_LOCK_ON, BH720_PROTECT_OFF, BH720_PROTECT_ON, BH720_RTD3_L1, BH720_RTD3_L1_DISABLE_L1, BIOS_INFO, device::chip_info, config, pci_dev_init(), pci_or_config32(), pci_read_config32(), pci_update_config32(), pci_write_config32(), and printk.
Definition at line 35 of file bh720.c.
References BH720_MEM_ACCESS_EN, BH720_PCR_CSR, BH720_PCR_CSR_EMMC_MODE_SEL, BH720_PCR_DrvStrength_PLL, BH720_PCR_EMMC_SETTING, BH720_PCR_EMMC_SETTING_1_8V, bh720_rmw_pcr(), bh720_write_pcr(), PCI_BASE_ADDRESS_1, pci_read_config32(), and write32().
Referenced by bh720_init().
Definition at line 15 of file bh720.c.
References addr, BH720_MEM_RW_ADR, BH720_MEM_RW_DATA, BH720_MEM_RW_READ, read32(), and write32().
Referenced by bh720_rmw_pcr().
Definition at line 27 of file bh720.c.
References addr, bh720_read_pcr(), and bh720_write_pcr().
Referenced by bh720_program_hs200_mode().
Definition at line 21 of file bh720.c.
References addr, BH720_MEM_RW_ADR, BH720_MEM_RW_DATA, BH720_MEM_RW_WRITE, and write32().
Referenced by bh720_program_hs200_mode(), and bh720_rmw_pcr().
|
static |
|
static |
struct chip_operations drivers_generic_bayhub_ops |
|
static |