![]() |
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 <string.h>
#include "chip.h"
#include <console/console.h>
Go to the source code of this file.
Macros | |
#define | AMD_I2S_ACPI_DESC "I2S machine driver" |
Functions | |
static void | i2s_machine_dev_fill_crs_dsd (const char *path, const struct acpi_gpio *dmic_select_gpio) |
static void | i2s_machine_dev_fill_ssdt (const struct device *dev) |
static const char * | i2s_machine_dev_acpi_name (const struct device *dev) |
static void | i2s_machine_dev_enable (struct device *dev) |
Variables | |
static struct device_operations | i2s_machine_dev_ops |
struct chip_operations | drivers_amd_i2s_machine_dev_ops |
#define AMD_I2S_ACPI_DESC "I2S machine driver" |
Definition at line 10 of file i2s_machine_dev.c.
|
static |
Definition at line 78 of file i2s_machine_dev.c.
References device_path::generic, generic_path::id, name, device::path, and snprintf().
Definition at line 92 of file i2s_machine_dev.c.
|
static |
Definition at line 12 of file i2s_machine_dev.c.
References acpi_device_write_gpio(), acpi_dp_add_gpio(), acpi_dp_new_table(), acpi_dp_write(), acpigen_write_name(), acpigen_write_resourcetemplate_footer(), and acpigen_write_resourcetemplate_header().
Referenced by i2s_machine_dev_fill_ssdt().
Definition at line 40 of file i2s_machine_dev.c.
References acpi_device_name(), acpi_device_path(), acpi_device_scope(), acpi_device_status(), acpigen_pop_len(), acpigen_write_device(), acpigen_write_name_integer(), acpigen_write_name_string(), acpigen_write_scope(), acpigen_write_STA(), AMD_I2S_ACPI_DESC, BIOS_ERR, BIOS_INFO, config_of(), dev_path(), drivers_amd_i2s_machine_dev_config::dmic_select_gpio, drivers_amd_i2s_machine_dev_config::hid, i2s_machine_dev_fill_crs_dsd(), NULL, acpi_gpio::pin_count, printk, and drivers_amd_i2s_machine_dev_config::uid.
struct chip_operations drivers_amd_i2s_machine_dev_ops |
Definition at line 92 of file i2s_machine_dev.c.
|
static |
Definition at line 78 of file i2s_machine_dev.c.