coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
gl9750.c File Reference
#include <console/console.h>
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_ops.h>
#include <device/pci_ids.h>
#include "gl9750.h"
Include dependency graph for gl9750.c:

Go to the source code of this file.

Functions

static void gl9750_enable (struct device *dev)
 

Variables

static struct device_operations gl9750_ops
 
static const unsigned short pci_device_ids []
 
static const struct pci_driver genesyslogic_gl9750 __pci_driver
 
struct chip_operations drivers_generic_genesyslogic_gl9750_ops
 

Function Documentation

◆ gl9750_enable()

static void gl9750_enable ( struct device dev)
static

Definition at line 12 of file gl9750.c.

References BIOS_INFO, CFG, CFG2, CFG2_L0S_SUPPORT, CFG_EN, pci_and_config32(), pci_or_config32(), and printk.

Here is the call graph for this function:

Variable Documentation

◆ __pci_driver

const struct pci_driver genesyslogic_gl9750 __pci_driver
static
Initial value:
= {
.ops = &gl9750_ops,
.vendor = PCI_VID_GLI,
.devices = pci_device_ids,
}
static struct device_operations gl9750_ops
Definition: gl9750.c:29
static const unsigned short pci_device_ids[]
Definition: gl9750.c:37
#define PCI_VID_GLI
Definition: pci_ids.h:2086

Definition at line 37 of file gl9750.c.

◆ drivers_generic_genesyslogic_gl9750_ops

struct chip_operations drivers_generic_genesyslogic_gl9750_ops
Initial value:
= {
}

Definition at line 37 of file gl9750.c.

◆ gl9750_ops

struct device_operations gl9750_ops
static
Initial value:
= {
.read_resources = pci_dev_read_resources,
.set_resources = pci_dev_set_resources,
.enable_resources = pci_dev_enable_resources,
.ops_pci = &pci_dev_ops_pci,
.enable = gl9750_enable
}
static void gl9750_enable(struct device *dev)
Definition: gl9750.c:12
void pci_dev_enable_resources(struct device *dev)
Definition: pci_device.c:721
void pci_dev_read_resources(struct device *dev)
Definition: pci_device.c:534
struct pci_operations pci_dev_ops_pci
Default device operation for PCI devices.
Definition: pci_device.c:911
void pci_dev_set_resources(struct device *dev)
Definition: pci_device.c:691

Definition at line 12 of file gl9750.c.

◆ pci_device_ids

const unsigned short pci_device_ids[]
static
Initial value:
= {
0
}
#define PCI_DID_GLI_9750
Definition: pci_ids.h:2087

Definition at line 37 of file gl9750.c.