![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <acpi/acpigen.h>
#include <acpi/acpi_device.h>
#include "chip.h"
#include "soc/intel/common/block/pcie/rtd3/chip.h"
Go to the source code of this file.
Macros | |
#define | FM350GL_TN2B 20 |
#define | FM350GL_TB2R 80 |
#define | FM350GL_TR2P 0 |
#define | FM350GL_TB2F 10 |
#define | FM350GL_TFDI 500 |
#define | FM350GL_TBTG 10 |
#define | FM350GL_TBTP 170 |
#define | FM350GL_TR2B 10 |
#define | FM350GL_TIME_HW_INIT 100 |
Enumerations | |
enum | reset_type { RESET_TYPE_WARM = 0 , RESET_TYPE_COLD = 1 } |
Functions | |
static enum acpi_pcie_rp_pm_emit | wwan_fm350gl_get_rtd3_method_support (const struct drivers_wwan_fm_config *config) |
static void | wwan_fm350gl_acpi_method_fhrf (const struct device *parent_dev, const struct drivers_wwan_fm_config *config) |
static void | wwan_fm350gl_acpi_method_shrf (const struct device *parent_dev, const struct drivers_wwan_fm_config *config) |
static void | wwan_fm350gl_acpi_method_rst (const struct device *parent_dev, const struct drivers_wwan_fm_config *config) |
static void | wwan_fm350gl_acpi_method_mrst_rst (const struct device *parent_dev, const struct drivers_wwan_fm_config *config) |
static void | wwan_fm350gl_acpi_method_dpts (const struct device *parent_dev, const struct drivers_wwan_fm_config *config) |
static const char * | wwan_fm350gl_acpi_name (const struct device *dev) |
static void | wwan_fm350gl_acpi_fill_ssdt (const struct device *dev) |
static void | wwan_fm350gl_acpi_enable (struct device *dev) |
Variables | |
static struct device_operations | wwan_fm350gl_ops |
struct chip_operations | drivers_wwan_fm_ops |
#define FM350GL_TB2F 10 |
Definition at line 15 of file acpi_fm350gl.c.
#define FM350GL_TB2R 80 |
Definition at line 11 of file acpi_fm350gl.c.
#define FM350GL_TBTG 10 |
Definition at line 20 of file acpi_fm350gl.c.
#define FM350GL_TBTP 170 |
Definition at line 22 of file acpi_fm350gl.c.
#define FM350GL_TFDI 500 |
Definition at line 18 of file acpi_fm350gl.c.
#define FM350GL_TIME_HW_INIT 100 |
Definition at line 29 of file acpi_fm350gl.c.
#define FM350GL_TN2B 20 |
Definition at line 9 of file acpi_fm350gl.c.
#define FM350GL_TR2B 10 |
Definition at line 24 of file acpi_fm350gl.c.
#define FM350GL_TR2P 0 |
Definition at line 13 of file acpi_fm350gl.c.
enum reset_type |
Enumerator | |
---|---|
RESET_TYPE_WARM | |
RESET_TYPE_COLD |
Definition at line 31 of file acpi_fm350gl.c.
Definition at line 275 of file acpi_fm350gl.c.
Definition at line 209 of file acpi_fm350gl.c.
References acpi_device_path(), acpi_dp_add_integer(), acpi_dp_new_table(), acpi_dp_write(), acpigen_write_ADR(), acpigen_write_device(), acpigen_write_device_end(), acpigen_write_name_string(), acpigen_write_name_unicode(), acpigen_write_scope(), acpigen_write_scope_end(), BIOS_ERR, BIOS_INFO, device::bus, device::chip_ops, config, config_of(), bus::dev, dev_path(), is_dev_enabled(), chip_operations::name, printk, wwan_fm350gl_acpi_method_dpts(), wwan_fm350gl_acpi_method_fhrf(), wwan_fm350gl_acpi_method_mrst_rst(), wwan_fm350gl_acpi_method_rst(), wwan_fm350gl_acpi_method_shrf(), and wwan_fm350gl_acpi_name().
|
static |
Definition at line 191 of file acpi_fm350gl.c.
References acpigen_emit_byte(), acpigen_emit_namestring(), acpigen_write_method_end(), acpigen_write_method_serialized(), and RESET_TYPE_COLD.
Referenced by wwan_fm350gl_acpi_fill_ssdt().
|
static |
Definition at line 54 of file acpi_fm350gl.c.
References acpi_device_path_join(), ACPI_PCIE_RP_EMIT_L23, ACPI_PCIE_RP_EMIT_SRCK, acpigen_emit_byte(), acpigen_emit_namestring(), acpigen_enable_tx_gpio(), acpigen_get_tx_gpio(), acpigen_pop_len(), acpigen_write_else(), acpigen_write_if_end(), acpigen_write_if_lequal_op_int(), acpigen_write_method_end(), acpigen_write_method_serialized(), acpigen_write_sleep(), ARG0_OP, config, FM350GL_TB2F, FM350GL_TBTG, FM350GL_TFDI, FM350GL_TR2B, LOCAL0_OP, RESET_TYPE_COLD, RESET_TYPE_WARM, wwan_fm350gl_get_rtd3_method_support(), and ZERO_OP.
Referenced by wwan_fm350gl_acpi_fill_ssdt().
|
static |
Definition at line 169 of file acpi_fm350gl.c.
References acpi_device_path_join(), acpigen_emit_byte(), acpigen_emit_namestring(), acpigen_write_method_end(), acpigen_write_method_serialized(), INCREMENT_OP, and RESET_TYPE_COLD.
Referenced by wwan_fm350gl_acpi_fill_ssdt().
|
static |
Definition at line 148 of file acpi_fm350gl.c.
References acpi_device_path_join(), acpigen_emit_byte(), acpigen_emit_namestring(), acpigen_write_method_end(), acpigen_write_method_serialized(), INCREMENT_OP, and RESET_TYPE_WARM.
Referenced by wwan_fm350gl_acpi_fill_ssdt().
|
static |
Definition at line 107 of file acpi_fm350gl.c.
References acpi_device_path_join(), ACPI_PCIE_RP_EMIT_L23, ACPI_PCIE_RP_EMIT_PSD0, ACPI_PCIE_RP_EMIT_SRCK, acpigen_disable_tx_gpio(), acpigen_emit_byte(), acpigen_emit_namestring(), acpigen_write_method_end(), acpigen_write_method_serialized(), acpigen_write_sleep(), config, FM350GL_TB2R, FM350GL_TIME_HW_INIT, FM350GL_TN2B, ONE_OP, and wwan_fm350gl_get_rtd3_method_support().
Referenced by wwan_fm350gl_acpi_fill_ssdt().
|
static |
Definition at line 203 of file acpi_fm350gl.c.
Referenced by wwan_fm350gl_acpi_fill_ssdt().
|
static |
Definition at line 1 of file acpi_fm350gl.c.
Referenced by wwan_fm350gl_acpi_method_fhrf(), and wwan_fm350gl_acpi_method_shrf().
struct chip_operations drivers_wwan_fm_ops |
Definition at line 275 of file acpi_fm350gl.c.
|
static |
Definition at line 209 of file acpi_fm350gl.c.