coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
typec_connector_class_config Struct Reference

Configuration required to write out a Type-C Connector ACPI object. More...

#include <acpigen_usb.h>

Collaboration diagram for typec_connector_class_config:
Collaboration graph

Data Fields

enum usb_typec_power_role power_role
 
enum usb_typec_try_power_role try_power_role
 
enum usb_typec_data_role data_role
 
const struct deviceusb2_port
 
const struct deviceusb3_port
 
const struct deviceusb4_port
 
const struct deviceorientation_switch
 
const struct deviceusb_role_switch
 
const struct devicemode_switch
 
const struct acpi_pldpld
 

Detailed Description

Configuration required to write out a Type-C Connector ACPI object.

@power_role: DUAL if device supports being both a source and a sink, otherwise choose the device's default power role @try_power_role: SINK if device supports Try.SNK, SOURCE if device supports Try.SRC, otherwise choose NONE @data_role: Choose DUAL if device can alternate between UFP (host) & DFP (device), otherwise specify UFP or DFP. @usb2_port: Reference to the ACPI device that represents the USB2 signals @usb3_port: Reference to the ACPI device that represents the USB3 signals @usb4_port: Reference to the ACPI device that represents the USB4 signals @orientation_switch: Reference to the ACPI device that controls the switching of the orientation/polarity for Data and SBU lines. @usb_role_switch: Reference to the ACPI device that can select the USB role, host or device, for the USB port @mode_switch: Reference to the ACPI device that controls routing of data lines to various endpoints (xHCI, DP, etc.) on the SoC. @pld: Reference to PLD information.

Definition at line 46 of file acpigen_usb.h.

Field Documentation

◆ data_role

enum usb_typec_data_role typec_connector_class_config::data_role

Definition at line 61 of file acpigen_usb.h.

◆ mode_switch

const struct device* typec_connector_class_config::mode_switch

Definition at line 55 of file acpigen_usb.h.

◆ orientation_switch

const struct device* typec_connector_class_config::orientation_switch

Definition at line 53 of file acpigen_usb.h.

◆ pld

const struct acpi_pld* typec_connector_class_config::pld

Definition at line 56 of file acpigen_usb.h.

Referenced by fill_ssdt_typec_device().

◆ power_role

enum usb_typec_power_role typec_connector_class_config::power_role

Definition at line 61 of file acpigen_usb.h.

Referenced by fill_ssdt_typec_device().

◆ try_power_role

enum usb_typec_try_power_role typec_connector_class_config::try_power_role

Definition at line 61 of file acpigen_usb.h.

◆ usb2_port

const struct device* typec_connector_class_config::usb2_port

Definition at line 50 of file acpigen_usb.h.

Referenced by fill_ssdt_typec_device().

◆ usb3_port

const struct device* typec_connector_class_config::usb3_port

Definition at line 51 of file acpigen_usb.h.

Referenced by fill_ssdt_typec_device().

◆ usb4_port

const struct device* typec_connector_class_config::usb4_port

Definition at line 52 of file acpigen_usb.h.

Referenced by fill_ssdt_typec_device().

◆ usb_role_switch

const struct device* typec_connector_class_config::usb_role_switch

Definition at line 54 of file acpigen_usb.h.


The documentation for this struct was generated from the following file: