#include <acpi/acpi_device.h>
#include <acpi/acpigen.h>
#include <console/console.h>
#include <device/i2c.h>
#include <device/device.h>
#include <device/path.h>
#include <stdint.h>
#include <vendorcode/google/chromeos/chromeos.h>
#include "chip.h"
Go to the source code of this file.
◆ RT1011_ACPI_HID
#define RT1011_ACPI_HID "10EC1011" |
◆ RT1011_DP_INT
◆ rt1011_acpi_name()
static const char* rt1011_acpi_name |
( |
const struct device * |
dev | ) |
|
|
static |
◆ rt1011_enable()
◆ rt1011_fill_ssdt()
static void rt1011_fill_ssdt |
( |
const struct device * |
dev | ) |
|
|
static |
Definition at line 17 of file rt1011.c.
References acpi_device_name(), acpi_device_path(), acpi_device_scope(), acpi_device_status(), acpi_device_write_i2c(), 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(), acpi_i2c::address, BIOS_ERR, BIOS_INFO, device::chip_info, device::chip_ops, config, CONFIG, i2c_path::device, device_path::i2c, I2C_SPEED_FAST, i2c_path::mode_10bit, chip_operations::name, device::path, printk, RT1011_ACPI_HID, and RT1011_DP_INT.
◆ drivers_i2c_rt1011_ops
Initial value:= {
}
static void rt1011_enable(struct device *dev)
Definition at line 91 of file rt1011.c.
◆ rt1011_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 * rt1011_acpi_name(const struct device *dev)
static void rt1011_fill_ssdt(const struct device *dev)
Definition at line 72 of file rt1011.c.