![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <acpi/acpigen.h>
#include <boot/coreboot_tables.h>
#include <cbmem.h>
#include <console/console.h>
#include <intelblocks/acpi.h>
#include "chip.h"
Go to the source code of this file.
Functions | |
static void | conn_init (struct device *dev) |
static unsigned int | get_usb_port_number (const struct device *usb_port) |
static struct type_c_info * | conn_get_cbmem_buffer (void) |
static void | conn_write_cbmem_entry (struct device *dev) |
static const char * | conn_acpi_name (const struct device *dev) |
static const char * | orientation_to_str (enum type_c_orientation ori) |
static void | conn_fill_ssdt (const struct device *dev) |
static void | conn_enable (struct device *dev) |
bool | intel_pmc_mux_conn_get_ports (const struct device *conn, unsigned int *usb2_port, unsigned int *usb3_port) |
Variables | |
static size_t | total_conn_count |
static struct device_operations | conn_dev_ops |
struct chip_operations | drivers_intel_pmc_mux_conn_ops |
|
static |
Definition at line 77 of file conn.c.
References device_path::generic, generic_path::id, name, device::path, and snprintf().
Definition at line 150 of file conn.c.
References conn_dev_ops, and device::ops.
|
static |
Definition at line 24 of file conn.c.
References cbmem_add(), cbmem_find(), CBMEM_ID_TYPE_C_INFO, info, memset(), NULL, and total_conn_count.
Referenced by conn_write_cbmem_entry().
Definition at line 14 of file conn.c.
References total_conn_count.
Definition at line 43 of file conn.c.
References acpi_is_wakeup_s3(), BIOS_ERR, BIOS_INFO, device::chip_info, config, conn_get_cbmem_buffer(), count, type_c_port_info::data_orientation, get_usb_port_number(), info, type_c_info::port_info, printk, type_c_port_info::sbu_orientation, total_conn_count, type_c_port_info::usb2_port_number, and type_c_port_info::usb3_port_number.
Definition at line 19 of file conn.c.
Referenced by conn_write_cbmem_entry(), and intel_pmc_mux_conn_get_ports().
bool intel_pmc_mux_conn_get_ports | ( | const struct device * | conn, |
unsigned int * | usb2_port, | ||
unsigned int * | usb3_port | ||
) |
Definition at line 160 of file conn.c.
References device::chip_info, device::chip_ops, drivers_intel_pmc_mux_conn_ops, get_usb_port_number(), drivers_intel_pmc_mux_conn_config::usb2_port, and drivers_intel_pmc_mux_conn_config::usb3_port.
Referenced by tcss_get_port_info().
|
static |
Definition at line 84 of file conn.c.
References TYPEC_ORIENTATION_NONE, TYPEC_ORIENTATION_NORMAL, and TYPEC_ORIENTATION_REVERSE.
|
static |
Definition at line 97 of file conn.c.
Referenced by conn_enable().
struct chip_operations drivers_intel_pmc_mux_conn_ops |
Definition at line 150 of file conn.c.
Referenced by intel_pmc_mux_conn_get_ports().
|
static |
Definition at line 12 of file conn.c.
Referenced by conn_get_cbmem_buffer(), conn_init(), and conn_write_cbmem_entry().