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

Go to the source code of this file.

Functions

static void ish_fill_ssdt_generator (const struct device *dev)
 
static void intel_ish_enable (struct device *dev)
 

Variables

static struct device_operations intel_ish_ops
 
static const struct device_operations pci_ish_device_ops
 
static const unsigned short pci_device_ids []
 
static const struct pci_driver ish_intel_driver __pci_driver
 
struct chip_operations drivers_intel_ish_ops
 

Function Documentation

◆ intel_ish_enable()

static void intel_ish_enable ( struct device dev)
static

Definition at line 37 of file ish.c.

References intel_ish_ops, and device::ops.

◆ ish_fill_ssdt_generator()

static void ish_fill_ssdt_generator ( const struct device dev)
static

Definition at line 10 of file ish.c.

Variable Documentation

◆ __pci_driver

const struct pci_driver ish_intel_driver __pci_driver
static
Initial value:
= {
.vendor = PCI_VID_INTEL,
.devices = pci_device_ids,
}
static const struct device_operations pci_ish_device_ops
Definition: ish.c:44
static const unsigned short pci_device_ids[]
Definition: ish.c:53
#define PCI_VID_INTEL
Definition: pci_ids.h:2157

Definition at line 53 of file ish.c.

◆ drivers_intel_ish_ops

struct chip_operations drivers_intel_ish_ops
Initial value:
= {
.enable_dev = intel_ish_enable,
}
static void intel_ish_enable(struct device *dev)
Definition: ish.c:37

Definition at line 53 of file ish.c.

◆ intel_ish_ops

struct device_operations intel_ish_ops
static
Initial value:
= {
.read_resources = noop_read_resources,
.set_resources = noop_set_resources,
.acpi_fill_ssdt = ish_fill_ssdt_generator,
}
static void noop_read_resources(struct device *dev)
Standard device operations function pointers shims.
Definition: device.h:73
static void noop_set_resources(struct device *dev)
Definition: device.h:74
static void ish_fill_ssdt_generator(const struct device *dev)
Definition: ish.c:10

Definition at line 10 of file ish.c.

Referenced by intel_ish_enable().

◆ pci_device_ids

const unsigned short pci_device_ids[]
static
Initial value:
= {
0
}
#define PCI_DID_INTEL_MTL_ISHB
Definition: pci_ids.h:2184
#define PCI_DID_INTEL_TGL_H_ISHB
Definition: pci_ids.h:2183
#define PCI_DID_INTEL_CNL_ISHB
Definition: pci_ids.h:2180
#define PCI_DID_INTEL_TGL_ISHB
Definition: pci_ids.h:2182
#define PCI_DID_INTEL_CML_ISHB
Definition: pci_ids.h:2181

Definition at line 53 of file ish.c.

◆ pci_ish_device_ops

const struct device_operations pci_ish_device_ops
static
Initial value:
= {
.read_resources = pci_dev_read_resources,
.set_resources = pci_dev_set_resources,
.enable_resources = pci_dev_enable_resources,
.init = pci_dev_init,
.scan_bus = &scan_generic_bus,
.ops_pci = &pci_dev_ops_pci,
}
void pci_dev_init(struct device *dev)
Default handler: only runs the relevant PCI BIOS.
Definition: pci_device.c:873
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
void scan_generic_bus(struct device *bus)
Definition: root_device.c:52

Definition at line 37 of file ish.c.