| /rk3399_ARM-atf/drivers/qti/accesscontrol/vmidmt/ |
| H A D | vmidmt_hal_hwio.h | 24 #define VMIDMT_SCR0_INM(b, m) in_dword_masked(VMIDMT_SCR0_ADDR(b), (m)) argument 26 #define VMIDMT_SCR0_OUTM(b, m, v) \ argument 27 out_dword_masked_ns(VMIDMT_SCR0_ADDR(b), (m), (v), VMIDMT_SCR0_IN(b)) 63 #define VMIDMT_CR0_INM(b, m) in_dword_masked(VMIDMT_CR0_ADDR(b), (m)) argument 65 #define VMIDMT_CR0_OUTM(b, m, v) \ argument 66 out_dword_masked_ns(VMIDMT_CR0_ADDR(b), (m), (v), VMIDMT_CR0_IN(b)) 101 #define VMIDMT_NSCR0_INM(b, m) in_dword_masked(VMIDMT_NSCR0_ADDR(b), (m)) argument 103 #define VMIDMT_NSCR0_OUTM(b, m, v) \ argument 104 out_dword_masked_ns(VMIDMT_NSCR0_ADDR(b), (m), (v), VMIDMT_NSCR0_IN(b)) 138 #define VMIDMT_SCR1_INM(b, m) in_dword_masked(VMIDMT_SCR1_ADDR(b), (m)) argument [all …]
|
| /rk3399_ARM-atf/plat/mediatek/mt8183/drivers/mcdi/ |
| H A D | mtk_mcdi.c | 57 uint32_t m; in mcdi_avail_cpu_mask_set() local 59 m = mcdi_mbox_read(MCDI_MBOX_AVAIL_CPU_MASK); in mcdi_avail_cpu_mask_set() 60 m |= mask; in mcdi_avail_cpu_mask_set() 61 mcdi_mbox_write(MCDI_MBOX_AVAIL_CPU_MASK, m); in mcdi_avail_cpu_mask_set() 63 return m; in mcdi_avail_cpu_mask_set() 68 uint32_t m; in mcdi_avail_cpu_mask_clr() local 70 m = mcdi_mbox_read(MCDI_MBOX_AVAIL_CPU_MASK); in mcdi_avail_cpu_mask_clr() 71 m &= ~mask; in mcdi_avail_cpu_mask_clr() 72 mcdi_mbox_write(MCDI_MBOX_AVAIL_CPU_MASK, m); in mcdi_avail_cpu_mask_clr() 74 return m; in mcdi_avail_cpu_mask_clr() [all …]
|
| /rk3399_ARM-atf/plat/hisilicon/hikey960/drivers/ipc/ |
| H A D | hisi_ipc.c | 20 #define IPC_MBX_SOURCE_REG(m) (IPC_BASE + ((m) << 6)) argument 21 #define IPC_MBX_DSET_REG(m) (IPC_BASE + ((m) << 6) + 0x04) argument 22 #define IPC_MBX_DCLEAR_REG(m) (IPC_BASE + ((m) << 6) + 0x08) argument 23 #define IPC_MBX_DSTATUS_REG(m) (IPC_BASE + ((m) << 6) + 0x0C) argument 24 #define IPC_MBX_MODE_REG(m) (IPC_BASE + ((m) << 6) + 0x10) argument 25 #define IPC_MBX_IMASK_REG(m) (IPC_BASE + ((m) << 6) + 0x14) argument 26 #define IPC_MBX_ICLR_REG(m) (IPC_BASE + ((m) << 6) + 0x18) argument 27 #define IPC_MBX_SEND_REG(m) (IPC_BASE + ((m) << 6) + 0x1C) argument 28 #define IPC_MBX_DATA_REG(m, d) (IPC_BASE + ((m) << 6) + 0x20 + \ argument 30 #define IPC_CPU_IMST_REG(m) (IPC_BASE + ((m) << 3)) argument
|
| /rk3399_ARM-atf/plat/imx/imx8ulp/include/ |
| H A D | scmi.h | 27 #define MSG_ID(m) ((m) & 0xff) argument 28 #define MSG_TYPE(m) (((m) >> 8) & 0x3) argument 29 #define MSG_PRO_ID(m) (((m) >> 10) & 0xff) argument 30 #define MSG_TOKEN(m) (((m) >> 18) & 0x3ff) argument
|
| /rk3399_ARM-atf/tools/cert_create/src/ |
| H A D | ext.c | 54 X509V3_EXT_METHOD *m; variable 97 m = &ext->method; 98 memset(m, 0x0, sizeof(X509V3_EXT_METHOD)); 101 m->it = ASN1_ITEM_ref(ASN1_INTEGER); 102 m->i2s = (X509V3_EXT_I2S)i2s_ASN1_INTEGER; 103 m->s2i = (X509V3_EXT_S2I)s2i_ASN1_INTEGER; 106 m->it = ASN1_ITEM_ref(ASN1_OCTET_STRING); 107 m->i2s = (X509V3_EXT_I2S)i2s_ASN1_OCTET_STRING; 108 m->s2i = (X509V3_EXT_S2I)s2i_ASN1_OCTET_STRING; 113 m->ext_nid = nid; [all …]
|
| /rk3399_ARM-atf/plat/mediatek/drivers/apusys/mt8196/ |
| H A D | apusys_security_ctrl_plat.c | 17 #define bits_clr(x, m, o) (x & (~(m << o))) argument 18 #define bits_set(x, v, m, o) ((bits_clr(x, m, o)) | ((v & m) << o)) argument
|
| /rk3399_ARM-atf/include/lib/libc/ |
| H A D | stddef.h | 25 #define offsetof(st, m) __builtin_offsetof(st, m) argument
|
| /rk3399_ARM-atf/ |
| H A D | .versionrc.cjs | 95 return contents.replace(/^(version\s=\s")((\d).?)*$/m, _ver) 116 contents = contents.replace(/^(version\s=\s")((\d).?)*$/m, _ver) 117 contents = contents.replace(/^(release\s=\s")((\d).?)*$/m, _rel) 130 const major = contents.match(/^VERSION_MAJOR\s*:=\s*(\d+?)$/m)[1]; 131 const minor = contents.match(/^VERSION_MINOR\s*:=\s*(\d+?)$/m)[1]; 132 const patch = contents.match(/^VERSION_PATCH\s*:=\s*(\d+?)$/m)[1]; 142 contents = contents.replace(/^(VERSION_MAJOR\s*:=\s*)(\d+?)$/m, `$1${major}`); 143 contents = contents.replace(/^(VERSION_MINOR\s*:=\s*)(\d+?)$/m, `$1${minor}`); 144 contents = contents.replace(/^(VERSION_PATCH\s*:=\s*)(\d+?)$/m, `$1${patch}`);
|
| H A D | .ctags | 2 --regex-Asm=/^.*\.macro[ \t]+([a-zA-Z_0-9]+)$/\1/m,macro/
|
| /rk3399_ARM-atf/plat/imx/imx8ulp/ |
| H A D | imx8ulp_psci.c | 41 #define PMIC_CFG(v, m, msk) \ argument 44 .mode = (m), \ 55 #define BIAS_CFG(m, n, p, mbias) \ argument 58 .mode = (m), \ 71 #define SWT_MEM(a, p, m) \ argument 75 .mask = (m), \
|
| /rk3399_ARM-atf/drivers/mentor/i2c/ |
| H A D | mi2cv.c | 245 unsigned int n, m, freq, margin, min_margin = 0xffffffff; in mentor_i2c_bus_speed_set() local 251 for (m = 0; m < 16; m++) { in mentor_i2c_bus_speed_set() 252 freq = CONFIG_SYS_TCLK / (10 * (m + 1) * (2 << n)); in mentor_i2c_bus_speed_set() 260 actual_m = m; in mentor_i2c_bus_speed_set()
|
| /rk3399_ARM-atf/plat/aspeed/ast2700/ |
| H A D | plat_bl31_setup.c | 130 uint16_t m : 13; /* bit[12:0] */ member 180 mul = (pll_reg.b.m) / ((pll_reg.b.n + 1)); in plat_get_pll_rate() 184 mul = (pll_reg.b.m + 1) / ((pll_reg.b.n + 1) * 2); in plat_get_pll_rate()
|
| /rk3399_ARM-atf/bl32/tsp/ |
| H A D | tsp_ffa_main.c | 110 struct ffa_mtd *m; in test_memory_send() local 134 if (!memory_retrieve(&mailbox, &m, handle, source, test_receivers, in test_memory_send() 141 ((uint8_t *) m + m->emad_offset); in test_memory_send() 181 composite = ffa_memory_region_get_composite(m, 0); in test_memory_send() 259 m->handle, tsp_id)) { in test_memory_send()
|
| H A D | ffa_helpers.c | 229 bool memory_relinquish(struct ffa_mem_relinquish_descriptor *m, uint64_t handle, in memory_relinquish() argument 232 ffa_mem_relinquish_init(m, handle, 0, id); in memory_relinquish()
|
| H A D | ffa_helpers.h | 92 bool memory_relinquish(struct ffa_mem_relinquish_descriptor *m, uint64_t handle,
|
| /rk3399_ARM-atf/drivers/qti/accesscontrol/xpu/ |
| H A D | xpu3.c | 180 const struct xpu_err_pos_to_hal_map *m; in xpu_print_log() local 185 m = &row[i]; in xpu_print_log() 187 if (!(m->bit_mask & mask)) in xpu_print_log() 190 if (m->xpu >= XPU_TYPE_COUNT) in xpu_print_log() 193 if (m->xpu == XPU_TYPE_NONE) in xpu_print_log() 196 dump_log(m->xpu, err_type); in xpu_print_log()
|
| /rk3399_ARM-atf/plat/imx/imx93/include/ |
| H A D | pwr_ctrl.h | 60 #define LPM_SETTING(d, m) ((m) << (((d) % 8) * 4)) argument
|
| /rk3399_ARM-atf/include/drivers/nxp/trdc/ |
| H A D | imx_trdc.h | 23 #define MDAC_W_X(m, r) (0x800 + (m) * 0x20 + (r) * 0x4) argument
|
| /rk3399_ARM-atf/docs/plat/arm/arm_fpga/ |
| H A D | index.rst | 93 …fpga-run ... -m bl31.axf -l auto -m Image -l 0x80080000 -m initrd.gz -l 0x84000000 -m cmdline.txt …
|
| /rk3399_ARM-atf/lib/zlib/ |
| H A D | zutil.c | 122 void ZLIB_INTERNAL z_error(char *m) { in z_error() argument 123 fprintf(stderr, "%s\n", m); in z_error()
|
| H A D | crc32.c | 157 z_crc_t m = (z_crc_t)1 << 31; in multmodp() local 160 for (; m; m >>= 1) { in multmodp() 161 if (a & m) { in multmodp() 163 if ((a & (m - 1)) == 0) in multmodp()
|
| /rk3399_ARM-atf/include/plat/nuvoton/npcm845x/ |
| H A D | platform_def.h | 152 #define ARM_CPU_START_ADDRESS(m) UL(0xf0800e00 + 0x10 + m * 4) argument
|
| /rk3399_ARM-atf/include/lib/libc/sys/ |
| H A D | cdefs.h | 489 #define __containerof(x, s, m) ({ \ argument 490 const volatile __typeof(((s *)0)->m) *__x = (x); \ 491 __DEQUALIFY(s *, (const volatile char *)__x - __offsetof(s, m));\ 494 #define __containerof(x, s, m) \ argument 495 __DEQUALIFY(s *, (const volatile char *)(x) - __offsetof(s, m))
|
| /rk3399_ARM-atf/make_helpers/ |
| H A D | utilities.mk | 518 m=$(if $(3),$(call shell-quote,$(3)),$$(($$# + 1))); 521 | sed -n "$${n},$${m}{ $${m}!p }; $${m}q" $\
|
| /rk3399_ARM-atf/plat/brcm/board/common/ |
| H A D | board_common.mk | 257 KEY_FIND := $(shell m="${ROT_KEY}"; [ -f "$$m" ] && echo "$$m")
|