Home
last modified time | relevance | path

Searched refs:handler (Results 1 – 25 of 44) sorted by relevance

12

/rk3399_ARM-atf/plat/nxp/common/setup/
H A Dls_interrupt_mgmt.c15 int request_intr_type_el3(uint32_t id, interrupt_type_handler_t handler) in request_intr_type_el3() argument
18 if (!handler || id >= MAX_INTR_EL3) { in request_intr_type_el3()
27 type_el3_interrupt_table[id] = handler; in request_intr_type_el3()
36 interrupt_type_handler_t handler; in ls_el3_interrupt_handler() local
42 handler = type_el3_interrupt_table[intr_id]; in ls_el3_interrupt_handler()
43 if (handler != NULL) { in ls_el3_interrupt_handler()
44 handler(intr_id, flags, handle, cookie); in ls_el3_interrupt_handler()
/rk3399_ARM-atf/drivers/scmi-msg/
H A Dentry.c69 scmi_msg_handler_t handler = NULL; in scmi_process_message() local
73 handler = scmi_msg_get_base_handler(msg); in scmi_process_message()
76 handler = scmi_msg_get_clock_handler(msg); in scmi_process_message()
79 handler = scmi_msg_get_rstd_handler(msg); in scmi_process_message()
82 handler = scmi_msg_get_pd_handler(msg); in scmi_process_message()
85 handler = scmi_msg_get_sensor_handler(msg); in scmi_process_message()
91 if (handler) { in scmi_process_message()
92 handler(msg); in scmi_process_message()
/rk3399_ARM-atf/plat/amd/versal2/
H A Dbl31_setup.c204 int request_intr_type_el3(uint32_t id, interrupt_type_handler_t handler) in request_intr_type_el3() argument
211 if ((handler == NULL) || (index >= MAX_INTR_EL3)) { in request_intr_type_el3()
225 type_el3_interrupt_table[index].handler = handler; in request_intr_type_el3()
240 interrupt_type_handler_t handler = NULL; in rdo_el3_interrupt_handler() local
246 handler = type_el3_interrupt_table[i].handler; in rdo_el3_interrupt_handler()
250 if (handler != NULL) { in rdo_el3_interrupt_handler()
251 (void)handler(intr_id, flags, handle, cookie); in rdo_el3_interrupt_handler()
262 interrupt_type_handler_t handler = NULL; in plat_spmd_handle_group0_interrupt() local
266 handler = type_el3_interrupt_table[i].handler; in plat_spmd_handle_group0_interrupt()
270 if (handler != NULL) { in plat_spmd_handle_group0_interrupt()
[all …]
/rk3399_ARM-atf/bl31/
H A Dinterrupt_mgmt.c38 interrupt_type_handler_t handler; member
159 assert(intr_type_descs[type].handler != NULL); in disable_intr_rm_local()
177 assert(intr_type_descs[type].handler != NULL); in enable_intr_rm_local()
194 interrupt_type_handler_t handler, in register_interrupt_type_handler() argument
200 if (handler == NULL) { in register_interrupt_type_handler()
209 if (intr_type_descs[type].handler != NULL) { in register_interrupt_type_handler()
218 intr_type_descs[type].handler = handler; in register_interrupt_type_handler()
233 return intr_type_descs[type].handler; in get_interrupt_type_handler()
H A Dehf.c409 ehf_handler_t handler; in ehf_el3_interrupt_handler() local
445 handler = (ehf_handler_t) RAW_HANDLER( in ehf_el3_interrupt_handler()
447 if (handler == NULL) { in ehf_el3_interrupt_handler()
457 ret = handler(intr_raw, flags, handle, cookie); in ehf_el3_interrupt_handler()
508 void ehf_register_priority_handler(unsigned int pri, ehf_handler_t handler) in ehf_register_priority_handler() argument
513 assert(handler != NULL); in ehf_register_priority_handler()
516 assert((((uintptr_t) handler) & 3U) == 0U); in ehf_register_priority_handler()
534 (((uintptr_t) handler) | EHF_PRI_VALID_); in ehf_register_priority_handler()
536 EHF_LOG("register pri=0x%x handler=%p\n", pri, handler); in ehf_register_priority_handler()
/rk3399_ARM-atf/plat/xilinx/zynqmp/
H A Dbl31_zynqmp_setup.c160 int request_intr_type_el3(uint32_t id, interrupt_type_handler_t handler) in request_intr_type_el3() argument
166 if (!handler || index >= MAX_INTR_EL3) { in request_intr_type_el3()
178 type_el3_interrupt_table[index].handler = handler; in request_intr_type_el3()
190 interrupt_type_handler_t handler = NULL; in rdo_el3_interrupt_handler() local
196 handler = type_el3_interrupt_table[i].handler; in rdo_el3_interrupt_handler()
200 if (handler != NULL) { in rdo_el3_interrupt_handler()
201 return handler(intr_id, flags, handle, cookie); in rdo_el3_interrupt_handler()
/rk3399_ARM-atf/plat/xilinx/versal/
H A Dbl31_versal_setup.c153 int request_intr_type_el3(uint32_t id, interrupt_type_handler_t handler) in request_intr_type_el3() argument
160 if ((handler == NULL) || (index >= MAX_INTR_EL3)) { in request_intr_type_el3()
174 type_el3_interrupt_table[index].handler = handler; in request_intr_type_el3()
189 interrupt_type_handler_t handler = NULL; in rdo_el3_interrupt_handler() local
195 handler = type_el3_interrupt_table[i].handler; in rdo_el3_interrupt_handler()
199 if (handler != NULL) { in rdo_el3_interrupt_handler()
200 ret = handler(intr_id, flags, handle, cookie); in rdo_el3_interrupt_handler()
/rk3399_ARM-atf/lib/bl_aux_params/
H A Dbl_aux_params.c14 bl_aux_param_handler_t handler) in bl_aux_params_parse() argument
19 if (handler && handler(p)) in bl_aux_params_parse()
/rk3399_ARM-atf/plat/xilinx/versal_net/
H A Dbl31_versal_net_setup.c194 int request_intr_type_el3(uint32_t id, interrupt_type_handler_t handler) in request_intr_type_el3() argument
201 if ((handler == NULL) || (index >= MAX_INTR_EL3)) { in request_intr_type_el3()
215 type_el3_interrupt_table[index].handler = handler; in request_intr_type_el3()
233 interrupt_type_handler_t handler = NULL; in rdo_el3_interrupt_handler() local
248 handler = type_el3_interrupt_table[i].handler; in rdo_el3_interrupt_handler()
252 if (handler != NULL) { in rdo_el3_interrupt_handler()
253 (void)handler(intr_id, flags, handle, cookie); in rdo_el3_interrupt_handler()
/rk3399_ARM-atf/lib/extensions/ras/
H A Dras_common.c83 assert(info->handler != NULL); in ras_ea_handler()
91 ret = info->handler(info, probe_data, &err_data); in ras_ea_handler()
168 assert(selected->err_record->handler != NULL); in ras_interrupt_handler()
169 (void) selected->err_record->handler(selected->err_record, probe_data, in ras_interrupt_handler()
/rk3399_ARM-atf/docs/resources/diagrams/plantuml/
H A Dsdei_general.puml17 EL2->EL3: **SDEI_EVENT_REGISTER**(ev, handler, ...)
32 note over EL2: SDEI handler
H A Dsdei_explicit_dispatch.puml16 EL2->EL3: **SDEI_EVENT_REGISTER**(ev, handler, ...)
38 note over EL2: SDEI handler
/rk3399_ARM-atf/plat/nxp/common/setup/include/
H A Dls_interrupt_mgmt.h19 int request_intr_type_el3(uint32_t id, interrupt_type_handler_t handler);
/rk3399_ARM-atf/docs/components/
H A Dras.rst44 RAS Framework in TF-A allows the platform to define an external abort handler and to
82 * The handler reflects pending async EAs back to the lower EL if the EA routing model is KFH
136 Inject External aborts(sync/async) which traps in EL3, FVP has a handler which gracefully
200 - A handler to probe error records for errors;
201 - When the probing identifies an error, a handler to handle it;
209 records for error, and invoke the appropriate handler to handle it.
220 ERR_RECORD_MEMMAP_V1(base_addr, size_num_k, probe, handler, aux)
226 ERR_RECORD_SYSREG_V1(idx_start, num_idx, probe, handler, aux)
228 The probe handler must have the following prototype:
235 The probe handler must return a non-zero value if an error was detected, or 0
[all …]
H A Dexception-handling.rst107 A priority level is *active* when a handler at that priority level is currently
110 priority of the acknowledged interrupt is used to match its registered handler.
143 top-level handler for interrupts that target EL3, as described in the
168 handlers for them. A given priority level can be assigned to only one handler. A
245 Registering handler
253 int ehf_register_priority_handler(int pri, ehf_handler_t handler)
257 - The priority level for which the handler is being registered;
259 - The handler to be registered. The handler must be aligned to 4 bytes.
272 The interrupt handler should have the following signature:
279 The parameters are as obtained from the top-level :ref:`EL3 interrupt handler
[all …]
H A Dven-el3-service.rst37 | 0xC7000030 - 0xC700003F (SMC64) | handler | …
56 | 1 | 1 | Added ACS SMC handler services.|
86 Architecture Compliance Suite (ACS) SMC handler
89 The Architecture Compliance Suite (ACS) SMC handler allows callers to branch
/rk3399_ARM-atf/include/lib/bl_aux_params/
H A Dbl_aux_params.h28 bl_aux_param_handler_t handler);
/rk3399_ARM-atf/plat/xilinx/zynqmp/include/
H A Dplat_private.h31 interrupt_type_handler_t handler; member
/rk3399_ARM-atf/include/lib/extensions/
H A Dras.h37 .handler = _handler, \
124 err_record_handler_t handler; member
/rk3399_ARM-atf/docs/getting_started/
H A Drt-svc-writers-guide.rst79 specific handler for each SMC call, but it is expected that an individual
80 handler will be responsible for all SMC Functions within a given service type.
96 initialization and call handler functions.
116 - ``_smch`` is the SMC handler function with the ``rt_svc_handle`` signature:
160 SMC Function call via the handler function.
170 will not be passed to the service handler and instead return the *Unknown SMC
184 handler function (``_smch`` in the service declaration). This function must have
196 The handler is responsible for:
207 the framework will forward all calls to the service handler.
230 handler. This can be done by truncating the values to a suitable 32-bit
[all …]
/rk3399_ARM-atf/tools/fiptool/
H A Dfiptool.h50 int (*handler)(int, char **); member
/rk3399_ARM-atf/plat/xilinx/versal/include/
H A Dplat_private.h17 interrupt_type_handler_t handler; member
/rk3399_ARM-atf/plat/xilinx/versal_net/include/
H A Dplat_private.h17 interrupt_type_handler_t handler; member
/rk3399_ARM-atf/docs/perf/
H A Dpsci-performance-instr.rst95 * Entry into the PSCI SMC handler
96 * Exit from the PSCI SMC handler
108 The timestamp during entry into the handler is captured as early as possible
109 during the runtime exception, prior to entry into the handler itself. All
111 captured after normal return from the PSCI SMC handler, or, if a low power state
/rk3399_ARM-atf/plat/amd/versal2/include/
H A Dplat_private.h25 interrupt_type_handler_t handler; member

12