coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
ast2050.c File Reference
#include <arch/io.h>
#include <edid.h>
#include <console/console.h>
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_ids.h>
#include <pc80/vga.h>
#include "../common/aspeed_coreboot.h"
#include "../common/ast_drv.h"
Include dependency graph for ast2050.c:

Go to the source code of this file.

Functions

static void aspeed_ast2050_read_resources (struct device *dev)
 
static void aspeed_ast2050_init (struct device *dev)
 

Variables

static struct device_operations aspeed_ast2050_ops
 
static const struct pci_driver aspeed_ast2050_driver __pci_driver
 

Function Documentation

◆ aspeed_ast2050_init()

static void aspeed_ast2050_init ( struct device dev)
static

Definition at line 23 of file ast2050.c.

◆ aspeed_ast2050_read_resources()

static void aspeed_ast2050_read_resources ( struct device dev)
static

Definition at line 14 of file ast2050.c.

References mmio_resource, and pci_dev_read_resources().

Here is the call graph for this function:

Variable Documentation

◆ __pci_driver

const struct pci_driver aspeed_ast2050_driver __pci_driver
static
Initial value:
= {
.vendor = PCI_VID_ASPEED,
}
static struct device_operations aspeed_ast2050_ops
Definition: ast2050.c:54
#define PCI_DID_ASPEED_AST2050_VGA
Definition: pci_ids.h:2096
#define PCI_VID_ASPEED
Definition: pci_ids.h:2095

Definition at line 23 of file ast2050.c.

◆ aspeed_ast2050_ops

struct device_operations aspeed_ast2050_ops
static
Initial value:
= {
.read_resources = aspeed_ast2050_read_resources,
.set_resources = pci_dev_set_resources,
.enable_resources = pci_dev_enable_resources,
}
static void aspeed_ast2050_read_resources(struct device *dev)
Definition: ast2050.c:14
static void aspeed_ast2050_init(struct device *dev)
Definition: ast2050.c:23
void pci_dev_enable_resources(struct device *dev)
Definition: pci_device.c:721
void pci_dev_set_resources(struct device *dev)
Definition: pci_device.c:691

Definition at line 23 of file ast2050.c.