#include <acpi/acpi_device.h>
#include <acpi/acpigen.h>
#include <console/console.h>
#include <device/device.h>
#include <device/path.h>
#include <gpio.h>
#include "chip.h"
Go to the source code of this file.
◆ nau8315_acpi_name()
static const char* nau8315_acpi_name |
( |
const struct device * |
dev | ) |
|
|
static |
◆ nau8315_enable()
◆ nau8315_fill_ssdt()
static void nau8315_fill_ssdt |
( |
const struct device * |
dev | ) |
|
|
static |
Definition at line 11 of file nau8315.c.
References acpi_device_name(), acpi_device_path(), acpi_device_scope(), acpi_device_status(), acpi_device_write_gpio(), acpi_dp_add_gpio(), acpi_dp_new_table(), acpi_dp_write(), acpigen_pop_len(), acpigen_write_device(), acpigen_write_name(), acpigen_write_name_integer(), acpigen_write_name_string(), acpigen_write_resourcetemplate_footer(), acpigen_write_resourcetemplate_header(), acpigen_write_scope(), acpigen_write_STA(), BIOS_INFO, device::chip_info, device::chip_ops, config, device::enabled, name, chip_operations::name, and printk.
◆ drivers_generic_nau8315_ops
Initial value:= {
}
static void nau8315_enable(struct device *dev)
Definition at line 66 of file nau8315.c.
◆ nau8315_ops
Initial value:= {
}
static void noop_read_resources(struct device *dev)
Standard device operations function pointers shims.
static void noop_set_resources(struct device *dev)
static const char * nau8315_acpi_name(const struct device *dev)
static void nau8315_fill_ssdt(const struct device *dev)
Definition at line 54 of file nau8315.c.