![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
Go to the source code of this file.
Enumerations | |
enum | { TRIP_POINTS_CHANGED_EVENT = 0x81 , THERMAL_EVENT = 0x90 } |
enum | { EC_FAN_DUTY_AUTO = 0xFF } |
Functions | |
static void | write_charger_PPPC (const struct device *ec) |
static void | write_charger_SPPC (const struct device *ec) |
static void | write_fan_fst (const struct device *ec) |
static void | write_fan_fsl (const struct device *ec) |
static void | write_is_policy_enabled (bool enabled) |
static void | write_dptf_OSC (const struct device *ec) |
static void | write_dppm_methods (const struct device *ec) |
static void | write_charger_methods (const struct device *ec) |
static void | write_fan_methods (const struct device *ec) |
static void | write_thermal_methods (const struct device *ec, enum dptf_participant participant, int tsr_index) |
void | ec_fill_dptf_helpers (const struct device *ec) |
anonymous enum |
Enumerator | |
---|---|
TRIP_POINTS_CHANGED_EVENT | |
THERMAL_EVENT |
Definition at line 15 of file ec_dptf_helpers.c.
anonymous enum |
Enumerator | |
---|---|
EC_FAN_DUTY_AUTO |
Definition at line 21 of file ec_dptf_helpers.c.
Definition at line 349 of file ec_dptf_helpers.c.
References DPTF_TEMP_SENSOR_0, DPTF_TEMP_SENSOR_4, write_charger_methods(), write_dppm_methods(), write_fan_methods(), and write_thermal_methods().
Referenced by google_chromeec_fill_ssdt_generator().
Definition at line 289 of file ec_dptf_helpers.c.
References acpigen_pop_len(), DPTF_CHARGER, dptf_write_scope(), write_charger_PPPC(), and write_charger_SPPC().
Referenced by ec_fill_dptf_helpers().
Definition at line 25 of file ec_dptf_helpers.c.
References acpi_device_path_join(), acpigen_emit_byte(), acpigen_emit_namestring(), acpigen_pop_len(), acpigen_write_if(), acpigen_write_method_serialized(), acpigen_write_return_op(), acpigen_write_store(), DECREMENT_OP, LEQUAL_OP, LOCAL0_OP, SIZEOF_OP, and ZERO_OP.
Referenced by write_charger_methods().
Definition at line 62 of file ec_dptf_helpers.c.
References acpi_device_path_join(), acpigen_emit_byte(), acpigen_emit_namestring(), acpigen_pop_len(), acpigen_write_integer(), acpigen_write_method_serialized(), acpigen_write_to_integer(), ARG0_OP, DEREF_OP, INDEX_OP, LOCAL0_OP, STORE_OP, and ZERO_OP.
Referenced by write_charger_methods().
Definition at line 253 of file ec_dptf_helpers.c.
References acpigen_notify(), acpigen_pop_len(), acpigen_write_if_lequal_op_int(), acpigen_write_method(), acpigen_write_scope(), acpigen_write_to_integer(), ARG0_OP, CONFIG, DPTF_TEMP_SENSOR_0, DPTF_TEMP_SENSOR_4, LOCAL0_OP, name, snprintf(), THERMAL_EVENT, TRIP_POINTS_CHANGED_EVENT, and write_dptf_OSC().
Referenced by ec_fill_dptf_helpers().
Definition at line 213 of file ec_dptf_helpers.c.
References acpi_device_path_join(), acpigen_emit_namestring(), acpigen_pop_len(), acpigen_write_integer(), acpigen_write_method_serialized(), acpigen_write_return_op(), acpigen_write_store(), ARG3_OP, DPTF_MAX_TSR, EC_FAN_DUTY_AUTO, name, snprintf(), and write_is_policy_enabled().
Referenced by write_dppm_methods().
Definition at line 117 of file ec_dptf_helpers.c.
References acpi_device_path_join(), acpigen_emit_byte(), acpigen_emit_namestring(), acpigen_pop_len(), acpigen_write_method_serialized(), acpigen_write_store(), and ARG0_OP.
Referenced by write_fan_methods().
Definition at line 94 of file ec_dptf_helpers.c.
References acpi_device_path_join(), acpigen_emit_byte(), acpigen_emit_namestring(), acpigen_pop_len(), acpigen_write_integer(), acpigen_write_method_serialized(), acpigen_write_name(), acpigen_write_package(), acpigen_write_store(), INDEX_OP, RETURN_OP, and ZERO_OP.
Referenced by write_fan_methods().
Definition at line 297 of file ec_dptf_helpers.c.
References acpigen_pop_len(), DPTF_FAN, dptf_write_scope(), write_fan_fsl(), and write_fan_fst().
Referenced by ec_fill_dptf_helpers().
Definition at line 131 of file ec_dptf_helpers.c.
References acpigen_emit_byte(), acpigen_emit_namestring(), acpigen_pop_len(), acpigen_write_if(), acpigen_write_integer(), acpigen_write_len_f(), acpigen_write_one(), acpigen_write_store(), acpigen_write_zero(), ARG0_OP, ARG1_OP, DEREF_OP, INCREMENT_OP, INDEX_OP, LAND_OP, LEQUAL_OP, LLESS_OP, LOCAL0_OP, LOCAL1_OP, LOCAL2_OP, SIZEOF_OP, WHILE_OP, and ZERO_OP.
Referenced by write_dptf_OSC().
|
static |
Definition at line 305 of file ec_dptf_helpers.c.
References acpi_device_path_join(), acpigen_emit_byte(), acpigen_emit_namestring(), acpigen_pop_len(), acpigen_write_integer(), acpigen_write_method_serialized(), acpigen_write_name_integer(), ARG0_OP, dptf_write_scope(), and RETURN_OP.
Referenced by ec_fill_dptf_helpers().