10 #include <vendorcode/google/chromeos/chromeos.h>
13 #define RT1011_ACPI_HID "10EC1011"
15 #define RT1011_DP_INT(key, val) acpi_dp_add_integer(dp, "realtek," key, (val))
48 if (
CONFIG(CHROMEOS_DSM_CALIB)) {
49 if (get_dsm_calibration_from_key(
config->r0_calib_key, &r0_value)
50 || get_dsm_calibration_from_key(
config->temperature_calib_key,
53 "Failed to get dsm_calib parameters from VPD"
54 " with key %s and %s\n",
const char * acpi_device_path(const struct device *dev)
void acpi_device_write_i2c(const struct acpi_i2c *i2c)
void acpi_dp_write(struct acpi_dp *table)
int acpi_device_status(const struct device *dev)
const char * acpi_device_name(const struct device *dev)
struct acpi_dp * acpi_dp_new_table(const char *name)
const char * acpi_device_scope(const struct device *dev)
void acpigen_pop_len(void)
void acpigen_write_scope(const char *name)
void acpigen_write_resourcetemplate_footer(void)
void acpigen_write_name_integer(const char *name, uint64_t val)
void acpigen_write_STA(uint8_t status)
void acpigen_write_resourcetemplate_header(void)
void acpigen_write_device(const char *name)
void acpigen_write_name(const char *name)
void acpigen_write_name_string(const char *name, const char *string)
#define printk(level,...)
static void noop_read_resources(struct device *dev)
Standard device operations function pointers shims.
static void noop_set_resources(struct device *dev)
#define BIOS_INFO
BIOS_INFO - Expected events.
#define BIOS_ERR
BIOS_ERR - System in incomplete state.
struct chip_operations drivers_i2c_rt1011_ops
static struct device_operations rt1011_ops
static const char * rt1011_acpi_name(const struct device *dev)
static void rt1011_fill_ssdt(const struct device *dev)
static void rt1011_enable(struct device *dev)
#define RT1011_DP_INT(key, val)
unsigned long long uint64_t
void(* read_resources)(struct device *dev)
struct chip_operations * chip_ops
struct device_operations * ops
DEVTREE_CONST void * chip_info
int snprintf(char *buf, size_t size, const char *fmt,...)
Note: This file is only for POSIX compatibility, and is meant to be chain-included via string....