![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <acpi/acpi_device.h>
#include <acpi/acpigen.h>
#include <device/device.h>
#include <device/path.h>
#include <string.h>
#include "chip.h"
Go to the source code of this file.
Functions | |
static struct acpi_dp * | gpio_keys_add_child_node (struct drivers_generic_gpio_keys_config *config, const char *parent_path) |
static void | gpio_keys_fill_ssdt_generator (const struct device *dev) |
static const char * | gpio_keys_acpi_name (const struct device *dev) |
static void | gpio_keys_enable (struct device *dev) |
Variables | |
static struct device_operations | gpio_keys_ops |
struct chip_operations | drivers_generic_gpio_keys_ops |
|
static |
Definition at line 94 of file gpio_keys.c.
References device::chip_info, config, name, and snprintf().
|
static |
Definition at line 11 of file gpio_keys.c.
References acpi_dp_add_gpio(), acpi_dp_add_integer(), acpi_dp_add_string(), acpi_dp_new_table(), acpigen_write_PRW(), key_info::can_be_disabled, config, key_info::debounce_interval, key_info::dev_name, key_info::label, key_info::linux_code, key_info::linux_input_type, NULL, key_info::wake_gpe, key_info::wakeup_event_action, key_info::wakeup_route, WAKEUP_ROUTE_DISABLED, and WAKEUP_ROUTE_SCI.
Referenced by gpio_keys_fill_ssdt_generator().
Definition at line 115 of file gpio_keys.c.
Definition at line 51 of file gpio_keys.c.
References acpi_device_name(), acpi_device_path(), acpi_device_scope(), acpi_device_write_gpio(), acpi_dp_add_child(), acpi_dp_add_integer(), acpi_dp_add_string(), acpi_dp_new_table(), acpi_dp_write(), ACPI_DT_NAMESPACE_HID, acpigen_pop_len(), acpigen_write_device(), acpigen_write_name(), acpigen_write_name_string(), acpigen_write_resourcetemplate_footer(), acpigen_write_resourcetemplate_header(), acpigen_write_scope(), acpi_dp::child, device::chip_info, config, and gpio_keys_add_child_node().
struct chip_operations drivers_generic_gpio_keys_ops |
Definition at line 115 of file gpio_keys.c.
|
static |
Definition at line 94 of file gpio_keys.c.