coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
chip.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-or-later */
2
3
#ifndef __DRIVERS_INTEL_USB4_RETIMER_H__
4
#define __DRIVERS_INTEL_USB4_RETIMER_H__
5
6
#include <
acpi/acpi_device.h
>
7
#include <
acpi/acpi.h
>
8
#include <
acpi/acpi_pld.h
>
9
10
#define DFP_NUM_MAX 2
11
12
struct
drivers_intel_usb4_retimer_config
{
13
/* Downstream facing port(DFP) */
14
struct
{
15
/* GPIO used to control power of retimer device */
16
struct
acpi_gpio
power_gpio
;
17
/* Type-C port associated with retimer */
18
DEVTREE_CONST
struct
device
*
typec_port
;
19
}
dfp
[
DFP_NUM_MAX
];
20
};
21
22
#endif
/* __DRIVERS_INTEL_USB4_RETIMER_H__ */
acpi_device.h
acpi_pld.h
DFP_NUM_MAX
#define DFP_NUM_MAX
Definition:
chip.h:10
acpi.h
DEVTREE_CONST
#define DEVTREE_CONST
Definition:
stddef.h:30
acpi_gpio
Definition:
acpi_device.h:164
device
Definition:
device.h:107
drivers_intel_usb4_retimer_config
Definition:
chip.h:12
drivers_intel_usb4_retimer_config::typec_port
DEVTREE_CONST struct device * typec_port
Definition:
chip.h:18
drivers_intel_usb4_retimer_config::power_gpio
struct acpi_gpio power_gpio
Definition:
chip.h:16
drivers_intel_usb4_retimer_config::dfp
struct drivers_intel_usb4_retimer_config::@76 dfp[DFP_NUM_MAX]
src
drivers
intel
usb4
retimer
chip.h
Generated by
1.9.1