Home
last modified time | relevance | path

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

12

/trusted-firmware-a-latest/plat/nxp/common/setup/
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()
/trusted-firmware-a-latest/drivers/scmi-msg/
Dentry.c63 scmi_msg_handler_t handler = NULL; in scmi_process_message() local
67 handler = scmi_msg_get_base_handler(msg); in scmi_process_message()
70 handler = scmi_msg_get_clock_handler(msg); in scmi_process_message()
73 handler = scmi_msg_get_rstd_handler(msg); in scmi_process_message()
76 handler = scmi_msg_get_pd_handler(msg); in scmi_process_message()
82 if (handler) { in scmi_process_message()
83 handler(msg); in scmi_process_message()
/trusted-firmware-a-latest/bl31/
Dinterrupt_mgmt.c38 interrupt_type_handler_t handler; member
153 assert(intr_type_descs[type].handler != NULL); in disable_intr_rm_local()
171 assert(intr_type_descs[type].handler != NULL); in enable_intr_rm_local()
188 interrupt_type_handler_t handler, in register_interrupt_type_handler() argument
194 if (handler == NULL) in register_interrupt_type_handler()
202 if (intr_type_descs[type].handler != NULL) in register_interrupt_type_handler()
210 intr_type_descs[type].handler = handler; in register_interrupt_type_handler()
225 return intr_type_descs[type].handler; in get_interrupt_type_handler()
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()
511 void ehf_register_priority_handler(unsigned int pri, ehf_handler_t handler) in ehf_register_priority_handler() argument
516 assert(handler != NULL); in ehf_register_priority_handler()
519 assert((((uintptr_t) handler) & 3U) == 0U); in ehf_register_priority_handler()
537 (((uintptr_t) handler) | EHF_PRI_VALID_); in ehf_register_priority_handler()
539 EHF_LOG("register pri=0x%x handler=%p\n", pri, handler); in ehf_register_priority_handler()
/trusted-firmware-a-latest/plat/xilinx/zynqmp/
Dbl31_zynqmp_setup.c121 int request_intr_type_el3(uint32_t id, interrupt_type_handler_t handler) in request_intr_type_el3() argument
127 if (!handler || index >= MAX_INTR_EL3) { in request_intr_type_el3()
139 type_el3_interrupt_table[index].handler = handler; in request_intr_type_el3()
151 interrupt_type_handler_t handler = NULL; in rdo_el3_interrupt_handler() local
157 handler = type_el3_interrupt_table[i].handler; in rdo_el3_interrupt_handler()
161 if (handler != NULL) { in rdo_el3_interrupt_handler()
162 return handler(intr_id, flags, handle, cookie); in rdo_el3_interrupt_handler()
/trusted-firmware-a-latest/lib/bl_aux_params/
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()
/trusted-firmware-a-latest/plat/xilinx/versal/
Dbl31_versal_setup.c139 int request_intr_type_el3(uint32_t id, interrupt_type_handler_t handler) in request_intr_type_el3() argument
145 if (handler == NULL || index >= MAX_INTR_EL3) { in request_intr_type_el3()
157 type_el3_interrupt_table[index].handler = handler; in request_intr_type_el3()
169 interrupt_type_handler_t handler = NULL; in rdo_el3_interrupt_handler() local
175 handler = type_el3_interrupt_table[i].handler; in rdo_el3_interrupt_handler()
179 if (handler != NULL) { in rdo_el3_interrupt_handler()
180 return handler(intr_id, flags, handle, cookie); in rdo_el3_interrupt_handler()
/trusted-firmware-a-latest/plat/xilinx/versal_net/
Dbl31_versal_net_setup.c162 int request_intr_type_el3(uint32_t id, interrupt_type_handler_t handler) in request_intr_type_el3() argument
168 if (handler == NULL || index >= MAX_INTR_EL3) { in request_intr_type_el3()
180 type_el3_interrupt_table[index].handler = handler; in request_intr_type_el3()
192 interrupt_type_handler_t handler = NULL; in rdo_el3_interrupt_handler() local
198 handler = type_el3_interrupt_table[i].handler; in rdo_el3_interrupt_handler()
202 if (handler != NULL) { in rdo_el3_interrupt_handler()
203 handler(intr_id, flags, handle, cookie); in rdo_el3_interrupt_handler()
/trusted-firmware-a-latest/lib/extensions/ras/
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()
/trusted-firmware-a-latest/docs/design_documents/
Ddrtm_poc.rst117 INFO: DRTM service handler: version
118 INFO: ++ DRTM service handler: TPM features
119 INFO: ++ DRTM service handler: Min. mem. requirement features
120 INFO: ++ DRTM service handler: DMA protection features
121 INFO: ++ DRTM service handler: Boot PE ID features
122 INFO: ++ DRTM service handler: TCB-hashes features
123 INFO: DRTM service handler: dynamic launch
124 WARNING: DRTM service handler: close locality is not supported
125 INFO: DRTM service handler: unprotect mem
/trusted-firmware-a-latest/plat/nxp/common/setup/include/
Dls_interrupt_mgmt.h19 int request_intr_type_el3(uint32_t id, interrupt_type_handler_t handler);
/trusted-firmware-a-latest/include/lib/bl_aux_params/
Dbl_aux_params.h28 bl_aux_param_handler_t handler);
/trusted-firmware-a-latest/docs/resources/diagrams/plantuml/
Dsdei_general.puml17 EL2->EL3: **SDEI_EVENT_REGISTER**(ev, handler, ...)
32 note over EL2: SDEI handler
Dsdei_explicit_dispatch.puml16 EL2->EL3: **SDEI_EVENT_REGISTER**(ev, handler, ...)
38 note over EL2: SDEI handler
/trusted-firmware-a-latest/plat/xilinx/zynqmp/include/
Dplat_private.h31 interrupt_type_handler_t handler; member
/trusted-firmware-a-latest/docs/components/
Dras.rst44 RAS Framework in TF-A allows the platform to define an external abort handler and to
107 Inject External aborts(sync/async) which traps in EL3, FVP has a handler which gracefully
171 - A handler to probe error records for errors;
172 - When the probing identifies an error, a handler to handle it;
180 records for error, and invoke the appropriate handler to handle it.
191 ERR_RECORD_MEMMAP_V1(base_addr, size_num_k, probe, handler, aux)
197 ERR_RECORD_SYSREG_V1(idx_start, num_idx, probe, handler, aux)
199 The probe handler must have the following prototype:
206 The probe handler must return a non-zero value if an error was detected, or 0
208 information resulting from probe to the error handler (see `below`__). For
[all …]
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 …]
/trusted-firmware-a-latest/plat/xilinx/versal/include/
Dplat_private.h17 interrupt_type_handler_t handler; member
/trusted-firmware-a-latest/tools/fiptool/
Dfiptool.h50 int (*handler)(int, char **); member
/trusted-firmware-a-latest/include/lib/extensions/
Dras.h37 .handler = _handler, \
124 err_record_handler_t handler; member
/trusted-firmware-a-latest/plat/xilinx/versal_net/include/
Dplat_private.h17 interrupt_type_handler_t handler; member
/trusted-firmware-a-latest/docs/getting_started/
Drt-svc-writers-guide.rst76 specific handler for each SMC call, but it is expected that an individual
77 handler will be responsible for all SMC Functions within a given service type.
93 initialization and call handler functions.
113 - ``_smch`` is the SMC handler function with the ``rt_svc_handle`` signature:
157 SMC Function call via the handler function.
167 will not be passed to the service handler and instead return the *Unknown SMC
181 handler function (``_smch`` in the service declaration). This function must have
193 The handler is responsible for:
204 the framework will forward all calls to the service handler.
227 handler. This can be done by truncating the values to a suitable 32-bit
[all …]
/trusted-firmware-a-latest/docs/perf/
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
/trusted-firmware-a-latest/include/bl31/
Dehf.h86 void ehf_register_priority_handler(unsigned int pri, ehf_handler_t handler);
/trusted-firmware-a-latest/docs/design/
Dinterrupt-framework-design.rst220 #. Providing an interface to allow registration of a handler and
224 registered handler when the interrupt is generated.
234 interrupt_type_handler_t handler;
301 `Software components`_) during the registration of a handler for an interrupt
309 This component declares the following prototype for a handler of an interrupt type.
327 in the secure state. This bit can be used by the handler to ensure that
336 Once the handler routine completes, execution will return to either the secure
337 or non-secure state. The handler routine must return a pointer to
340 appropriate ``cpu_context`` to be used is expected to be set by the handler
342 A portable interrupt handler implementation must set the target context both in
[all …]

12