coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
acpi_fm350gl.c File Reference
Include dependency graph for acpi_fm350gl.c:

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
 

Macro Definition Documentation

◆ FM350GL_TB2F

#define FM350GL_TB2F   10

Definition at line 15 of file acpi_fm350gl.c.

◆ FM350GL_TB2R

#define FM350GL_TB2R   80

Definition at line 11 of file acpi_fm350gl.c.

◆ FM350GL_TBTG

#define FM350GL_TBTG   10

Definition at line 20 of file acpi_fm350gl.c.

◆ FM350GL_TBTP

#define FM350GL_TBTP   170

Definition at line 22 of file acpi_fm350gl.c.

◆ FM350GL_TFDI

#define FM350GL_TFDI   500

Definition at line 18 of file acpi_fm350gl.c.

◆ FM350GL_TIME_HW_INIT

#define FM350GL_TIME_HW_INIT   100

Definition at line 29 of file acpi_fm350gl.c.

◆ FM350GL_TN2B

#define FM350GL_TN2B   20

Definition at line 9 of file acpi_fm350gl.c.

◆ FM350GL_TR2B

#define FM350GL_TR2B   10

Definition at line 24 of file acpi_fm350gl.c.

◆ FM350GL_TR2P

#define FM350GL_TR2P   0

Definition at line 13 of file acpi_fm350gl.c.

Enumeration Type Documentation

◆ reset_type

enum reset_type
Enumerator
RESET_TYPE_WARM 
RESET_TYPE_COLD 

Definition at line 31 of file acpi_fm350gl.c.

Function Documentation

◆ wwan_fm350gl_acpi_enable()

static void wwan_fm350gl_acpi_enable ( struct device dev)
static

Definition at line 275 of file acpi_fm350gl.c.

◆ wwan_fm350gl_acpi_fill_ssdt()

◆ wwan_fm350gl_acpi_method_dpts()

static void wwan_fm350gl_acpi_method_dpts ( const struct device parent_dev,
const struct drivers_wwan_fm_config config 
)
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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ wwan_fm350gl_acpi_method_fhrf()

◆ wwan_fm350gl_acpi_method_mrst_rst()

static void wwan_fm350gl_acpi_method_mrst_rst ( const struct device parent_dev,
const struct drivers_wwan_fm_config config 
)
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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ wwan_fm350gl_acpi_method_rst()

static void wwan_fm350gl_acpi_method_rst ( const struct device parent_dev,
const struct drivers_wwan_fm_config config 
)
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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ wwan_fm350gl_acpi_method_shrf()

static void wwan_fm350gl_acpi_method_shrf ( const struct device parent_dev,
const struct drivers_wwan_fm_config config 
)
static

◆ wwan_fm350gl_acpi_name()

static const char* wwan_fm350gl_acpi_name ( const struct device dev)
static

Definition at line 203 of file acpi_fm350gl.c.

Referenced by wwan_fm350gl_acpi_fill_ssdt().

Here is the caller graph for this function:

◆ wwan_fm350gl_get_rtd3_method_support()

static enum acpi_pcie_rp_pm_emit wwan_fm350gl_get_rtd3_method_support ( const struct drivers_wwan_fm_config config)
static

Definition at line 1 of file acpi_fm350gl.c.

Referenced by wwan_fm350gl_acpi_method_fhrf(), and wwan_fm350gl_acpi_method_shrf().

Here is the caller graph for this function:

Variable Documentation

◆ drivers_wwan_fm_ops

struct chip_operations drivers_wwan_fm_ops
Initial value:
= {
}
static void wwan_fm350gl_acpi_enable(struct device *dev)
Definition: acpi_fm350gl.c:275

Definition at line 275 of file acpi_fm350gl.c.

◆ wwan_fm350gl_ops

struct device_operations wwan_fm350gl_ops
static
Initial value:
= {
.read_resources = noop_read_resources,
.set_resources = noop_set_resources,
.acpi_fill_ssdt = wwan_fm350gl_acpi_fill_ssdt,
}
static void wwan_fm350gl_acpi_fill_ssdt(const struct device *dev)
Definition: acpi_fm350gl.c:209
static const char * wwan_fm350gl_acpi_name(const struct device *dev)
Definition: acpi_fm350gl.c:203
static void noop_read_resources(struct device *dev)
Standard device operations function pointers shims.
Definition: device.h:73
static void noop_set_resources(struct device *dev)
Definition: device.h:74

Definition at line 209 of file acpi_fm350gl.c.