Home
last modified time | relevance | path

Searched refs:_p (Results 1 – 3 of 3) sorted by relevance

/trusted-firmware-a/lib/gpt_rme/
A Dgpt_rme_private.h165 #define GPT_L1_IDX_WIDTH(_p) ((GPT_S_VAL - 1U) - ((_p) + 3U)) argument
168 #define GPT_L1_IDX_SHIFT(_p) ((_p) + 4U) argument
179 (GPT_L1_IDX_WIDTH(_p))))
182 #define GPT_L1_GPI_IDX_SHIFT(_p) (_p) argument
188 #define GPT_L1_ENTRY_COUNT(_p) ((GPT_L1_IDX_MASK(_p)) + 1U) argument
191 #define GPT_L1_TABLE_SIZE(_p) ((GPT_L1_ENTRY_COUNT(_p)) << 3U) argument
201 #define GPT_PGS_ACTUAL_SIZE(_p) (1UL << (_p)) argument
239 #define GPT_L1_IDX(_p, _pa) (((_pa) >> GPT_L1_IDX_SHIFT(_p)) & \ argument
240 GPT_L1_IDX_MASK(_p))
243 #define GPT_L1_GPI_IDX(_p, _pa) (((_pa) >> GPT_L1_GPI_IDX_SHIFT(_p)) & \ argument
[all …]
/trusted-firmware-a/include/common/
A Dparam_header.h21 #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)
/trusted-firmware-a/include/lib/psci/
A Dpsci_lib.h52 #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))

Completed in 4 milliseconds