/tf-a-ffa_el3_spmc/plat/brcm/board/stingray/src/ |
A D | fsx.c | 231 v = 0xffffffff; in fsx_init() 254 v = 0x0; in fsx_init() 258 v = 0x0; in fsx_init() 262 v = 0x0; in fsx_init() 269 v = 0x0; in fsx_init() 277 v = 0; in fsx_init() 289 v = 0x0; in fsx_init() 342 v = 0; in fsx_init() 352 v = 0; in fsx_init() 358 v = 0; in fsx_init() [all …]
|
/tf-a-ffa_el3_spmc/lib/extensions/spe/ |
A D | spe.c | 33 uint64_t v; in spe_enable() local 47 v = read_mdcr_el2(); in spe_enable() 48 v &= ~MDCR_EL2_TPMS; in spe_enable() 50 write_mdcr_el2(v); in spe_enable() 58 v = read_mdcr_el3(); in spe_enable() 59 v |= MDCR_NSPB(MDCR_NSPB_EL1); in spe_enable() 60 write_mdcr_el3(v); in spe_enable() 65 uint64_t v; in spe_disable() local 75 v = read_pmblimitr_el1(); in spe_disable() 76 v &= ~(1ULL << 0); in spe_disable() [all …]
|
/tf-a-ffa_el3_spmc/include/drivers/nxp/dcfg/ |
A D | scfg.h | 42 #define scfg_out32(a, v) mmio_write_32((uintptr_t)(a), bswap32(v)) argument 43 #define scfg_setbits32(a, v) mmio_setbits_32((uintptr_t)(a), v) argument 44 #define scfg_clrbits32(a, v) mmio_clrbits_32((uintptr_t)(a), v) argument 49 #define scfg_out32(a, v) mmio_write_32((uintptr_t)(a), v) argument 50 #define scfg_setbits32(a, v) mmio_setbits_32((uintptr_t)(a), v) argument 51 #define scfg_clrbits32(a, v) mmio_clrbits_32((uintptr_t)(a), v) argument
|
A D | dcfg.h | 21 #define gur_out32(a, v) mmio_write_32((uintptr_t)(a), bswap32(v)) argument 24 #define gur_out32(a, v) mmio_write_32((uintptr_t)(a), v) argument
|
/tf-a-ffa_el3_spmc/drivers/amlogic/crypto/ |
A D | sha_dma.c | 24 #define ASD_DESC_SET(x, v, msk, off) \ argument 31 #define ASD_DESC_LEN_SET(d, v) \ argument 38 #define ASD_DESC_IRQ_SET(d, v) \ argument 45 #define ASD_DESC_EOD_SET(d, v) \ argument 52 #define ASD_DESC_LOOP_SET(d, v) \ argument 59 #define ASD_DESC_MODE_SET(d, v) \ argument 66 #define ASD_DESC_BEGIN_SET(d, v) \ argument 73 #define ASD_DESC_END_SET(d, v) \ argument 80 #define ASD_DESC_OP_SET(d, v) \ argument 101 #define ASD_DESC_ERR_SET(d, v) \ argument [all …]
|
/tf-a-ffa_el3_spmc/plat/mediatek/mt8195/drivers/ptp3/ |
A D | mtk_ptp3_main.c | 84 unsigned long v = 0; in pdp_proc_ARM_write() local 87 __asm__ volatile ("mrs %0, S3_6_C15_C2_0" : "=r" (v)); in pdp_proc_ARM_write() 88 v |= (UL(0x0) << 52); in pdp_proc_ARM_write() 89 v |= (UL(0x1) << 53); in pdp_proc_ARM_write() 90 v |= (UL(0x0) << 54); in pdp_proc_ARM_write() 91 v |= (UL(0x0) << 48); in pdp_proc_ARM_write() 92 v |= (UL(0x1) << 49); in pdp_proc_ARM_write() 107 unsigned long v = 0; in dt_proc_ARM_write() local 110 __asm__ volatile ("mrs %0, S3_6_C15_C2_0" : "=r" (v)); in dt_proc_ARM_write() 111 v |= (UL(0x0) << 33); in dt_proc_ARM_write() [all …]
|
/tf-a-ffa_el3_spmc/include/drivers/nxp/ddr/ |
A D | ddr_io.h | 24 #define ddr_out32(a, v) mmio_write_32((uintptr_t)(a),\ argument 25 bswap32(v)) 28 #define ddr_out32(a, v) mmio_write_32((uintptr_t)(a), v) argument 33 #define ddr_setbits32(a, v) ddr_out32((a), ddr_in32(a) | (v)) argument 34 #define ddr_clrbits32(a, v) ddr_out32((a), ddr_in32(a) & ~(v)) argument
|
/tf-a-ffa_el3_spmc/include/arch/aarch32/ |
A D | arch_helpers.h | 23 static inline void write_## _name(u_register_t v) \ 31 u_register_t v; \ 33 return v; \ 49 { uint64_t v; \ 51 return v; \ 57 u_register_t v; \ 59 return v; \ 112 u_register_t v = 0; \ 119 u_register_t v = 0; \ 145 static inline void dc##_op(u_register_t v) \ [all …]
|
/tf-a-ffa_el3_spmc/include/drivers/nxp/qspi/ |
A D | qspi.h | 19 #define qspi_out32(a, v) mmio_write_32((uintptr_t)(a), bswap32(v)) argument 22 #define qspi_out32(a, v) mmio_write_32((uintptr_t)(a), (v)) argument
|
/tf-a-ffa_el3_spmc/include/drivers/nxp/gpio/ |
A D | nxp_gpio.h | 33 #define gpio_write32(a, v) mmio_write_32((uintptr_t)(a), bswap32(v)) argument 36 #define gpio_write32(a, v) mmio_write_32((uintptr_t)(a), (v)) argument
|
/tf-a-ffa_el3_spmc/include/lib/libc/aarch32/ |
A D | endian_.h | 92 __bswap32_var(uint32_t v) in __bswap32_var() argument 100 : "+r" (v), "=r" (t1)); in __bswap32_var() 102 return (v); in __bswap32_var() 106 __bswap16_var(uint16_t v) in __bswap16_var() argument 108 uint32_t ret = v & 0xffff; in __bswap16_var()
|
/tf-a-ffa_el3_spmc/include/drivers/nxp/crypto/caam/ |
A D | caam_io.h | 27 #define sec_out32(a, v) mmio_write_32((uintptr_t)(a), bswap32(v)) argument 36 #define sec_out32(a, v) mmio_write_32((uintptr_t)(a), (v)) argument
|
/tf-a-ffa_el3_spmc/include/drivers/nxp/sec_mon/ |
A D | snvs.h | 28 #define snvs_write32(a, v) mmio_write_32((uintptr_t)(a), bswap32((v))) argument 31 #define snvs_write32(a, v) mmio_write_32((uintptr_t)(a), (v)) argument
|
/tf-a-ffa_el3_spmc/include/lib/ |
A D | utils.h | 84 u_register_t v; \ 85 __asm__ volatile ("ldr %0, =" #_name : "=r" (v) : "X" (#_name));\ 86 return v; \
|
/tf-a-ffa_el3_spmc/include/lib/libc/aarch64/ |
A D | endian_.h | 80 __bswap32_var(uint32_t v) in __bswap32_var() argument 85 : "=&r" (ret), "+r" (v)); in __bswap32_var() 91 __bswap16_var(uint16_t v) in __bswap16_var() argument 96 : "=&r" (ret), "+r" (v)); in __bswap16_var()
|
/tf-a-ffa_el3_spmc/include/drivers/nxp/sfp/ |
A D | sfp.h | 92 #define sfp_write32(a, v) mmio_write_32((uintptr_t)(a), bswap32(v)) argument 95 #define sfp_write32(a, v) mmio_write_32((uintptr_t)(a), (v)) argument
|
/tf-a-ffa_el3_spmc/include/arch/aarch64/ |
A D | arch_helpers.h | 25 u_register_t v; \ 27 return v; \ 36 #define SYSREG_WRITE_CONST(reg_name, v) \ argument 74 static inline void _op(uint64_t v) \ 76 __asm__ (#_op " %0" : : "r" (v)); \ 88 static inline void _op ## _type(uint64_t v) \ 90 __asm__ (#_op " " #_type ", %0" : : "r" (v)); \ 117 static inline void tlbi ## _type(uint64_t v) \ 121 "tlbi " #_type ", %0" : : "r" (v)); \ 131 static inline void dc ## _name(uint64_t v) \ [all …]
|
/tf-a-ffa_el3_spmc/lib/extensions/amu/aarch64/ |
A D | amu.c | 51 uint64_t v; in amu_enable() local 85 v = read_cptr_el2(); in amu_enable() 86 v &= ~CPTR_EL2_TAM_BIT; in amu_enable() 87 write_cptr_el2(v); in amu_enable() 95 v = read_ctx_reg(get_el3state_ctx(ctx), CTX_CPTR_EL3); in amu_enable() 96 v &= ~TAM_BIT; in amu_enable() 97 write_ctx_reg(get_el3state_ctx(ctx), CTX_CPTR_EL3, v); in amu_enable()
|
/tf-a-ffa_el3_spmc/plat/rockchip/rk3399/drivers/m0/include/ |
A D | rk3399_mcu.h | 16 #define mmio_write_32(c, v) ((*(volatile unsigned int *)(c)) = (v)) argument
|
/tf-a-ffa_el3_spmc/include/drivers/nxp/i2c/ |
A D | i2c.h | 33 #define i2c_out(a, v) mmio_write_8((uintptr_t)(a), (v)) argument
|
/tf-a-ffa_el3_spmc/drivers/renesas/common/emmc/ |
A D | emmc_std.h | 20 #define SETR_64(r, v) (*(volatile uint64_t *)(r) = (v)) argument 24 #define SETR_32(r, v) (*(volatile uint32_t *)(r) = (v)) argument 28 #define SETR_16(r, v) (*(volatile uint16_t *)(r) = (v)) argument 32 #define SETR_8(r, v) (*(volatile uint8_t *)(r) = (v)) argument
|
/tf-a-ffa_el3_spmc/lib/extensions/amu/aarch32/ |
A D | amu.c | 77 uint64_t v; in amu_enable() local 82 v = read_hcptr(); in amu_enable() 83 v &= ~TAM_BIT; in amu_enable() 84 write_hcptr(v); in amu_enable()
|
/tf-a-ffa_el3_spmc/docs/plat/ |
A D | xilinx-zynqmp.rst | 67 v v v v
|
/tf-a-ffa_el3_spmc/docs/design/ |
A D | psci-pd-tree.rst | 105 v v v v v v v v v v v v v 272 CPU12 | 6 | v 294 +-------------+ v
|
/tf-a-ffa_el3_spmc/plat/amlogic/gxl/ |
A D | gxl_def.h | 97 #define AML_AO_RTI_SCP_IS_READY(v) \ argument 98 ((((v) >> AML_AO_RTI_SCP_READY_OFF) & \
|