/trusted-firmware-a/plat/intel/soc/agilex/include/ |
A D | agilex_memory_controller.h | 73 #define ACT_TO_ACT_DIFF_BANK(value) (((value) & 0x00fc0000) >> 18) argument 74 #define ACT_TO_ACT(value) (((value) & 0x0003f000) >> 12) argument 75 #define ACT_TO_RDWR(value) (((value) & 0x0000003f) >> 0) argument 76 #define ACT_TO_ACT(value) (((value) & 0x0003f000) >> 12) argument 79 #define RD_TO_RD_DIFF_CHIP(value) (((value) & 0x00000fc0) >> 6) argument 80 #define RD_TO_WR_DIFF_CHIP(value) (((value) & 0x3f000000) >> 24) argument 81 #define RD_TO_WR(value) (((value) & 0x00fc0000) >> 18) argument 82 #define RD_TO_PCH(value) (((value) & 0x00000fc0) >> 6) argument 86 #define CALTIMING3_WR_TO_RD(value) (((value) & 0x00000fc0) >> 6) argument 89 #define PCH_TO_VALID(value) (((value) & 0x00000fc0) >> 6) argument [all …]
|
/trusted-firmware-a/plat/intel/soc/stratix10/include/ |
A D | s10_memory_controller.h | 72 #define ACT_TO_ACT_DIFF_BANK(value) (((value) & 0x00fc0000) >> 18) argument 73 #define ACT_TO_ACT(value) (((value) & 0x0003f000) >> 12) argument 74 #define ACT_TO_RDWR(value) (((value) & 0x0000003f) >> 0) argument 75 #define ACT_TO_ACT(value) (((value) & 0x0003f000) >> 12) argument 78 #define RD_TO_RD_DIFF_CHIP(value) (((value) & 0x00000fc0) >> 6) argument 79 #define RD_TO_WR_DIFF_CHIP(value) (((value) & 0x3f000000) >> 24) argument 80 #define RD_TO_WR(value) (((value) & 0x00fc0000) >> 18) argument 81 #define RD_TO_PCH(value) (((value) & 0x00000fc0) >> 6) argument 84 #define CALTIMING3_WR_TO_RD_DIFF_CHIP(value) (((value) & 0x0003f000) >> 12) argument 85 #define CALTIMING3_WR_TO_RD(value) (((value) & 0x00000fc0) >> 6) argument [all …]
|
/trusted-firmware-a/plat/xilinx/zynqmp/pm_service/ |
A D | pm_svc_main.c | 145 uint32_t value; in zynqmp_sgi7_irq() local 162 value = (value & RESTART_SCOPE_MASK) >> RESTART_SCOPE_SHIFT; in zynqmp_sgi7_irq() 401 uint32_t value; in pm_smc_handler() local 413 uint32_t value; in pm_smc_handler() local 465 uint32_t value; in pm_smc_handler() local 477 uint32_t value; in pm_smc_handler() local 504 uint32_t value; in pm_smc_handler() local 516 uint32_t value; in pm_smc_handler() local 530 uint64_t value; in pm_smc_handler() local 545 uint32_t value; in pm_smc_handler() local [all …]
|
A D | pm_api_ioctl.c | 93 unsigned int value) in pm_ioctl_config_boot_addr() argument 133 if (value == PM_RPU_TCM_SPLIT) in pm_ioctl_config_tcm_comb() 176 unsigned int value) in pm_ioctl_set_sgmii_mode() argument 181 if (value != PM_SGMII_DISABLE && value != PM_SGMII_ENABLE) in pm_ioctl_set_sgmii_mode() 281 unsigned int value) in pm_ioctl_sd_set_tapdelay() argument 315 if (value == 0) in pm_ioctl_sd_set_tapdelay() 328 (value << shift)); in pm_ioctl_sd_set_tapdelay() 340 (value << shift)); in pm_ioctl_sd_set_tapdelay() 451 0xFFFFFFFFU, value); in pm_ioctl_write_ggs() 490 0xFFFFFFFFU, value); in pm_ioctl_write_pggs() [all …]
|
A D | pm_api_sys.h | 111 unsigned int value); 134 unsigned int *value); 137 unsigned int value); 142 unsigned int *value); 173 uint32_t *value); 179 uint32_t *value); 182 uint32_t *value); 186 unsigned int value, 191 unsigned int value); 195 unsigned int *value); [all …]
|
A D | pm_api_sys.c | 497 unsigned int value) in pm_mmio_write() argument 627 uint32_t *value) in pm_aes_engine() argument 731 unsigned int *value) in pm_pinctrl_get_config() argument 749 unsigned int value) in pm_pinctrl_set_config() argument 755 value); in pm_pinctrl_set_config() 775 unsigned int *value) in pm_ioctl() argument 1404 uint32_t *value) in pm_secure_image() argument 1434 uint32_t *value) in pm_fpga_read() argument 1458 unsigned int value) in pm_pll_set_parameter() argument 1486 unsigned int *value) in pm_pll_get_parameter() argument [all …]
|
/trusted-firmware-a/plat/mediatek/mt8195/drivers/ptp3/ |
A D | mtk_ptp3_main.c | 33 unsigned int i, addr, value; in ptp3_init() local 47 value = ptp3_cfg2[i][PTP3_CFG_VALUE]; in ptp3_init() 49 ptp3_write(addr, value); in ptp3_init() 59 value = ptp3_cfg2[i][PTP3_CFG_VALUE]; in ptp3_init() 61 ptp3_write(addr, value); in ptp3_init() 67 value = ptp3_cfg3[PTP3_CFG_VALUE]; in ptp3_init() 69 ptp3_write(addr, value & PTP3_CFG3_MASK1); in ptp3_init() 70 ptp3_write(addr, value & PTP3_CFG3_MASK2); in ptp3_init() 71 ptp3_write(addr, value & PTP3_CFG3_MASK3); in ptp3_init() 74 value = ptp3_cfg3_ext[PTP3_CFG_VALUE]; in ptp3_init() [all …]
|
/trusted-firmware-a/lib/extensions/amu/aarch32/ |
A D | amu.c | 51 ((value << TAM_SHIFT) & TAM_BIT)); in write_hcptr_tam() 92 uint32_t value = read_amcntenset0(); in write_amcntenset0_px() local 94 value &= ~AMCNTENSET0_Pn_MASK; in write_amcntenset0_px() 98 write_amcntenset0(value); in write_amcntenset0_px() 103 uint32_t value = read_amcntenset1(); in write_amcntenset1_px() local 105 value &= ~AMCNTENSET1_Pn_MASK; in write_amcntenset1_px() 109 write_amcntenset1(value); in write_amcntenset1_px() 116 value &= ~AMCNTENCLR0_Pn_MASK; in write_amcntenclr0_px() 119 write_amcntenclr0(value); in write_amcntenclr0_px() 126 value &= ~AMCNTENCLR1_Pn_MASK; in write_amcntenclr1_px() [all …]
|
/trusted-firmware-a/docs/components/ |
A D | ffa-manifest-binding.rst | 14 - value type: <string> 24 - value type: <u32> 39 - value type: <u32> 43 - value type: <u32> 51 - value type: <u32> 62 - value type: <u32> 70 - value type: <u32> 77 - value type: <u64> 83 - value type: <u64> 89 - value type: <u32> [all …]
|
/trusted-firmware-a/docs/build/TF-A_2.5/_sources/components/ |
A D | ffa-manifest-binding.rst.txt | 14 - value type: <string> 24 - value type: <u32> 39 - value type: <u32> 43 - value type: <u32> 51 - value type: <u32> 62 - value type: <u32> 70 - value type: <u32> 77 - value type: <u64> 83 - value type: <u64> 89 - value type: <u32> [all …]
|
/trusted-firmware-a/lib/extensions/amu/aarch64/ |
A D | amu.c | 82 value &= ~TAM_BIT; in write_cptr_el3_tam() 83 value |= (tam << TAM_SHIFT) & TAM_BIT; in write_cptr_el3_tam() 138 uint64_t value = read_amcntenset0_el0(); in write_amcntenset0_el0_px() local 140 value &= ~AMCNTENSET0_EL0_Pn_MASK; in write_amcntenset0_el0_px() 143 write_amcntenset0_el0(value); in write_amcntenset0_el0_px() 150 value &= ~AMCNTENSET1_EL0_Pn_MASK; in write_amcntenset1_el0_px() 153 write_amcntenset1_el0(value); in write_amcntenset1_el0_px() 160 value &= ~AMCNTENCLR0_EL0_Pn_MASK; in write_amcntenclr0_el0_px() 163 write_amcntenclr0_el0(value); in write_amcntenclr0_el0_px() 170 value &= ~AMCNTENCLR1_EL0_Pn_MASK; in write_amcntenclr1_el0_px() [all …]
|
/trusted-firmware-a/plat/hisilicon/hikey/ |
A D | hikey_ddr.c | 1224 uint32_t value; in lpddrx_save_ddl_para_bypass() local 1242 uint32_t value; in lpddrx_save_ddl_para_mission() local 1247 ddr_ddl_para[cnt++] = value; in lpddrx_save_ddl_para_mission() 1249 ddr_ddl_para[cnt++] = value; in lpddrx_save_ddl_para_mission() 1251 ddr_ddl_para[cnt++] = value; in lpddrx_save_ddl_para_mission() 1253 ddr_ddl_para[cnt++] = value; in lpddrx_save_ddl_para_mission() 1255 ddr_ddl_para[cnt++] = value; in lpddrx_save_ddl_para_mission() 1257 ddr_ddl_para[cnt++] = value; in lpddrx_save_ddl_para_mission() 1289 ddr_ddl_para[cnt++] = value; in lpddrx_save_ddl_para_mission() 1291 ddr_ddl_para[cnt++] = value; in lpddrx_save_ddl_para_mission() [all …]
|
/trusted-firmware-a/include/lib/ |
A D | mmio.h | 12 static inline void mmio_write_8(uintptr_t addr, uint8_t value) in mmio_write_8() argument 14 *(volatile uint8_t*)addr = value; in mmio_write_8() 22 static inline void mmio_write_16(uintptr_t addr, uint16_t value) in mmio_write_16() argument 24 *(volatile uint16_t*)addr = value; in mmio_write_16() 39 static inline void mmio_write_32(uintptr_t addr, uint32_t value) in mmio_write_32() argument 41 *(volatile uint32_t*)addr = value; in mmio_write_32() 49 static inline void mmio_write_64(uintptr_t addr, uint64_t value) in mmio_write_64() argument 51 *(volatile uint64_t*)addr = value; in mmio_write_64()
|
A D | utils_def.h | 98 #define round_boundary(value, boundary) \ argument 99 ((__typeof__(value))((boundary) - 1)) 101 #define round_up(value, boundary) \ argument 102 ((((value) - 1) | round_boundary(value, boundary)) + 1) 104 #define round_down(value, boundary) \ argument 105 ((value) & ~round_boundary(value, boundary))
|
/trusted-firmware-a/lib/compiler-rt/builtins/ |
A D | int_lib.h | 91 uint32_t __inline __builtin_ctz(uint32_t value) { in __builtin_ctz() argument 93 if (_BitScanForward(&trailing_zero, value)) in __builtin_ctz() 98 uint32_t __inline __builtin_clz(uint32_t value) { in __builtin_clz() argument 100 if (_BitScanReverse(&leading_zero, value)) in __builtin_clz() 106 uint32_t __inline __builtin_clzll(uint64_t value) { in __builtin_clzll() argument 108 if (_BitScanReverse64(&leading_zero, value)) in __builtin_clzll() 113 uint32_t __inline __builtin_clzll(uint64_t value) { in __builtin_clzll() argument 114 if (value == 0) in __builtin_clzll() 116 uint32_t msh = (uint32_t)(value >> 32); in __builtin_clzll() 117 uint32_t lsh = (uint32_t)(value & 0xFFFFFFFF); in __builtin_clzll()
|
/trusted-firmware-a/drivers/st/bsec/ |
A D | bsec.c | 182 uint32_t value; in bsec_set_config() local 227 uint32_t value; in bsec_get_config() local 585 if ((bank_value & otp_mask) == value) { in bsec_write_sr_lock() 590 if (value != 0U) { in bsec_write_sr_lock() 594 if (value != 0U) { in bsec_write_sr_lock() 646 if ((bank_value & otp_mask) == value) { in bsec_write_sw_lock() 651 if (value != 0U) { in bsec_write_sw_lock() 655 if (value != 0U) { in bsec_write_sw_lock() 707 if ((bank_value & otp_mask) == value) { in bsec_write_sp_lock() 712 if (value != 0U) { in bsec_write_sp_lock() [all …]
|
/trusted-firmware-a/plat/brcm/board/stingray/include/ |
A D | scp_utils.h | 22 #define SCP_WRITE_CFG(cfg, value) mmio_write_32(CRMU_CFG_BASE + \ argument 23 offsetof(M0CFG, cfg), value) 27 #define SCP_WRITE_CFG16(cfg, value) mmio_write_16(CRMU_CFG_BASE + \ argument 28 offsetof(M0CFG, cfg), value) 32 #define SCP_WRITE_CFG8(cfg, value) mmio_write_8(CRMU_CFG_BASE + \ argument 33 offsetof(M0CFG, cfg), value)
|
/trusted-firmware-a/drivers/arm/sp805/ |
A D | sp805.c | 14 static inline void sp805_write_wdog_load(uintptr_t base, uint32_t value) in sp805_write_wdog_load() argument 16 mmio_write_32(base + SP805_WDOG_LOAD_OFF, value); in sp805_write_wdog_load() 19 static inline void sp805_write_wdog_ctrl(uintptr_t base, uint32_t value) in sp805_write_wdog_ctrl() argument 21 mmio_write_32(base + SP805_WDOG_CTR_OFF, value); in sp805_write_wdog_ctrl() 24 static inline void sp805_write_wdog_lock(uintptr_t base, uint32_t value) in sp805_write_wdog_lock() argument 26 mmio_write_32(base + SP805_WDOG_LOCK_OFF, value); in sp805_write_wdog_lock()
|
/trusted-firmware-a/plat/xilinx/versal/pm_service/ |
A D | pm_svc_main.c | 261 uint32_t value = 0; in pm_smc_handler() local 264 SMC_RET1(handle, (uint64_t)ret | ((uint64_t)value) << 32); in pm_smc_handler() 274 uint32_t value; in pm_smc_handler() local 278 SMC_RET1(handle, (uint64_t)ret | ((uint64_t)value) << 32); in pm_smc_handler() 288 uint32_t value; in pm_smc_handler() local 291 pm_arg[3], &value, security_flag); in pm_smc_handler() 316 uint32_t value; in pm_smc_handler() local 328 uint32_t value; in pm_smc_handler() local 340 uint32_t value; in pm_smc_handler() local 362 uint32_t value; in pm_smc_handler() local [all …]
|
/trusted-firmware-a/common/ |
A D | fdt_wrappers.c | 27 unsigned int cells, uint32_t *value) in fdt_read_uint32_array() argument 34 assert(value != NULL); in fdt_read_uint32_array() 51 value[i] = fdt32_to_cpu(prop[i]); in fdt_read_uint32_array() 58 uint32_t *value) in fdt_read_uint32() argument 77 uint64_t *value) in fdt_read_uint64() argument 104 assert(value != NULL); in fdtw_read_bytes() 121 (void)memcpy(value, ptr, length); in fdtw_read_bytes() 196 unsigned int cells, void *value) in fdtw_write_inplace_cells() argument 202 assert(value != NULL); in fdtw_write_inplace_cells() 209 *(uint64_t *)value = cpu_to_fdt64(*(uint64_t *)value); in fdtw_write_inplace_cells() [all …]
|
/trusted-firmware-a/docs/build/TF-A_2.5/_static/ |
A D | underscore-1.13.1.js | 204 return value; 672 return isUndefined(value) ? defaultValue : value; 691 return value; 740 if (isObject(value) && !isArray(value)) return matcher(value); 1040 if (isArrayLike(value) && (isArray(value) || isArguments$1(value))) { 1391 if (predicate(value, index, list)) results.push(value); 1474 if (value != null && value > result) { 1499 if (value != null && value < result) { 1549 value: value, 1642 if (iteratee(value, key, obj)) result[key] = value; [all …]
|
/trusted-firmware-a/drivers/arm/sbsa/ |
A D | sbsa.c | 13 void sbsa_watchdog_offset_reg_write(uintptr_t base, uint64_t value) in sbsa_watchdog_offset_reg_write() argument 15 assert((value >> SBSA_WDOG_WOR_WIDTH) == 0); in sbsa_watchdog_offset_reg_write() 17 ((uint32_t)value & UINT32_MAX)); in sbsa_watchdog_offset_reg_write() 18 mmio_write_32(base + SBSA_WDOG_WOR_HIGH_OFFSET, (uint32_t)(value >> 32)); in sbsa_watchdog_offset_reg_write()
|
/trusted-firmware-a/lib/mpmm/ |
A D | mpmm.c | 27 uint64_t value = read_cpumpmmcr_el3(); in write_cpumpmmcr_el3_mpmm_en() local 29 value &= ~(CPUMPMMCR_EL3_MPMM_EN_MASK << CPUMPMMCR_EL3_MPMM_EN_SHIFT); in write_cpumpmmcr_el3_mpmm_en() 30 value |= (mpmm_en & CPUMPMMCR_EL3_MPMM_EN_MASK) << in write_cpumpmmcr_el3_mpmm_en() 33 write_cpumpmmcr_el3(value); in write_cpumpmmcr_el3_mpmm_en()
|
/trusted-firmware-a/drivers/renesas/common/emmc/ |
A D | emmc_utility.c | 81 uint32_t value; in emmc_bit_field() local 87 value = data[index_top]; in emmc_bit_field() 89 value = in emmc_bit_field() 92 value = in emmc_bit_field() 97 value = in emmc_bit_field() 104 value = ((value >> (bottom & 0x07)) & ((1 << (top - bottom + 1)) - 1)); in emmc_bit_field() 106 return value; in emmc_bit_field()
|
/trusted-firmware-a/include/common/ |
A D | fdt_wrappers.h | 18 uint32_t *value); 22 uint64_t *value); 24 unsigned int cells, uint32_t *value); 30 unsigned int cells, void *value); 32 unsigned int length, void *value);
|