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_PMC_MUX_CONN_H__
4 #define __DRIVERS_INTEL_PMC_MUX_CONN_H__
5 
6 #include <boot/coreboot_tables.h>
7 
9  /* A pointer to the SoC's USB-2 device */
11  /* A pointer to the SoC's USB-3 device */
13  /* Orientation of the sideband signals (SBU) */
15  /* Orientation of the High Speed lines */
17 };
18 
19 /*
20  * Method verifies input "conn" device.
21  * Returns 'true' if device passed is Intel PMC MUX Conn device else returns 'false'.
22  * Method also outputs the usb2 and usb3 port numbers associated with the 'conn' device
23  */
24 bool intel_pmc_mux_conn_get_ports(const struct device *conn, unsigned int *usb2_port,
25  unsigned int *usb3_port);
26 
27 #endif /* __DRIVERS_INTEL_PMC_MUX_CONN_H__ */
type_c_orientation
bool intel_pmc_mux_conn_get_ports(const struct device *conn, unsigned int *usb2_port, unsigned int *usb3_port)
Definition: conn.c:160
#define DEVTREE_CONST
Definition: stddef.h:30
Definition: device.h:107
DEVTREE_CONST struct device * usb2_port
Definition: chip.h:10
enum type_c_orientation hsl_orientation
Definition: chip.h:16
enum type_c_orientation sbu_orientation
Definition: chip.h:14
DEVTREE_CONST struct device * usb3_port
Definition: chip.h:12