coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
xdci.c File Reference
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_ids.h>
#include <intelblocks/xdci.h>
#include <security/vboot/vboot_common.h>
Include dependency graph for xdci.c:

Go to the source code of this file.

Functions

__weak void soc_xdci_init (struct device *dev)
 
bool xdci_can_enable (unsigned int xdci_devfn)
 

Variables

static struct device_operations usb_xdci_ops
 
static const unsigned short pci_device_ids []
 
static const struct pci_driver pch_usb_xdci __pci_driver
 

Function Documentation

◆ soc_xdci_init()

__weak void soc_xdci_init ( struct device dev)

Definition at line 9 of file xdci.c.

◆ xdci_can_enable()

bool xdci_can_enable ( unsigned int  xdci_devfn)

Definition at line 11 of file xdci.c.

Referenced by fill_fsps_xdci_params(), and platform_fsp_silicon_init_params_cb().

Here is the caller graph for this function:

Variable Documentation

◆ __pci_driver

const struct pci_driver pch_usb_xdci __pci_driver
static
Initial value:
= {
.ops = &usb_xdci_ops,
.vendor = PCI_VID_INTEL,
.devices = pci_device_ids,
}
static struct device_operations usb_xdci_ops
Definition: xdci.c:21
static const unsigned short pci_device_ids[]
Definition: xdci.c:29
#define PCI_VID_INTEL
Definition: pci_ids.h:2157

Definition at line 29 of file xdci.c.

◆ pci_device_ids

const unsigned short pci_device_ids[]
static
Initial value:
= {
0
}
#define PCI_DID_INTEL_JSP_XDCI
Definition: pci_ids.h:4281
#define PCI_DID_INTEL_APL_XDCI
Definition: pci_ids.h:4269
#define PCI_DID_INTEL_TGP_H_XDCI
Definition: pci_ids.h:4279
#define PCI_DID_INTEL_ADP_S_XDCI
Definition: pci_ids.h:4283
#define PCI_DID_INTEL_SPT_LP_XDCI
Definition: pci_ids.h:4271
#define PCI_DID_INTEL_CNP_H_XDCI
Definition: pci_ids.h:4273
#define PCI_DID_INTEL_TGP_LP_XDCI
Definition: pci_ids.h:4277
#define PCI_DID_INTEL_CNL_LP_XDCI
Definition: pci_ids.h:4272
#define PCI_DID_INTEL_CMP_LP_XDCI
Definition: pci_ids.h:4275
#define PCI_DID_INTEL_GLK_XDCI
Definition: pci_ids.h:4270
#define PCI_DID_INTEL_CMP_H_XDCI
Definition: pci_ids.h:4276
#define PCI_DID_INTEL_MTL_XDCI
Definition: pci_ids.h:4286
#define PCI_DID_INTEL_ADP_P_XDCI
Definition: pci_ids.h:4282
#define PCI_DID_INTEL_MCC_XDCI
Definition: pci_ids.h:4280
#define PCI_DID_INTEL_ICP_LP_XDCI
Definition: pci_ids.h:4274
#define PCI_DID_INTEL_ADP_M_XDCI
Definition: pci_ids.h:4285

Definition at line 29 of file xdci.c.

◆ usb_xdci_ops

struct device_operations usb_xdci_ops
static
Initial value:
= {
.read_resources = pci_dev_read_resources,
.set_resources = pci_dev_set_resources,
.enable_resources = pci_dev_enable_resources,
.init = soc_xdci_init,
.ops_pci = &pci_dev_ops_pci,
}
void soc_xdci_init(struct device *dev)
Definition: xdci.c:74
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 11 of file xdci.c.