Home
last modified time | relevance | path

Searched refs:flag (Results 1 – 25 of 103) sorted by relevance

12345

/rk3399_ARM-atf/plat/xilinx/zynqmp/pm_service/
H A Dzynqmp_pm_api_sys.h41 #define PM_PACK_PAYLOAD1(pl, flag, arg0) { \ argument
42 pl[0] = ((uint32_t)(arg0) | ((uint32_t)(flag) << 24U)); \
45 #define PM_PACK_PAYLOAD2(pl, flag, arg0, arg1) { \ argument
47 PM_PACK_PAYLOAD1(pl, (flag), (arg0)); \
50 #define PM_PACK_PAYLOAD3(pl, flag, arg0, arg1, arg2) { \ argument
52 PM_PACK_PAYLOAD2(pl, (flag), (arg0), (arg1)); \
55 #define PM_PACK_PAYLOAD4(pl, flag, arg0, arg1, arg2, arg3) { \ argument
57 PM_PACK_PAYLOAD3(pl, (flag), (arg0), (arg1), (arg2)); \
60 #define PM_PACK_PAYLOAD5(pl, flag, arg0, arg1, arg2, arg3, arg4) { \ argument
62 PM_PACK_PAYLOAD4(pl, (flag), (arg0), (arg1), (arg2), (arg3)); \
[all …]
H A Dpm_api_ioctl.c177 uint32_t flag) in pm_ioctl_set_tapdelay_bypass() argument
186 value << type, flag); in pm_ioctl_set_tapdelay_bypass()
206 uint32_t flag) in pm_ioctl_sd_dll_reset() argument
224 ret = pm_mmio_write(ZYNQMP_SD_DLL_CTRL, mask, val, flag); in pm_ioctl_sd_dll_reset()
235 ret = pm_mmio_write(ZYNQMP_SD_DLL_CTRL, mask, 0, flag); in pm_ioctl_sd_dll_reset()
261 uint32_t flag) in pm_ioctl_sd_set_tapdelay() argument
277 ret = pm_mmio_read(ZYNQMP_SD_DLL_CTRL, &val, flag); in pm_ioctl_sd_set_tapdelay()
283 ret = pm_ioctl_sd_dll_reset(nid, PM_DLL_RESET_ASSERT, flag); in pm_ioctl_sd_set_tapdelay()
293 flag); in pm_ioctl_sd_set_tapdelay()
302 shift), 0, flag); in pm_ioctl_sd_set_tapdelay()
[all …]
H A Dzynqmp_pm_api_sys.c268 uint32_t flag) in pm_self_suspend() argument
284 pm_client_suspend(proc, state, flag); in pm_self_suspend()
286 PM_PACK_PAYLOAD6(payload, flag, PM_SELF_SUSPEND, proc->node_id, in pm_self_suspend()
307 uint32_t flag) in pm_req_suspend() argument
313 PM_PACK_PAYLOAD5(payload, flag, PM_REQ_SUSPEND, target, ack, latency, state); in pm_req_suspend()
346 uint32_t flag) in pm_req_wakeup() argument
357 PM_PACK_PAYLOAD5(payload, flag, PM_REQ_WAKEUP, target, encoded_address, in pm_req_wakeup()
382 uint32_t flag) in pm_force_powerdown() argument
388 PM_PACK_PAYLOAD3(payload, flag, PM_FORCE_POWERDOWN, target, ack); in pm_force_powerdown()
414 uint32_t flag) in pm_set_wakeup_source() argument
[all …]
H A Dpm_api_ioctl.h54 uint32_t flag);
55 enum pm_ret_status tfa_ioctl_bitmask(uint32_t *bit_mask, uint32_t flag);
H A Dpm_client.c179 static void pm_client_set_wakeup_sources(uint32_t flag) in pm_client_set_wakeup_sources() argument
189 ret = pm_set_wakeup_source(NODE_APU, NODE_EXTERN, 1U, flag); in pm_client_set_wakeup_sources()
226 ret = pm_set_wakeup_source(NODE_APU, node, 1U, flag); in pm_client_set_wakeup_sources()
287 void pm_client_suspend(const struct pm_proc *proc, uint32_t state, uint32_t flag) in pm_client_suspend() argument
292 pm_client_set_wakeup_sources(flag); in pm_client_suspend()
H A Dpm_api_clock.h319 enum pm_ret_status pm_clock_pll_enable(struct pm_pll *pll, uint32_t flag);
320 enum pm_ret_status pm_clock_pll_disable(struct pm_pll *pll, uint32_t flag);
323 uint32_t flag);
327 uint32_t flag);
331 uint32_t flag);
/rk3399_ARM-atf/plat/xilinx/common/include/
H A Dpm_api_sys.h25 enum pm_ret_status pm_handle_eemi_call(uint32_t flag, uint32_t x0, uint32_t x1,
31 uintptr_t address, uint32_t flag);
33 uintptr_t address, uint8_t ack, uint32_t flag);
35 uint8_t enable, uint32_t flag);
36 enum pm_ret_status pm_get_callbackdata(uint32_t *data, size_t count, uint32_t flag,
38 void pm_client_set_wakeup_sources(uint32_t node_id, uint32_t flag);
40 uint32_t flag);
42 uint32_t flag);
45 uint32_t flag);
47 uint32_t address_high, uint32_t flag);
[all …]
/rk3399_ARM-atf/include/bl31/
H A Dinterrupt_mgmt.h66 #define get_interrupt_rm_flag(flag, ss) \ argument
67 ((((flag) >> INTR_RM_FLAGS_SHIFT) >> (ss)) & INTR_RM_FROM_FLAG_MASK)
68 #define set_interrupt_rm_flag(flag, ss) ((flag) |= U(1) << (ss)) argument
69 #define clr_interrupt_rm_flag(flag, ss) ((flag) &= ~(U(1) << (ss))) argument
78 #define set_interrupt_src_ss(flag, val) ((flag) |= (val) << INTR_SRC_SS_FLAG_SHIFT) argument
79 #define clr_interrupt_src_ss(flag) ((flag) &= ~(U(1) << INTR_SRC_SS_FLAG_SHIFT)) argument
80 #define get_interrupt_src_ss(flag) (((flag) >> INTR_SRC_SS_FLAG_SHIFT) & \ argument
/rk3399_ARM-atf/plat/xilinx/common/pm_service/
H A Dpm_api_sys.c53 void pm_client_set_wakeup_sources(uint32_t node_id, uint32_t flag) in pm_client_set_wakeup_sources() argument
90 flag); in pm_client_set_wakeup_sources()
114 enum pm_ret_status pm_handle_eemi_call(uint32_t flag, uint32_t x0, uint32_t x1, in pm_handle_eemi_call() argument
128 PM_PACK_PAYLOAD6(payload, module_id, flag, x0, x1, x2, x3, x4, x5); in pm_handle_eemi_call()
150 uintptr_t address, uint32_t flag) in pm_self_suspend() argument
166 pm_client_suspend(proc, state, flag); in pm_self_suspend()
169 PM_PACK_PAYLOAD6(payload, LIBPM_MODULE_ID, flag, PM_SELF_SUSPEND, in pm_self_suspend()
197 uintptr_t address, uint8_t ack, uint32_t flag) in pm_req_wakeup() argument
202 PM_PACK_PAYLOAD5(payload, LIBPM_MODULE_ID, flag, PM_REQ_WAKEUP, target, in pm_req_wakeup()
221 enum pm_ret_status pm_get_callbackdata(uint32_t *data, size_t count, uint32_t flag, uint32_t ack) in pm_get_callbackdata() argument
[all …]
/rk3399_ARM-atf/bl31/
H A Dinterrupt_mgmt.c105 uint32_t flag, bit_pos; in set_scr_el3_from_rm() local
107 flag = get_interrupt_rm_flag(interrupt_type_flags, security_state); in set_scr_el3_from_rm()
109 intr_type_descs[type].scr_el3[security_state] = (u_register_t)flag << bit_pos; in set_scr_el3_from_rm()
117 cm_write_scr_el3_bit(security_state, bit_pos, flag); in set_scr_el3_from_rm()
157 uint32_t bit_pos, flag; in disable_intr_rm_local() local
161 flag = get_interrupt_rm_flag(INTR_DEFAULT_RM, security_state); in disable_intr_rm_local()
164 cm_write_scr_el3_bit(security_state, bit_pos, flag); in disable_intr_rm_local()
175 uint32_t bit_pos, flag; in enable_intr_rm_local() local
179 flag = get_interrupt_rm_flag(intr_type_descs[type].flags, in enable_intr_rm_local()
183 cm_write_scr_el3_bit(security_state, bit_pos, flag); in enable_intr_rm_local()
/rk3399_ARM-atf/plat/mediatek/drivers/spm/mt8188/constraints/
H A Dmt_spm_rc_bus26m.c205 int *flag = (int *)val; in update_rc_fmaudio_adsp() local
210 if (flag == NULL) { in update_rc_fmaudio_adsp()
214 if (*flag != 0) { in update_rc_fmaudio_adsp()
223 int *flag = (int *)val; in update_rc_usb_peri() local
225 if (flag == NULL) { in update_rc_usb_peri()
229 if (*flag != 0) { in update_rc_usb_peri()
238 int *flag = (int *)val; in update_rc_usb_infra() local
240 if (flag == NULL) { in update_rc_usb_infra()
244 if (*flag != 0) { in update_rc_usb_infra()
H A Dmt_spm_rc_syspll.c172 int *flag = (int *)val; in update_rc_usb_peri() local
174 if (flag == NULL) { in update_rc_usb_peri()
178 if (*flag != 0) { in update_rc_usb_peri()
187 int *flag = (int *)val; in update_rc_usb_infra() local
189 if (flag == NULL) { in update_rc_usb_infra()
193 if (*flag != 0) { in update_rc_usb_infra()
/rk3399_ARM-atf/plat/mediatek/common/lpm/
H A Dmt_lp_rq.c20 unsigned int flag; member
46 plat_mt_rqm.flag = MT_LP_RQ_FLAG_NEED_UPDATE; in mt_lp_resource_request()
68 plat_mt_rqm.flag = MT_LP_RQ_FLAG_NEED_UPDATE; in mt_lp_resource_release()
141 if (plat_mt_rqm.flag != 0) { in mt_lp_rq_get_status()
152 plat_mt_rqm.flag = MT_LP_RQ_FLAG_DONE; in mt_lp_rq_get_status()
195 plat_mt_rqm.flag = MT_LP_RQ_FLAG_NEED_UPDATE; in mt_lp_rq_update_status()
/rk3399_ARM-atf/plat/mediatek/common/lpm_v2/
H A Dmt_lp_rq.c23 unsigned int flag; member
52 plat_mt_rqm.flag = MT_LP_RQ_FLAG_NEED_UPDATE; in mt_lp_resource_request()
75 plat_mt_rqm.flag = MT_LP_RQ_FLAG_NEED_UPDATE; in mt_lp_resource_release()
157 if (plat_mt_rqm.flag) { in mt_lp_rq_get_status()
165 plat_mt_rqm.flag = MT_LP_RQ_FLAG_DONE; in mt_lp_rq_get_status()
212 plat_mt_rqm.flag = MT_LP_RQ_FLAG_NEED_UPDATE; in mt_lp_rq_update_status()
/rk3399_ARM-atf/docs/getting_started/
H A Dbuild-internals.rst23 - ``OPTEE_SP_FW_CONFIG``: DTC build flag to include OP-TEE as SP in
24 tb_fw_config device tree. This flag is defined only when
27 - ``TRUSTY_SP_FW_CONFIG``: DTC build flag to include Trusty as SP in
28 tb_fw_config device tree. This flag is defined only when
H A Dbuild-options.rst67 - ``BL2_RUNS_AT_EL3``: This is an implicit flag to denote that BL2 runs at EL3.
201 context. This flag can take values 0 to 2, to align with the
207 switch. Automatically enabled when ``BRANCH_PROTECTION`` is enabled. This flag
212 of the value of this flag if the CPU supports it. Alternatively, when
213 ``BRANCH_PROTECTION`` is enabled, this flag is superseded.
225 - ``DECRYPTION_SUPPORT``: This build flag enables the user to select the
228 this flag is ``none`` to disable firmware decryption which is an optional
237 This flag can take values 0 to 2, to align with the ``ENABLE_FEAT``
242 for development platforms. ``TRUSTED_BOARD_BOOT`` flag must be set if this
243 flag has to be enabled. 0 is the default.
[all …]
/rk3399_ARM-atf/tools/encrypt_fw/src/
H A Dmain.c91 unsigned long flag; in parse_fw_enc_status_flag() local
94 flag = strtoul(arg, &endptr, 16); in parse_fw_enc_status_flag()
95 if (*endptr != '\0' || flag > FW_ENC_WITH_BSSK) { in parse_fw_enc_status_flag()
100 *fw_enc_status = flag & FW_ENC_STATUS_FLAG_MASK; in parse_fw_enc_status_flag()
/rk3399_ARM-atf/plat/intel/soc/common/sip/
H A Dsocfpga_sip_fcs.c1206 uint32_t flag; in intel_fcs_get_digest_update_finalize() local
1233 flag = 0; in intel_fcs_get_digest_update_finalize()
1238 flag |= FCS_CS_FIELD_FLAG_INIT; in intel_fcs_get_digest_update_finalize()
1242 flag |= FCS_CS_FIELD_FLAG_FINALIZE; in intel_fcs_get_digest_update_finalize()
1244 flag |= FCS_CS_FIELD_FLAG_UPDATE; in intel_fcs_get_digest_update_finalize()
1248 crypto_header = ((flag << FCS_CS_FIELD_FLAG_OFFSET) | in intel_fcs_get_digest_update_finalize()
1325 uint32_t flag; in intel_fcs_get_digest_smmu_update_finalize() local
1349 flag = 0; in intel_fcs_get_digest_smmu_update_finalize()
1354 flag |= FCS_CS_FIELD_FLAG_INIT; in intel_fcs_get_digest_smmu_update_finalize()
1358 flag |= FCS_CS_FIELD_FLAG_FINALIZE; in intel_fcs_get_digest_smmu_update_finalize()
[all …]
/rk3399_ARM-atf/plat/mediatek/mt8173/drivers/spm/
H A Dspm_mcdi.c410 unsigned int pwr_status, shift, i, flag = 0; in spm_mcdi_set_cputop_pwrctrl_for_cluster_off() local
420 flag |= (pwr_status & (1 << shift)) >> shift; in spm_mcdi_set_cputop_pwrctrl_for_cluster_off()
422 if (!flag) in spm_mcdi_set_cputop_pwrctrl_for_cluster_off()
430 flag |= (pwr_status & (1 << shift)) >> shift; in spm_mcdi_set_cputop_pwrctrl_for_cluster_off()
432 if (!flag) in spm_mcdi_set_cputop_pwrctrl_for_cluster_off()
/rk3399_ARM-atf/drivers/st/regulator/
H A Dregulator_core.c388 int regulator_set_flag(struct rdev *rdev, uint16_t flag) in regulator_set_flag() argument
393 if (__builtin_popcount(flag) != 1) { in regulator_set_flag()
398 if ((flag == REGUL_ALWAYS_ON) || (flag == REGUL_BOOT_ON)) { in regulator_set_flag()
399 rdev->flags |= flag; in regulator_set_flag()
410 ret = rdev->desc->ops->set_flag(rdev->desc, flag); in regulator_set_flag()
416 rdev->desc->node_name, flag, ret); in regulator_set_flag()
420 rdev->flags |= flag; in regulator_set_flag()
/rk3399_ARM-atf/plat/mediatek/drivers/gpio/
H A Dmtgpio_common.h93 .flag = _flag, \
101 uint8_t flag; member
/rk3399_ARM-atf/docs/plat/arm/
H A Darm-build-options.rst8 DRAM. By default, BL31 is in the secure SRAM. Set this flag to 1 to load
11 flag.
43 - ``ARM_PLAT_MT``: This flag determines whether the Arm platform layer has to
44 cater for the multi-threading ``MT`` bit when accessing MPIDR. When this flag
47 this flag is 0. Note that this option is not used on FVP platforms.
49 - ``ARM_PLAT_PROVIDES_BL2_MEM_PARAMS``: This flag can be overriden to 1 in the Arm
58 State-ID yet. Hence this flag is used to configure whether to use the
59 recommended State-ID encoding or not. The default value of this flag is 0,
122 - ``CSS_DETECT_PRE_1_7_0_SCP``: Boolean flag to detect SCP version
128 - ``CSS_LOAD_SCP_IMAGES``: Boolean flag, which when set, adds SCP_BL2 and
[all …]
/rk3399_ARM-atf/plat/mediatek/drivers/spm/mt8196/constraints/
H A Dmt_spm_rc_bus26m.c93 uint32_t flag = *(uint32_t *)val; in spm_update_rc_bus26m() local
98 if (flag) in spm_update_rc_bus26m()
103 if (flag) in spm_update_rc_bus26m()
108 if (flag) in spm_update_rc_bus26m()
H A Dmt_spm_rc_vcore.c89 uint32_t flag = *(uint32_t *)val; in spm_update_rc_vcore() local
94 if (flag) in spm_update_rc_vcore()
99 if (flag) in spm_update_rc_vcore()
104 if (flag) in spm_update_rc_vcore()
/rk3399_ARM-atf/plat/mediatek/drivers/spm/mt8189/constraints/
H A Dmt_spm_rc_vcore.c101 uint32_t flag = *(uint32_t *)val; in spm_update_rc_vcore() local
126 if (flag) in spm_update_rc_vcore()
131 if (flag) in spm_update_rc_vcore()
136 if (flag) in spm_update_rc_vcore()

12345