| /rk3399_ARM-atf/plat/mediatek/mt8183/drivers/pmic/ |
| H A D | pmic.c | 30 uint32_t con; in wk_pmic_enable_sdn_delay() local 33 pwrap_read(PMIC_PSEQ_ELR11, &con); in wk_pmic_enable_sdn_delay() 34 con &= ~PMIC_RG_SDN_DLY_ENB; in wk_pmic_enable_sdn_delay() 35 pwrap_write(PMIC_PSEQ_ELR11, con); in wk_pmic_enable_sdn_delay()
|
| /rk3399_ARM-atf/plat/mediatek/common/lpm/ |
| H A D | mt_lp_rm.c | 59 struct mt_resource_constraint *const *con; in mt_lp_rm_get_status() local 66 for (con = rm->consts; *con != NULL; con++) { in mt_lp_rm_get_status() 67 if ((*con)->get_status == NULL) { in mt_lp_rm_get_status() 70 res = (*con)->get_status(type, priv); in mt_lp_rm_get_status()
|
| /rk3399_ARM-atf/plat/xilinx/versal/include/ |
| H A D | versal_def.h | 28 #define CONSOLE_IS(con) (VERSAL_CONSOLE_ID_ ## con == VERSAL_CONSOLE) argument 37 #define RT_CONSOLE_IS(con) (RT_CONSOLE_ID_ ## con == CONSOLE_RUNTIME) argument
|
| /rk3399_ARM-atf/plat/mediatek/common/lpm_v2/ |
| H A D | mt_lp_rm.c | 57 struct mt_resource_constraint *const *con; in mt_lp_rm_get_status() local 63 for (con = rm->consts; *con != NULL; con++) { in mt_lp_rm_get_status() 64 if ((*con)->get_status == NULL) in mt_lp_rm_get_status() 67 res = (*con)->get_status(type, priv); in mt_lp_rm_get_status()
|
| /rk3399_ARM-atf/plat/xilinx/versal_net/include/ |
| H A D | versal_net_def.h | 25 #define CONSOLE_IS(con) (VERSAL_NET_CONSOLE_ID_ ## con == VERSAL_NET_CONSOLE) argument 34 #define RT_CONSOLE_IS(con) (RT_CONSOLE_ID_ ## con == CONSOLE_RUNTIME) argument
|
| /rk3399_ARM-atf/plat/amd/versal2/include/ |
| H A D | def.h | 25 #define CONSOLE_IS(con) (CONSOLE_ID_ ## con == CONSOLE) argument 34 #define RT_CONSOLE_IS(con) (RT_CONSOLE_ID_ ## con == CONSOLE_RUNTIME) argument
|
| /rk3399_ARM-atf/plat/mediatek/drivers/spm/mt8188/constraints/ |
| H A D | mt_spm_rc_cpu_buck_ldo.c | 75 struct constraint_status *con = (struct constraint_status *)st->value; in update_rc_status() local 78 SPM_RC_BITS_CLR(cpubuckldo_status, con->is_valid); in update_rc_status() 80 SPM_RC_BITS_SET(cpubuckldo_status, con->is_valid); in update_rc_status()
|
| /rk3399_ARM-atf/plat/xilinx/zynqmp/include/ |
| H A D | zynqmp_def.h | 20 #define CONSOLE_IS(con) (ZYNQMP_CONSOLE_ID_ ## con == ZYNQMP_CONSOLE) argument 29 #define RT_CONSOLE_IS(con) (RT_CONSOLE_ID_ ## con == CONSOLE_RUNTIME) argument
|
| /rk3399_ARM-atf/plat/mediatek/mt8186/drivers/spm/ |
| H A D | mt_spm_cond.h | 57 extern int mt_spm_cond_update(struct mt_resource_constraint **con, unsigned int num,
|
| H A D | mt_spm_cond.c | 151 int mt_spm_cond_update(struct mt_resource_constraint **con, unsigned int num, in mt_spm_cond_update() argument 200 for (rc = con; *rc != NULL; rc++) { in mt_spm_cond_update()
|
| /rk3399_ARM-atf/plat/mediatek/mt8192/drivers/spm/ |
| H A D | mt_spm_cond.h | 54 extern int mt_spm_cond_update(struct mt_resource_constraint **con, unsigned int num,
|
| H A D | mt_spm_cond.c | 158 int mt_spm_cond_update(struct mt_resource_constraint **con, unsigned int num, in mt_spm_cond_update() argument 206 for (rc = con; *rc != NULL; rc++) { in mt_spm_cond_update()
|
| /rk3399_ARM-atf/plat/mediatek/drivers/spm/mt8189/ |
| H A D | mt_spm_cond.c | 74 int mt_spm_cond_update(struct mt_resource_constraint **con, int num, in mt_spm_cond_update() argument 130 for (i = 0, _con = con; *_con && (*_con)->update && (i < num); in mt_spm_cond_update()
|
| H A D | mt_spm_cond.h | 111 int mt_spm_cond_update(struct mt_resource_constraint **con, int num,
|
| /rk3399_ARM-atf/plat/mediatek/mt8195/drivers/spm/ |
| H A D | mt_spm_cond.h | 71 extern int mt_spm_cond_update(struct mt_resource_constraint **con, unsigned int num,
|
| H A D | mt_spm_cond.c | 174 int mt_spm_cond_update(struct mt_resource_constraint **con, unsigned int num, in mt_spm_cond_update() argument 222 for (rc = con; *rc != NULL; rc++) { in mt_spm_cond_update()
|
| /rk3399_ARM-atf/plat/mediatek/include/lpm/ |
| H A D | mt_lp_rm.h | 52 int (*update)(struct mt_resource_constraint **con, unsigned int num,
|
| /rk3399_ARM-atf/plat/mediatek/include/lpm_v2/ |
| H A D | mt_lp_rm.h | 57 int (*update)(struct mt_resource_constraint **con, unsigned int num,
|
| /rk3399_ARM-atf/plat/mediatek/drivers/spm/mt8188/ |
| H A D | mt_spm_cond.h | 92 int mt_spm_cond_update(struct mt_resource_constraint **con, unsigned int num,
|
| H A D | mt_spm_cond.c | 201 int mt_spm_cond_update(struct mt_resource_constraint **con, unsigned int num, in mt_spm_cond_update() argument 252 for (i = 0U, _con = con; (*_con != NULL) && (i < num); _con++, i++) { in mt_spm_cond_update()
|
| /rk3399_ARM-atf/plat/rockchip/px30/drivers/pmu/ |
| H A D | pmu.c | 527 #define CLK_MSK_GATING(msk, con) \ argument 528 mmio_write_32(CRU_BASE + (con), ((msk) << 16) | 0xffff) 529 #define CLK_MSK_UNGATING(msk, con) \ argument 530 mmio_write_32(CRU_BASE + (con), ((~(msk)) << 16) | 0xffff)
|