FreeRTOS port on GAP8/RISC-V
|
Functions | |
static uint32_t | soc_ctrl_info_get (void) |
static void | soc_ctrl_cl_isolate_set (uint32_t value) |
static uint32_t | soc_ctrl_cl_isolate_get (void) |
static uint32_t | soc_ctrl_cl_busy_get (void) |
static void | soc_ctrl_cl_bypass_set (uint32_t value) |
static uint32_t | soc_ctrl_cl_bypass_get (void) |
static void | soc_ctrl_safe_pmu_rar_set (uint32_t value) |
static uint32_t | soc_ctrl_safe_pmu_rar_get (void) |
static void | soc_ctrl_safe_pmu_sleepctrl_set (uint32_t value) |
static uint32_t | soc_ctrl_safe_pmu_sleepctrl_get (void) |
static uint32_t | soc_ctrl_fast_pmu_sleepctrl_get (void) |
static void | soc_ctrl_safe_pmu_force_set (uint32_t value) |
static uint32_t | soc_ctrl_safe_pmu_force_get (void) |
static uint8_t | hal_soc_ctrl_nb_clusters_get (void) |
static uint8_t | hal_soc_ctrl_nb_cores_get (void) |
static void | hal_soc_ctrl_cl_isolate_set (uint8_t isolate) |
static uint8_t | hal_soc_ctrl_cl_busy_get (void) |
static uint32_t | hal_soc_ctrl_cl_bypass_get (void) |
static void | hal_soc_ctrl_cl_bypass_mask_set (uint32_t bypass_mask) |
static void | hal_soc_ctrl_cl_bypass_set (uint8_t reset, uint8_t fll_ret, uint8_t fll_pwd, uint8_t cg, uint8_t byp_clk, uint8_t prog_delay, uint8_t curr_set, uint8_t state, uint8_t byp_cfg, uint8_t byp_pow) |
static void | hal_soc_ctrl_cl_bypass_bypass_set (uint8_t byp_clk, uint8_t byp_cfg, uint8_t byp_pow) |
static uint8_t | hal_soc_ctrl_cl_bypass_state_get (void) |
static uint32_t | hal_soc_ctrl_pmu_rar_get (void) |
static void | hal_soc_ctrl_pmu_regulator_set (uint32_t rar_value) |
static void | hal_soc_ctrl_pmu_rar_set (uint8_t ret_volt, uint8_t low_volt, uint8_t med_volt, uint8_t nom_volt) |
static uint8_t | hal_soc_ctrl_pmu_ret_volt_get (void) |
static void | hal_soc_ctrl_pmu_ret_volt_set (uint8_t ret_volt) |
static uint8_t | hal_soc_ctrl_pmu_low_volt_get (void) |
static void | hal_soc_ctrl_pmu_low_volt_set (uint8_t low_volt) |
static uint8_t | hal_soc_ctrl_pmu_med_volt_get (void) |
static void | hal_soc_ctrl_pmu_med_volt_set (uint8_t med_volt) |
static uint8_t | hal_soc_ctrl_pmu_nom_volt_get (void) |
static void | hal_soc_ctrl_pmu_nom_volt_set (uint8_t nom_volt) |
static uint32_t | hal_soc_ctrl_pmu_sleepctrl_get (void) |
static uint32_t | hal_soc_ctrl_fast_pmu_sleepctrl_get (void) |
static void | hal_soc_ctrl_pmu_sleepctrl_mask_set (uint32_t sleepctrl_mask) |
static void | hal_soc_ctrl_pmu_sleepctrl_set (uint8_t cl_wake, uint8_t boot_type, uint8_t ext_trigger, uint8_t boot_mode, uint8_t wake_state, uint8_t ext_wake_ena, uint8_t ext_wake_type, uint8_t ext_wake_src, uint8_t cl_fll, uint8_t soc_fll, uint8_t l2_r3_ret, uint8_t l2_r2_ret, uint8_t l2_r1_ret, uint8_t l2_r0_ret) |
static uint32_t | hal_soc_ctrl_pmu_force_pd_get (void) |
static void | hal_soc_ctrl_pmu_force_pd_set (uint8_t l2_r3_off, uint8_t l2_r2_off, uint8_t l2_r1_off, uint8_t l2_r0_off, uint8_t l2_r3_ret, uint8_t l2_r2_ret, uint8_t l2_r1_ret, uint8_t l2_r0_ret) |
|
inlinestatic |
CL_BUSY.
References SOC_CTRL_CL_BUSY_BUSY_MASK, and soc_ctrl_cl_busy_get().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
References soc_ctrl_cl_bypass_set().
Referenced by __pi_pmu_init().
|
inlinestatic |
References soc_ctrl_cl_bypass_t::byp_cfg, soc_ctrl_cl_bypass_t::byp_clk, soc_ctrl_cl_bypass_t::byp_pow, soc_ctrl_cl_bypass_t::cg, soc_ctrl_cl_bypass_t::cl_state, soc_ctrl_cl_bypass_t::currset, soc_ctrl_cl_bypass_t::field, soc_ctrl_cl_bypass_t::fll_pwd, soc_ctrl_cl_bypass_t::fll_ret, soc_ctrl_cl_bypass_t::prog_del, soc_ctrl_cl_bypass_t::rst, soc_ctrl_cl_bypass_set(), and soc_ctrl_cl_bypass_t::word.
|
inlinestatic |
|
inlinestatic |
CL_ISOLATE.
References SOC_CTRL_CL_ISOLATE_EN, and soc_ctrl_cl_isolate_set().
|
inlinestatic |
References soc_ctrl_fast_pmu_sleepctrl_get().
|
inlinestatic |
INFO.
References soc_ctrl_info_get(), and SOC_CTRL_INFO_NB_CL_MASK.
|
inlinestatic |
References soc_ctrl_info_get(), and SOC_CTRL_INFO_NB_CORES_MASK.
|
inlinestatic |
FORCE.
References soc_ctrl_safe_pmu_force_get().
|
inlinestatic |
References soc_ctrl_safe_pmu_force_t::field, soc_ctrl_safe_pmu_force_t::pd_l2_r0, soc_ctrl_safe_pmu_force_t::pd_l2_r1, soc_ctrl_safe_pmu_force_t::pd_l2_r2, soc_ctrl_safe_pmu_force_t::pd_l2_r3, soc_ctrl_safe_pmu_force_t::ret_l2_r0, soc_ctrl_safe_pmu_force_t::ret_l2_r1, soc_ctrl_safe_pmu_force_t::ret_l2_r2, soc_ctrl_safe_pmu_force_t::ret_l2_r3, soc_ctrl_safe_pmu_force_set(), and soc_ctrl_safe_pmu_force_t::word.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
RAR.
References soc_ctrl_safe_pmu_rar_get().
Referenced by __pi_pmu_init(), and __pi_pmu_voltage_set().
|
inlinestatic |
|
inlinestatic |
References soc_ctrl_safe_pmu_rar_set().
Referenced by __pi_pmu_voltage_set().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
SLEEPCTRL.
References soc_ctrl_safe_pmu_sleepctrl_get().
Referenced by __pi_pmu_init(), and __pi_pmu_sleep_mode_enable().
|
inlinestatic |
References soc_ctrl_safe_pmu_sleepctrl_set().
Referenced by __pi_pmu_sleep_mode_enable().
|
inlinestatic |
References soc_ctrl_safe_pmu_sleepctrl_t::btdev, soc_ctrl_safe_pmu_sleepctrl_t::bttype, soc_ctrl_safe_pmu_sleepctrl_t::cl_fll, soc_ctrl_safe_pmu_sleepctrl_t::cl_wake, soc_ctrl_safe_pmu_sleepctrl_t::extint, soc_ctrl_safe_pmu_sleepctrl_t::extwake_en, soc_ctrl_safe_pmu_sleepctrl_t::extwake_src, soc_ctrl_safe_pmu_sleepctrl_t::extwake_type, soc_ctrl_safe_pmu_sleepctrl_t::field, soc_ctrl_safe_pmu_sleepctrl_t::l2_r0, soc_ctrl_safe_pmu_sleepctrl_t::l2_r1, soc_ctrl_safe_pmu_sleepctrl_t::l2_r2, soc_ctrl_safe_pmu_sleepctrl_t::l2_r3, soc_ctrl_safe_pmu_sleepctrl_set(), soc_ctrl_safe_pmu_sleepctrl_t::soc_fll, soc_ctrl_safe_pmu_sleepctrl_t::wakestate, and soc_ctrl_safe_pmu_sleepctrl_t::word.
|
inlinestatic |
References soc_ctrl::cl_busy, and hal_read32().
Referenced by hal_soc_ctrl_cl_busy_get().
|
inlinestatic |
References hal_read32().
Referenced by hal_soc_ctrl_cl_bypass_bypass_set(), hal_soc_ctrl_cl_bypass_get(), and hal_soc_ctrl_cl_bypass_state_get().
|
inlinestatic |
References hal_write32().
Referenced by hal_soc_ctrl_cl_bypass_bypass_set(), hal_soc_ctrl_cl_bypass_mask_set(), and hal_soc_ctrl_cl_bypass_set().
|
inlinestatic |
References soc_ctrl::cl_isolate, and hal_read32().
|
inlinestatic |
References soc_ctrl::cl_isolate, and hal_write32().
Referenced by hal_soc_ctrl_cl_isolate_set().
|
inlinestatic |
References hal_read32(), and soc_ctrl::sleep_ctrl.
Referenced by hal_soc_ctrl_fast_pmu_sleepctrl_get().
|
inlinestatic |
References hal_read32(), and soc_ctrl::info.
Referenced by hal_soc_ctrl_nb_clusters_get(), and hal_soc_ctrl_nb_cores_get().
|
inlinestatic |
References hal_read32().
Referenced by hal_soc_ctrl_pmu_force_pd_get().
|
inlinestatic |
References hal_write32().
Referenced by hal_soc_ctrl_pmu_force_pd_set().
|
inlinestatic |
References hal_read32().
Referenced by hal_soc_ctrl_pmu_low_volt_get(), hal_soc_ctrl_pmu_low_volt_set(), hal_soc_ctrl_pmu_med_volt_get(), hal_soc_ctrl_pmu_med_volt_set(), hal_soc_ctrl_pmu_nom_volt_get(), hal_soc_ctrl_pmu_nom_volt_set(), hal_soc_ctrl_pmu_rar_get(), hal_soc_ctrl_pmu_ret_volt_get(), and hal_soc_ctrl_pmu_ret_volt_set().
|
inlinestatic |
|
inlinestatic |
References hal_read32(), and soc_ctrl::safe_pmu_sleepctrl.
Referenced by hal_soc_ctrl_pmu_sleepctrl_get().
|
inlinestatic |
References hal_write32(), and soc_ctrl::safe_pmu_sleepctrl.
Referenced by hal_soc_ctrl_pmu_sleepctrl_mask_set(), and hal_soc_ctrl_pmu_sleepctrl_set().