| /rk3399_ARM-atf/include/drivers/nxp/ddr/ |
| H 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
|
| /rk3399_ARM-atf/include/drivers/nxp/dcfg/ |
| H A D | scfg.h | 47 #define scfg_in32(a) bswap32(mmio_read_32((uintptr_t)(a))) argument 48 #define scfg_out32(a, v) mmio_write_32((uintptr_t)(a), bswap32(v)) argument 49 #define scfg_setbits32(a, v) mmio_setbits_32((uintptr_t)(a), v) argument 50 #define scfg_clrbits32(a, v) mmio_clrbits_32((uintptr_t)(a), v) argument 51 #define scfg_clrsetbits32(a, clear, set) \ argument 52 mmio_clrsetbits_32((uintptr_t)(a), clear, set) 54 #define scfg_in32(a) mmio_read_32((uintptr_t)(a)) argument 55 #define scfg_out32(a, v) mmio_write_32((uintptr_t)(a), v) argument 56 #define scfg_setbits32(a, v) mmio_setbits_32((uintptr_t)(a), v) argument 57 #define scfg_clrbits32(a, v) mmio_clrbits_32((uintptr_t)(a), v) argument [all …]
|
| H 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
|
| /rk3399_ARM-atf/lib/libc/ |
| H A D | qsort.c | 49 #define MIN(a, b) ((a) < (b) ? a : b) argument 56 swapfunc(char *a, char *b, size_t es) in swapfunc() argument 61 t = *a; in swapfunc() 62 *a++ = *b; in swapfunc() 67 #define vecswap(a, b, n) \ argument 68 if ((n) > 0) swapfunc(a, b, n) 81 med3(char *a, char *b, char *c, cmp_t *cmp, void *thunk in med3() argument 87 return CMP(thunk, a, b) < 0 ? in med3() 88 (CMP(thunk, b, c) < 0 ? b : (CMP(thunk, a, c) < 0 ? c : a )) in med3() 89 :(CMP(thunk, b, c) > 0 ? b : (CMP(thunk, a, c) < 0 ? a : c )); in med3() [all …]
|
| /rk3399_ARM-atf/lib/zlib/ |
| H A D | adler32.c | 25 # define CHOP(a) \ argument 27 unsigned long tmp = a >> 16; \ 28 a &= 0xffffUL; \ 29 a += (tmp << 4) - tmp; \ 31 # define MOD28(a) \ argument 33 CHOP(a); \ 34 if (a >= BASE) a -= BASE; \ 36 # define MOD(a) \ argument 38 CHOP(a); \ 39 MOD28(a); \ [all …]
|
| /rk3399_ARM-atf/services/std_svc/drtm/ |
| H A D | drtm_main.h | 17 #define ALIGNED_UP(x, a) __extension__ ({ \ argument 18 __typeof__(a) _a = (a); \ 19 __typeof__(a) _one = 1; \ 24 #define ALIGNED_DOWN(x, a) __extension__ ({ \ argument 25 __typeof__(a) _a = (a); \ 26 __typeof__(a) _one = 1; \ 34 #define DL_ARGS_GET_DMA_PROT_TYPE(a) (((a)->features >> 3) & 0x7U) argument 35 #define DL_ARGS_GET_PCR_SCHEMA(a) (((a)->features >> 1) & 0x3U) argument 36 #define DL_ARGS_GET_DLME_ENTRY_POINT(a) \ argument 37 (((a)->dlme_paddr + (a)->dlme_img_off + (a)->dlme_img_ep_off))
|
| /rk3399_ARM-atf/include/drivers/nxp/qspi/ |
| H 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
|
| /rk3399_ARM-atf/tools/conventional-changelog-tf-a/templates/ |
| H A D | note-section.hbs | 5 {{#tf-a-mdlist 0}}{{> tf-a-note root=@root showScope=../topLevel }}{{/tf-a-mdlist}} 11 …{{#tf-a-mdlist 0}}{{> tf-a-note-section root=@root header=(tf-a-concat "**" title "**") }}{{/tf-a-…
|
| H A D | template.hbs | 3 {{#each (tf-a-notes noteGroups) ~}} 4 {{> tf-a-note-section root=@root header=(tf-a-concat "### ⚠ " title) topLevel=true }} 7 {{#each (tf-a-commits commitGroups) ~}} 8 {{> tf-a-commit-section root=@root header=(tf-a-concat "### " title) topLevel=true }}
|
| H A D | commit-section.hbs | 6 {{#tf-a-mdlist 0}}{{> commit root=@root showScope=../topLevel }}{{/tf-a-mdlist ~}} 13 …{{#tf-a-mdlist 0}}{{> tf-a-commit-section root=@root header=(tf-a-concat "**" title "**") }}{{/tf-…
|
| /rk3399_ARM-atf/drivers/renesas/rzg/board/ |
| H 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
|
| /rk3399_ARM-atf/docs/ |
| H A D | change-log.md | 3 This document contains a summary of the new features, changes, fixes and known 6 ## [2.14.0](https://review.trustedfirmware.org/plugins/gitiles/TF-A/trusted-firmware-a/+/refs/tags/… 18 …9](https://review.trustedfirmware.org/plugins/gitiles/TF-A/trusted-firmware-a/+/c55b519ed87997f813… 20 - Zeroes or forwards a different set of registers, 22 E.g. a call from a v1.1 caller to a v1.2 destination will zero 26 …c](https://review.trustedfirmware.org/plugins/gitiles/TF-A/trusted-firmware-a/+/bb9fc8c0bbf5f68f74… 35 …3](https://review.trustedfirmware.org/plugins/gitiles/TF-A/trusted-firmware-a/+/3ff7523883adb4ddc9… 37 - LibTL is now included in TF-A as a submodule. 41 …0](https://review.trustedfirmware.org/plugins/gitiles/TF-A/trusted-firmware-a/+/b5d0740e14f428f2c5… 47 - LibEventLog is now included in TF-A as a submodule. [all …]
|
| /rk3399_ARM-atf/include/drivers/nxp/gpio/ |
| H 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
|
| /rk3399_ARM-atf/drivers/renesas/rcar/board/ |
| H 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
|
| /rk3399_ARM-atf/tools/nxp/create_pbl/ |
| H A D | create_pbl.mk | 16 SOC_NUM := 1046a 20 SOC_NUM := 1043a 24 SOC_NUM := 1012a 28 SOC_NUM := 1088a 31 SOC_NUM := 2088a 34 SOC_NUM := 2160a 37 SOC_NUM := 1028a
|
| /rk3399_ARM-atf/include/drivers/nxp/sec_mon/ |
| H 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
|
| /rk3399_ARM-atf/include/drivers/nxp/crypto/caam/ |
| H 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
|
| /rk3399_ARM-atf/docs/components/ |
| H A D | debugfs-design.rst | 11 higher SW layers such as a non-secure component. Such component can be the 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 44 - stat(): get information about a file (type, mode, size, ...). 57 - mount(): create a link between a driver and spec. 58 - create(): create a file in a specific location. [all …]
|
| /rk3399_ARM-atf/plat/rockchip/rk3399/drivers/m0/include/ |
| H 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
|
| /rk3399_ARM-atf/lib/compiler-rt/builtins/ |
| H A D | int_lib.h | 47 #define STR(a) #a argument 48 #define XSTR(a) STR(a) argument 104 COMPILER_RT_ABI int __paritysi2(si_int a); 105 COMPILER_RT_ABI int __paritydi2(di_int a); 107 COMPILER_RT_ABI di_int __divdi3(di_int a, di_int b); 108 COMPILER_RT_ABI si_int __divsi3(si_int a, si_int b); 111 COMPILER_RT_ABI su_int __udivmodsi4(su_int a, su_int b, su_int *rem); 112 COMPILER_RT_ABI du_int __udivmoddi4(du_int a, du_int b, du_int *rem); 114 COMPILER_RT_ABI int __clzti2(ti_int a); 115 COMPILER_RT_ABI tu_int __udivmodti4(tu_int a, tu_int b, tu_int *rem);
|
| H A D | divmoddi4.c | 17 COMPILER_RT_ABI di_int __divmoddi4(di_int a, di_int b, di_int *rem) { in __divmoddi4() argument 19 di_int s_a = a >> bits_in_dword_m1; // s_a = a < 0 ? -1 : 0 in __divmoddi4() 21 a = (du_int)(a ^ s_a) - s_a; // negate if s_a == -1 in __divmoddi4() 25 di_int q = (__udivmoddi4(a, b, &r) ^ s_b) - s_b; // negate if s_b == -1 in __divmoddi4()
|
| H A D | divdi3.c | 19 #define COMPUTE_UDIV(a, b) __udivmoddi4((a), (b), (du_int *)0) argument 22 COMPILER_RT_ABI di_int __divdi3(di_int a, di_int b) { return __divXi3(a, b); } in __divdi3() argument
|
| /rk3399_ARM-atf/include/drivers/nxp/sfp/ |
| H 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
|
| /rk3399_ARM-atf/docs/design/ |
| H A D | console-framework.rst | 8 The console framework supports a number of different UARTs, it is highly likely 9 that the driver of the UART that is needed is already implemented. If not, a driver 29 already been written before writing a new one. 40 The console framework supports multiple consoles. Multiple instances of a UART 41 can be registered at any given moment. Any registered console can have a single 46 event of a crash. Similarly, a console with all three scopes will display any and 52 * Having a single console for both Runtime and Boot messages 53 * Having no runtime console at all and just having a single Boot console. 54 * Having a separate console for crash reporting when debugging. 56 .. Registering a console: [all …]
|
| /rk3399_ARM-atf/docs/tools/ |
| H A D | memory-layout-tool.rst | 4 TF-A's memory layout tool is a Python script for analyzing the virtual 37 The tool can be used to generate a visualisation of the symbol table. By 107 Because of the length of many of the symbols, the tool defaults to a text width 121 generate a table (per memory type), showing memory allocation and usage. This is 235 The tool provides a by-translation-unit summary of the sizes (``text``, ``bss``, 237 For example, to print a table of an FVP build, with a path depth of 3: 325 | lib/libc.a/assert.o | 48(+48) | 0(+0) | 0(+0) | 326 | lib/libc.a/exit.o | 64(+64) | 0(+0) | 8(+8) | 327 | lib/libc.a/memchr.o | 44(+44) | 0(+0) | 0(+0) | 328 | lib/libc.a/memcmp.o | 52(+52) | 0(+0) | 0(+0) | [all …]
|