/tf-a-ffa_el3_spmc/include/drivers/nxp/ddr/ |
A D | ddr_io.h | 15 #define min(a, b) (((a) > (b)) ? (b) : (a)) argument 17 #define max(a, b) (((a) > (b)) ? (a) : (b)) argument 23 #define ddr_in32(a) bswap32(mmio_read_32((uintptr_t)(a))) argument 24 #define ddr_out32(a, v) mmio_write_32((uintptr_t)(a),\ argument 27 #define ddr_in32(a) mmio_read_32((uintptr_t)(a)) argument 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 35 #define ddr_clrsetbits32(a, c, s) ddr_out32((a), (ddr_in32(a) & ~(c)) \ argument
|
/tf-a-ffa_el3_spmc/include/drivers/nxp/dcfg/ |
A D | scfg.h | 41 #define scfg_in32(a) bswap32(mmio_read_32((uintptr_t)(a))) argument 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 45 #define scfg_clrsetbits32(a, clear, set) \ argument 46 mmio_clrsetbits_32((uintptr_t)(a), clear, set) 48 #define scfg_in32(a) mmio_read_32((uintptr_t)(a)) 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 [all …]
|
A D | dcfg.h | 20 #define gur_in32(a) bswap32(mmio_read_32((uintptr_t)(a))) argument 21 #define gur_out32(a, v) mmio_write_32((uintptr_t)(a), bswap32(v)) argument 23 #define gur_in32(a) mmio_read_32((uintptr_t)(a)) argument 24 #define gur_out32(a, v) mmio_write_32((uintptr_t)(a), v) argument
|
/tf-a-ffa_el3_spmc/lib/zlib/ |
A D | adler32.c | 27 # define CHOP(a) \ argument 33 # define MOD28(a) \ argument 35 CHOP(a); \ 36 if (a >= BASE) a -= BASE; \ 38 # define MOD(a) \ argument 40 CHOP(a); \ 41 MOD28(a); \ 54 if (a >= BASE) a -= BASE; \ 57 # define MOD(a) a %= BASE argument 58 # define MOD28(a) a %= BASE argument [all …]
|
/tf-a-ffa_el3_spmc/include/drivers/nxp/qspi/ |
A D | qspi.h | 18 #define qspi_in32(a) bswap32(mmio_read_32((uintptr_t)(a))) argument 19 #define qspi_out32(a, v) mmio_write_32((uintptr_t)(a), bswap32(v)) argument 21 #define qspi_in32(a) mmio_read_32((uintptr_t)(a)) argument 22 #define qspi_out32(a, v) mmio_write_32((uintptr_t)(a), (v)) argument
|
/tf-a-ffa_el3_spmc/include/drivers/arm/cryptocell/713/ |
A D | cc_pal_types.h | 51 #define CC_MIN(a,b) min( a , b ) argument 54 #define CC_MIN( a , b ) ( ( (a) < (b) ) ? (a) : (b) ) argument 59 #define CC_MAX(a,b) max( a , b ) argument 62 #define CC_MAX( a , b ) ( ( (a) > (b) ) ? (a) : (b) ) argument
|
/tf-a-ffa_el3_spmc/drivers/renesas/rzg/board/ |
A D | board.h | 27 #define GET_BOARD_MAJOR(a) ((uint32_t)(a) >> 0x4) argument 28 #define GET_BOARD_MINOR(a) ((uint32_t)(a) & 0xF) argument 29 #define GET_BOARD_NAME(a) (g_board_tbl[(a)]) argument
|
/tf-a-ffa_el3_spmc/drivers/renesas/rcar/board/ |
A D | board.h | 31 #define GET_BOARD_MAJOR(a) ((uint32_t)(a) >> 0x4) argument 32 #define GET_BOARD_MINOR(a) ((uint32_t)(a) & 0xF) argument 33 #define GET_BOARD_NAME(a) (g_board_tbl[(a)]) argument
|
/tf-a-ffa_el3_spmc/include/drivers/nxp/gpio/ |
A D | nxp_gpio.h | 32 #define gpio_read32(a) bswap32(mmio_read_32((uintptr_t)(a))) argument 33 #define gpio_write32(a, v) mmio_write_32((uintptr_t)(a), bswap32(v)) argument 35 #define gpio_read32(a) mmio_read_32((uintptr_t)(a)) argument 36 #define gpio_write32(a, v) mmio_write_32((uintptr_t)(a), (v)) argument
|
/tf-a-ffa_el3_spmc/tools/nxp/create_pbl/ |
A D | create_pbl.mk | 15 SOC_NUM := 1046a 19 SOC_NUM := 1043a 23 SOC_NUM := 1012a 27 SOC_NUM := 1088a 30 SOC_NUM := 2088a 33 SOC_NUM := 2160a 36 SOC_NUM := 1028a
|
/tf-a-ffa_el3_spmc/include/drivers/nxp/crypto/caam/ |
A D | caam_io.h | 26 #define sec_in32(a) bswap32(mmio_read_32((uintptr_t)(a))) argument 27 #define sec_out32(a, v) mmio_write_32((uintptr_t)(a), bswap32(v)) argument 35 #define sec_in32(a) mmio_read_32((uintptr_t)(a)) 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 | 27 #define snvs_read32(a) bswap32(mmio_read_32((uintptr_t)(a))) argument 28 #define snvs_write32(a, v) mmio_write_32((uintptr_t)(a), bswap32((v))) argument 30 #define snvs_read32(a) mmio_read_32((uintptr_t)(a)) argument 31 #define snvs_write32(a, v) mmio_write_32((uintptr_t)(a), (v)) argument
|
/tf-a-ffa_el3_spmc/plat/rockchip/rk3399/drivers/m0/include/ |
A D | rk3399_mcu.h | 25 #define MIN(a, b) ((a) < (b) ? (a) : (b)) argument 26 #define MAX(a, b) ((a) > (b) ? (a) : (b)) argument
|
/tf-a-ffa_el3_spmc/lib/compiler-rt/builtins/ |
A D | divdi3.c | 20 __divdi3(di_int a, di_int b) in __divdi3() argument 23 di_int s_a = a >> bits_in_dword_m1; /* s_a = a < 0 ? -1 : 0 */ in __divdi3() 25 a = (a ^ s_a) - s_a; /* negate if s_a == -1 */ in __divdi3() 28 return (__udivmoddi4(a, b, (du_int*)0) ^ s_a) - s_a; /* negate if s_a == -1 */ in __divdi3()
|
A D | int_lib.h | 73 COMPILER_RT_ABI si_int __paritysi2(si_int a); 74 COMPILER_RT_ABI si_int __paritydi2(di_int a); 76 COMPILER_RT_ABI di_int __divdi3(di_int a, di_int b); 77 COMPILER_RT_ABI si_int __divsi3(si_int a, si_int b); 80 COMPILER_RT_ABI su_int __udivmodsi4(su_int a, su_int b, su_int* rem); 81 COMPILER_RT_ABI du_int __udivmoddi4(du_int a, du_int b, du_int* rem); 83 COMPILER_RT_ABI si_int __clzti2(ti_int a); 84 COMPILER_RT_ABI tu_int __udivmodti4(tu_int a, tu_int b, tu_int* rem);
|
A D | divmoddi4.c | 20 __divmoddi4(di_int a, di_int b, di_int* rem) in __divmoddi4() argument 22 di_int d = __divdi3(a,b); in __divmoddi4() 23 *rem = a - (d*b); in __divmoddi4()
|
A D | lshrdi3.c | 22 __lshrdi3(di_int a, si_int b) in __lshrdi3() argument 27 input.all = a; in __lshrdi3() 36 return a; in __lshrdi3() 44 AEABI_RTABI di_int __aeabi_llsr(di_int a, si_int b) COMPILER_RT_ALIAS(__lshrdi3);
|
/tf-a-ffa_el3_spmc/docs/components/ |
A D | debugfs-design.rst | 12 TFTF test payload or a Linux kernel module. 17 The core functionality lies in a virtual file system based on a 9p file server 37 - open(): create a file descriptor that acts as a handle to the file passed as 40 - read(): read from a file to a buffer. 41 - write(): write from a buffer to a file. 42 - seek(): set the file position indicator of a file descriptor either to a 57 - mount(): create a link between a driver and spec. 58 - create(): create a file in a specific location. 84 for a description of the SMC interface. 115 - a Linux kernel driver running at NS-EL1 [all …]
|
/tf-a-ffa_el3_spmc/include/drivers/nxp/sfp/ |
A D | sfp.h | 91 #define sfp_read32(a) bswap32(mmio_read_32((uintptr_t)(a))) argument 92 #define sfp_write32(a, v) mmio_write_32((uintptr_t)(a), bswap32(v)) argument 94 #define sfp_read32(a) mmio_read_32((uintptr_t)(a)) argument 95 #define sfp_write32(a, v) mmio_write_32((uintptr_t)(a), (v)) argument
|
/tf-a-ffa_el3_spmc/include/drivers/nxp/i2c/ |
A D | i2c.h | 32 #define i2c_in(a) mmio_read_8((uintptr_t)(a)) argument 33 #define i2c_out(a, v) mmio_write_8((uintptr_t)(a), (v)) argument
|
/tf-a-ffa_el3_spmc/docs/design/ |
A D | psci-pd-tree.rst | 11 requires a change in the code. 14 in a data structure. 26 over the sibling nodes at a particular level to find a specified power 34 a way which facilitates such a traversal. 41 Therefore, there is a need to implement the tree in a way which facilitates this 50 Describing a power domain tree 121 Removing assumptions about MPIDRs used in a platform 133 has been made a mandatory API as a result. 152 a core index should remain unchanged. Both Juno and FVP use a simple collision 163 #. Implement more complex logic to convert a valid MPIDR to a core index while [all …]
|
A D | alt-boot-flows.rst | 7 On a pre-production system, the ability to execute arbitrary, bare-metal code at 12 scratch, this is a complex task on some platforms, depending on the level of 15 Rather than booting a baremetal application, a possible compromise is to boot 17 boot flow, where a modified BL2 boots an EL3 payload, instead of loading the 21 - putting the system into a known architectural state; 45 The EL3 payload image is a standalone image and is not part of the FIP. It is 49 place. In this case, booting it is just a matter of specifying the right 57 moment for a debugger to take control of the target and load the payload (for 70 improve performance in a development environment. When secure world cold boot 71 is complete, TF-A simply jumps to a BL33 base address provided at build time. [all …]
|
/tf-a-ffa_el3_spmc/docs/plat/arm/arm_fpga/ |
A D | index.rst | 11 The FPGA platform requires to pass on a DTB for the non-secure payload 15 As a result this port is a fairly generic BL31-only port, which can serve 16 as a template for a minimal new (and possibly DT-based) platform port. 19 a single build. Image specific data must be described in the DTB or should 31 Normally TF-A panics if it encounters a MPID value not matched to its 32 internal list, but for new or experimental cores this creates a lot of 46 The DT gets amended by the code, to potentially add a command line and 53 put into the devicetree blob. Due to the lack of a proper bootloader, 54 a command line can be put somewhere into memory, so that BL31 will 88 you need at least a BL33 payload (typically a Linux kernel image), optionally [all …]
|
/tf-a-ffa_el3_spmc/docs/components/spd/ |
A D | trusty-dispatcher.rst | 4 Trusty is a a set of software components, supporting a Trusted Execution 14 Custom boot parameters can be passed to Trusty by providing a platform 23 function, but defines ``TSP_SEC_MEM_SIZE``, a default implementation 25 can be set to a platform specific parameter block, and ``args->arg2``
|
/tf-a-ffa_el3_spmc/docs/plat/ |
A D | meson-axg.rst | 4 The Amlogic Meson A113D is a SoC with a quad core Arm Cortex-A53 running at 5 ~1.2GHz. It also contains a Cortex-M3 used as SCP. 7 This port is a minimal implementation of BL31 capable of booting mainline U-Boot 12 can't be turned off, so there is a workaround to hide this from the caller. 23 This port has been tested on a A113D board. After building it, follow the
|