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

Go to the source code of this file.

Functions

static const char * usb4_xhci_acpi_name (const struct device *dev)
 

Variables

static struct device_operations usb4_xhci_ops
 
static const unsigned short pci_device_ids []
 
static const struct pci_driver usb4_xhci __pci_driver
 

Function Documentation

◆ usb4_xhci_acpi_name()

static const char* usb4_xhci_acpi_name ( const struct device dev)
static

Definition at line 9 of file xhci.c.

References DEVICE_PATH_PCI, NULL, device::path, and device_path::type.

Variable Documentation

◆ __pci_driver

const struct pci_driver usb4_xhci __pci_driver
static
Initial value:
= {
.ops = &usb4_xhci_ops,
.vendor = PCI_VID_INTEL,
.devices = pci_device_ids,
}
#define PCI_VID_INTEL
Definition: pci_ids.h:2157
static const unsigned short pci_device_ids[]
Definition: xhci.c:28
static struct device_operations usb4_xhci_ops
Definition: xhci.c:17

Definition at line 28 of file xhci.c.

◆ pci_device_ids

const unsigned short pci_device_ids[]
static
Initial value:
= {
0
}
#define PCI_DID_INTEL_TGP_H_TCSS_XHCI
Definition: pci_ids.h:4129
#define PCI_DID_INTEL_ADP_TCSS_XHCI
Definition: pci_ids.h:4134
#define PCI_DID_INTEL_MTL_P_TCSS_XHCI
Definition: pci_ids.h:4139
#define PCI_DID_INTEL_ADP_N_TCSS_XHCI
Definition: pci_ids.h:4135
#define PCI_DID_INTEL_MTL_M_TCSS_XHCI
Definition: pci_ids.h:4138
#define PCI_DID_INTEL_TGP_TCSS_XHCI
Definition: pci_ids.h:4127

Definition at line 28 of file xhci.c.

◆ usb4_xhci_ops

struct device_operations usb4_xhci_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,
.scan_bus = scan_static_bus,
}
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_static_bus(struct device *bus)
Definition: root_device.c:89

Definition at line 9 of file xhci.c.