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

Go to the source code of this file.

Macros

#define INTEL_TBT_IMR_VALID_UUID   "C44D002F-69F9-4E7D-A904-A7BAABDF43F7"
 
#define INTEL_TBT_WAKE_SUPPORTED_UUID   "6C501103-C189-4296-BA72-9BF5A26EBE5D"
 

Variables

static const unsigned short pci_device_ids []
 
static struct device_operations usb4_dev_ops
 
static const struct pci_driver usb4_driver __pci_driver
 

Macro Definition Documentation

◆ INTEL_TBT_IMR_VALID_UUID

#define INTEL_TBT_IMR_VALID_UUID   "C44D002F-69F9-4E7D-A904-A7BAABDF43F7"

Definition at line 12 of file usb4.c.

◆ INTEL_TBT_WAKE_SUPPORTED_UUID

#define INTEL_TBT_WAKE_SUPPORTED_UUID   "6C501103-C189-4296-BA72-9BF5A26EBE5D"

Definition at line 13 of file usb4.c.

Variable Documentation

◆ __pci_driver

const struct pci_driver usb4_driver __pci_driver
static
Initial value:
= {
.ops = &usb4_dev_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: usb4.c:55
static struct device_operations usb4_dev_ops
Definition: usb4.c:68

Definition at line 55 of file usb4.c.

◆ pci_device_ids

const unsigned short pci_device_ids[]
static
Initial value:
= {
0
}
#define PCI_DID_INTEL_MTL_P_TBT_DMA1
Definition: pci_ids.h:4339
#define PCI_DID_INTEL_TGL_TBT_DMA1
Definition: pci_ids.h:4326
#define PCI_DID_INTEL_TGL_TBT_DMA0
Definition: pci_ids.h:4325
#define PCI_DID_INTEL_TGL_H_TBT_DMA1
Definition: pci_ids.h:4328
#define PCI_DID_INTEL_TGL_H_TBT_DMA0
Definition: pci_ids.h:4327
#define PCI_DID_INTEL_MTL_M_TBT_DMA0
Definition: pci_ids.h:4337
#define PCI_DID_INTEL_MTL_P_TBT_DMA0
Definition: pci_ids.h:4338
#define PCI_DID_INTEL_ADL_TBT_DMA1
Definition: pci_ids.h:4330
#define PCI_DID_INTEL_ADL_TBT_DMA0
Definition: pci_ids.h:4329

Definition at line 55 of file usb4.c.

◆ usb4_dev_ops

struct device_operations usb4_dev_ops
static
Initial value:
= {
.read_resources = pci_dev_read_resources,
.set_resources = pci_dev_set_resources,
.enable_resources = pci_dev_enable_resources,
.scan_bus = scan_generic_bus,
.ops_pci = &pci_dev_ops_pci,
}
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 55 of file usb4.c.