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 <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.
Macros | |
#define | MAX98390_ACPI_HID "MX98390" |
#define | MAX98390_DP_INT(key, val) acpi_dp_add_integer(dp, "maxim," key, (val)) |
Functions | |
static void | max98390_fill_ssdt (const struct device *dev) |
static const char * | max98390_acpi_name (const struct device *dev) |
static void | max98390_enable (struct device *dev) |
Variables | |
static struct device_operations | max98390_ops |
struct chip_operations | drivers_i2c_max98390_ops |
#define MAX98390_ACPI_HID "MX98390" |
Definition at line 13 of file max98390.c.
#define MAX98390_DP_INT | ( | key, | |
val | |||
) | acpi_dp_add_integer(dp, "maxim," key, (val)) |
Definition at line 15 of file max98390.c.
|
static |
Definition at line 97 of file max98390.c.
References device::chip_info, config, i2c_path::device, device_path::i2c, name, device::path, and snprintf().
Definition at line 116 of file max98390.c.
Definition at line 17 of file max98390.c.
References acpi_device_name(), acpi_device_path(), acpi_device_scope(), acpi_device_status(), acpi_device_write_i2c(), acpi_dp_add_integer(), acpi_dp_add_string(), 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, MAX98390_ACPI_HID, MAX98390_DP_INT, i2c_path::mode_10bit, chip_operations::name, NULL, device::path, printk, and snprintf().
struct chip_operations drivers_i2c_max98390_ops |
Definition at line 116 of file max98390.c.
|
static |
Definition at line 97 of file max98390.c.