coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <arch/io.h>
#include <device/mmio.h>
#include <console/console.h>
#include <delay.h>
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_ids.h>
#include <device/pci_ops.h>
#include <drivers/intel/gma/edid.h>
#include <drivers/intel/gma/i915.h>
#include <drivers/intel/gma/intel_bios.h>
#include <drivers/intel/gma/libgfxinit.h>
#include <pc80/vga.h>
#include <drivers/intel/gma/opregion.h>
#include <types.h>
#include "chip.h"
#include "ironlake.h"
Go to the source code of this file.
Macros | |
#define | GTT_RETRY 1000 |
Functions | |
u32 | map_oprom_vendev (u32 vendev) |
u32 | gtt_read (u32 reg) |
void | gtt_write (u32 reg, u32 data) |
int | gtt_poll (u32 reg, u32 mask, u32 value) |
static void | gma_pm_init_post_vbios (struct device *dev) |
static void | gma_enable_swsci (void) |
static void | gma_func0_init (struct device *dev) |
static void | gma_read_resources (struct device *dev) |
static void | gma_generate_ssdt (const struct device *device) |
Variables | |
static struct resource * | gtt_res = NULL |
static struct device_operations | gma_func0_ops |
static const unsigned short | pci_device_ids [] |
static const struct pci_driver gma | __pci_driver |
Definition at line 118 of file gma.c.
References DEFAULT_PMBASE, DMISCI_STS, GPE0_EN, GPE0_STS, inw(), outl(), outw(), TCO1_STS, TCOSCI_EN, and TCOSCI_STS.
Referenced by gma_func0_init().
Definition at line 136 of file gma.c.
References acpi_is_wakeup_s3(), resource::base, BIOS_SPEW, device::chip_info, CONFIG, generate_fake_intel_oprom(), northbridge_intel_ironlake_config::gfx, gma_enable_swsci(), gma_gfxinit(), gma_pm_init_post_vbios(), gtt_res, intel_gma_init_igd_opregion(), PCI_BASE_ADDRESS_0, PCI_COMMAND, PCI_COMMAND_MASTER, pci_dev_init(), pci_or_config16(), printk, and probe_resource().
Definition at line 65 of file gma.c.
References BIOS_DEBUG, device::chip_info, northbridge_intel_ironlake_config::gpu_cpu_backlight, northbridge_intel_ironlake_config::gpu_dp_b_hotplug, northbridge_intel_ironlake_config::gpu_dp_c_hotplug, northbridge_intel_ironlake_config::gpu_dp_d_hotplug, northbridge_intel_ironlake_config::gpu_panel_port_select, northbridge_intel_ironlake_config::gpu_panel_power_backlight_off_delay, northbridge_intel_ironlake_config::gpu_panel_power_backlight_on_delay, northbridge_intel_ironlake_config::gpu_panel_power_cycle_delay, northbridge_intel_ironlake_config::gpu_panel_power_down_delay, northbridge_intel_ironlake_config::gpu_panel_power_up_delay, northbridge_intel_ironlake_config::gpu_pch_backlight, gtt_read(), gtt_write(), and printk.
Referenced by gma_func0_init().
Definition at line 167 of file gma.c.
References resource::base, BIOS_DEBUG, resource::flags, IORESOURCE_ASSIGNED, IORESOURCE_FIXED, IORESOURCE_RESERVE, NULL, PCI_BASE_ADDRESS_2, pci_dev_read_resources(), pci_write_config32(), printk, probe_resource(), and resource::size.
Definition at line 38 of file gma.c.
References gtt_res, read32(), and res2mmio().
Definition at line 43 of file gma.c.
References gtt_res, res2mmio(), and write32().
|
static |
|
static |
Definition at line 36 of file gma.c.
Referenced by gma_func0_init(), gtt_read(), and gtt_write().