![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <acpi/acpi_device.h>
#include <acpi/acpi_pld.h>
#include <acpi/acpigen.h>
#include <console/console.h>
#include <device/device.h>
#include <device/path.h>
#include "chip.h"
Go to the source code of this file.
Functions | |
static bool | usb_acpi_add_gpios_to_crs (struct drivers_usb_acpi_config *cfg) |
static int | usb_acpi_write_gpio (struct acpi_gpio *gpio, int *curr_index) |
static void | usb_acpi_fill_ssdt_generator (const struct device *dev) |
static void | usb_acpi_enable (struct device *dev) |
bool | usb_acpi_get_pld (const struct device *usb_device, struct acpi_pld *pld) |
Variables | |
static struct device_operations | usb_acpi_ops |
struct chip_operations | drivers_usb_acpi_ops |
|
static |
Definition at line 11 of file usb_acpi.c.
References drivers_usb_acpi_config::has_power_resource, acpi_gpio::pin_count, drivers_usb_acpi_config::privacy_gpio, and drivers_usb_acpi_config::reset_gpio.
Referenced by usb_acpi_fill_ssdt_generator().
Definition at line 117 of file usb_acpi.c.
Definition at line 36 of file usb_acpi.c.
References acpi_device_add_power_res(), acpi_device_path(), acpi_dp_add_gpio(), acpi_dp_new_table(), acpi_dp_write(), acpigen_pop_len(), acpigen_write_name(), acpigen_write_name_string(), acpigen_write_pld(), acpigen_write_resourcetemplate_footer(), acpigen_write_resourcetemplate_header(), acpigen_write_scope(), acpigen_write_upc(), BIOS_ERR, BIOS_INFO, device::chip_info, device::chip_ops, config, dev_path(), chip_operations::name, NULL, printk, UPC_TYPE_HUB, usb_acpi_add_gpios_to_crs(), usb_acpi_get_pld(), and usb_acpi_write_gpio().
Definition at line 127 of file usb_acpi.c.
References acpi_pld_fill_usb(), device::chip_info, device::chip_ops, config, and drivers_usb_acpi_ops.
Referenced by usb_acpi_fill_ssdt_generator().
|
static |
Definition at line 22 of file usb_acpi.c.
References acpi_device_write_gpio().
Referenced by usb_acpi_fill_ssdt_generator().
struct chip_operations drivers_usb_acpi_ops |
Definition at line 117 of file usb_acpi.c.
Referenced by usb_acpi_get_pld().
|
static |
Definition at line 36 of file usb_acpi.c.