Searched refs:_p (Results 1 – 4 of 4) sorted by relevance
| /rk3399_ARM-atf/include/common/ |
| H A D | param_header.h | 21 #define SET_PARAM_HEAD(_p, _type, _ver, _attr) do { \ argument 22 (_p)->h.type = (uint8_t)(_type); \ 23 (_p)->h.version = (uint8_t)(_ver); \ 24 (_p)->h.size = (uint16_t)sizeof(*(_p)); \ 25 (_p)->h.attr = (uint32_t)(_attr) ; \ 29 #define SET_STATIC_PARAM_HEAD(_p, _type, _ver, _p_type, _attr) \ argument 30 ._p.h.type = (uint8_t)(_type), \ 31 ._p.h.version = (uint8_t)(_ver), \ 32 ._p.h.size = (uint16_t)sizeof(_p_type), \ 33 ._p.h.attr = (uint32_t)(_attr)
|
| /rk3399_ARM-atf/lib/gpt_rme/ |
| H A D | gpt_rme_private.h | 238 #define GPT_L1_IDX_WIDTH(_p) ((GPT_S_VAL - 1U) - \ argument 239 ((unsigned int)(_p) + 3U)) 242 #define GPT_L1_IDX_SHIFT(_p) ((unsigned int)(_p) + 4U) argument 252 #define GPT_L1_IDX_MASK(_p) (0x7FFFFFUL >> (23U - \ argument 253 (GPT_L1_IDX_WIDTH(_p)))) 256 #define GPT_L1_GPI_IDX_SHIFT(_p) (_p) argument 262 #define GPT_L1_ENTRY_COUNT(_p) ((GPT_L1_IDX_MASK(_p)) + 1UL) argument 265 #define GPT_L1_ENTRY_COUNT_2MB(_p) (SZ_2M >> GPT_L1_IDX_SHIFT(_p)) argument 268 #define GPT_L1_TABLE_SIZE(_p) ((GPT_L1_ENTRY_COUNT(_p)) << 3U) argument 278 #define GPT_PGS_ACTUAL_SIZE(_p) (1UL << (unsigned int)(_p)) argument [all …]
|
| /rk3399_ARM-atf/include/lib/psci/ |
| H A D | psci_lib.h | 52 #define SET_PSCI_LIB_ARGS_V1(_p, _entry) do { \ argument 53 SET_PARAM_HEAD(_p, PARAM_PSCI_LIB_ARGS, VERSION_1, 0); \ 54 (_p)->mailbox_ep = (_entry); \ 68 #define VERIFY_PSCI_LIB_ARGS_V1(_p) (((_p) != NULL) \ argument 69 && ((_p)->h.type == PARAM_PSCI_LIB_ARGS) \ 70 && ((_p)->h.version == VERSION_1) \ 71 && ((_p)->h.size == sizeof(*(_p))) \ 72 && ((_p)->h.attr == 0) \ 73 && ((_p)->mailbox_ep != NULL))
|
| /rk3399_ARM-atf/plat/mediatek/drivers/cpu_pm/cpcv5_4/ |
| H A D | mt_cpu_pm.h | 56 #define PER_CLUSTER_PWR_DATA(_p, _cl) ({ \ argument 57 _p.pwr.ppu_pwpr = CLUSTER_PPU_PWPR_##_cl; \ 58 _p.pwr.ppu_pwsr = CLUSTER_PPU_PWSR_##_cl; \ 59 _p.pwr.ppu_dcdr0 = CLUSTER_PPU_DCDR0_##_cl; \ 60 _p.pwr.ppu_dcdr1 = CLUSTER_PPU_DCDR1_##_cl; \ 73 #define PER_CPU_PWR_DATA(_p, _cl, _c) ({ \ argument 74 _p.rvbaraddr_l = CORE_RVBRADDR_##_cl##_##_c##_L; \ 75 _p.rvbaraddr_h = CORE_RVBRADDR_##_cl##_##_c##_H; \ 76 _p.pwr.ppu_pwpr = CORE_PPU_PWPR_##_cl##_##_c; \ 77 _p.pwr.ppu_pwsr = CORE_PPU_PWSR_##_cl##_##_c; \ [all …]
|