![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <types.h>
Go to the source code of this file.
Data Structures | |
struct | pmic_setting |
Functions | |
void | mt6366_init (void) |
void | mt6366_set_power_hold (bool enable) |
void | mt6366_set_vsim2_cali_mv (u32 vsim2_mv) |
void | mt6366_init_scp_voltage (void) |
void | mt6366_set_voltage (enum mt6366_regulator_id id, u32 vcore_uv) |
u32 | mt6366_get_voltage (enum mt6366_regulator_id id) |
anonymous enum |
enum mt6366_regulator_id |
u32 mt6366_get_voltage | ( | enum mt6366_regulator_id | id | ) |
Definition at line 914 of file mt6366.c.
References BIOS_ERR, MT6366_VCN33, MT6366_VCORE, MT6366_VDDQ, MT6366_VDRAM1, MT6366_VMC, MT6366_VMCH, MT6366_VPROC12, MT6366_VRF12, MT6366_VSRAM_PROC12, pmic_get_vcn33_vol(), pmic_get_vcore_vol(), pmic_get_vddq_vol(), pmic_get_vdram1_vol(), pmic_get_vmc_vol(), pmic_get_vmch_vol(), pmic_get_vproc12_vol(), pmic_get_vrf12_vol(), pmic_get_vsram_proc12_vol(), and printk.
Referenced by mainboard_get_regulator_vol().
Definition at line 942 of file mt6366.c.
References die(), mt6366_init_setting(), mt6366_lp_setting(), mt6366_set_power_hold(), pmic_check_hwcid(), pmic_wdt_set(), pmif_spmi_set_lp_mode(), pwrap_init(), stopwatch_expired(), stopwatch_init_usecs_expire(), wk_power_down_seq(), and wk_sleep_voltage_by_ddr().
Referenced by platform_romstage_main().
Definition at line 834 of file mt6366.c.
References addr, ARRAY_SIZE, mask, pwrap_write_field(), scp_setting, pmic_setting::shift, and val.
Definition at line 829 of file mt6366.c.
References PMIC_PWRHOLD, and pwrap_write_field().
Referenced by mt6366_init(), and rtc_bbpu_power_on().
void mt6366_set_voltage | ( | enum mt6366_regulator_id | id, |
u32 | vcore_uv | ||
) |
Definition at line 877 of file mt6366.c.
References BIOS_ERR, MT6366_VCN33, MT6366_VCORE, MT6366_VDDQ, MT6366_VDRAM1, MT6366_VMC, MT6366_VMCH, MT6366_VPROC12, MT6366_VRF12, MT6366_VSRAM_PROC12, pmic_enable_vrf12(), pmic_set_vcn33_vol(), pmic_set_vcore_vol(), pmic_set_vddq_vol(), pmic_set_vdram1_vol(), pmic_set_vmc_vol(), pmic_set_vmch_vol(), pmic_set_vproc12_vol(), pmic_set_vsram_proc12_vol(), and printk.
Referenced by mainboard_set_regulator_vol().
Definition at line 842 of file mt6366.c.
References assert, BIOS_ERR, PMIC_VSIM2_ANA_CON0, printk, and pwrap_write_field().