Home
last modified time | relevance | path

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

123

/trusted-firmware-a/plat/nxp/common/setup/
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()
/trusted-firmware-a/drivers/scmi-msg/
A 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/bl31/
A 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()
A Dehf.c399 ehf_handler_t handler; in ehf_el3_interrupt_handler() local
435 handler = (ehf_handler_t) RAW_HANDLER( in ehf_el3_interrupt_handler()
437 if (handler == NULL) { in ehf_el3_interrupt_handler()
447 ret = handler(intr_raw, flags, handle, cookie); in ehf_el3_interrupt_handler()
494 void ehf_register_priority_handler(unsigned int pri, ehf_handler_t handler) in ehf_register_priority_handler() argument
499 assert(handler != NULL); in ehf_register_priority_handler()
502 assert((((uintptr_t) handler) & 3U) == 0U); in ehf_register_priority_handler()
520 (((uintptr_t) handler) | EHF_PRI_VALID_); in ehf_register_priority_handler()
522 EHF_LOG("register pri=0x%x handler=%p\n", pri, handler); in ehf_register_priority_handler()
/trusted-firmware-a/plat/xilinx/versal/
A Dbl31_versal_setup.c122 int request_intr_type_el3(uint32_t id, interrupt_type_handler_t handler) in request_intr_type_el3() argument
125 if (!handler) { in request_intr_type_el3()
129 type_el3_interrupt_handler = handler; in request_intr_type_el3()
138 interrupt_type_handler_t handler; in rdo_el3_interrupt_handler() local
147 handler = type_el3_interrupt_handler; in rdo_el3_interrupt_handler()
148 if (handler) { in rdo_el3_interrupt_handler()
149 return handler(intr_id, flags, handle, cookie); in rdo_el3_interrupt_handler()
/trusted-firmware-a/lib/bl_aux_params/
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()
/trusted-firmware-a/plat/xilinx/zynqmp/
A Dbl31_zynqmp_setup.c133 int request_intr_type_el3(uint32_t id, interrupt_type_handler_t handler) in request_intr_type_el3() argument
136 if (!handler || id >= MAX_INTR_EL3) { in request_intr_type_el3()
145 type_el3_interrupt_table[id] = handler; in request_intr_type_el3()
154 interrupt_type_handler_t handler; in rdo_el3_interrupt_handler() local
157 handler = type_el3_interrupt_table[intr_id]; in rdo_el3_interrupt_handler()
158 if (handler != NULL) { in rdo_el3_interrupt_handler()
159 handler(intr_id, flags, handle, cookie); in rdo_el3_interrupt_handler()
/trusted-firmware-a/lib/extensions/ras/
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()
/trusted-firmware-a/docs/build/TF-A_2.5/_sources/components/
A Dras.rst.txt25 define an External Abort handler, and to register RAS nodes and interrupts. RAS
62 - A handler to probe error records for errors;
63 - When the probing identifies an error, a handler to handle it;
71 records for error, and invoke the appropriate handler to handle it.
82 ERR_RECORD_MEMMAP_V1(base_addr, size_num_k, probe, handler, aux)
88 ERR_RECORD_SYSREG_V1(idx_start, num_idx, probe, handler, aux)
90 The probe handler must have the following prototype:
97 The probe handler must return a non-zero value if an error was detected, or 0
99 information resulting from probe to the error handler (see `below`__). For
104 The error handler must have the following prototype:
[all …]
A Dexception-handling.rst.txt245 Registering handler
259 - The handler to be registered. The handler must be aligned to 4 bytes.
285 same handler to handle both levels.
348 /* Dispatcher 1 registers its handler */
351 /* Dispatcher 2 registers its handler */
354 /* Dispatcher 3 registers its handler */
519 interrupt handler.
542 #. The top-level EL3 interrupt handler executes. The handler acknowledges the
544 dispatcher handler.
550 handler.
[all …]
A Dsdei.rst.txt13 asynchronous exceptions and, in response, arranges for the registered handler to
18 client receives the event notification at the registered handler even when it
33 registers a handler for that event [3], enables the event [5], and unmasks all
39 execute the registered handler [10]. The client terminates its execution with
42 the client handler completes, at which point EL3 does EOI [12].
233 As part of initialisation, the SDEI client registers a handler for a platform
245 met), and when the handler completes, the preempted execution resumes.
310 registers except ``x0`` to ``x17``. This has significance if event handler is
332 return to the handler, the epilogue never gets executed, and registers ``x29``
/trusted-firmware-a/docs/components/
A Dras.rst25 define an External Abort handler, and to register RAS nodes and interrupts. RAS
62 - A handler to probe error records for errors;
63 - When the probing identifies an error, a handler to handle it;
71 records for error, and invoke the appropriate handler to handle it.
82 ERR_RECORD_MEMMAP_V1(base_addr, size_num_k, probe, handler, aux)
88 ERR_RECORD_SYSREG_V1(idx_start, num_idx, probe, handler, aux)
90 The probe handler must have the following prototype:
97 The probe handler must return a non-zero value if an error was detected, or 0
99 information resulting from probe to the error handler (see `below`__). For
104 The error handler must have the following prototype:
[all …]
A Dexception-handling.rst245 Registering handler
259 - The handler to be registered. The handler must be aligned to 4 bytes.
285 same handler to handle both levels.
348 /* Dispatcher 1 registers its handler */
351 /* Dispatcher 2 registers its handler */
354 /* Dispatcher 3 registers its handler */
519 interrupt handler.
542 #. The top-level EL3 interrupt handler executes. The handler acknowledges the
544 dispatcher handler.
550 handler.
[all …]
/trusted-firmware-a/docs/resources/diagrams/plantuml/
A Dsdei_general.puml17 EL2->EL3: **SDEI_EVENT_REGISTER**(ev, handler, ...)
32 note over EL2: SDEI handler
A Dsdei_explicit_dispatch.puml16 EL2->EL3: **SDEI_EVENT_REGISTER**(ev, handler, ...)
38 note over EL2: SDEI handler
/trusted-firmware-a/docs/build/TF-A_2.5/_sources/getting_started/
A Drt-svc-writers-guide.rst.txt76 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.
157 SMC Function call via the handler function.
167 will not be passed to the service handler and instead return the *Unknown SMC
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
251 return value and complete the handler:
278 ignored. The ``handle`` is returned by the SMC handler - completion of the
[all …]
/trusted-firmware-a/docs/getting_started/
A 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.
157 SMC Function call via the handler function.
167 will not be passed to the service handler and instead return the *Unknown SMC
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
251 return value and complete the handler:
278 ignored. The ``handle`` is returned by the SMC handler - completion of the
[all …]
/trusted-firmware-a/plat/arm/css/sgi/
A Dsgi_ras.c52 .handler = &sgi_ras_intr_handler,
56 .handler = &sgi_ras_intr_handler,
/trusted-firmware-a/plat/nxp/common/setup/include/
A Dls_interrupt_mgmt.h19 int request_intr_type_el3(uint32_t id, interrupt_type_handler_t handler);
/trusted-firmware-a/include/lib/bl_aux_params/
A Dbl_aux_params.h28 bl_aux_param_handler_t handler);
/trusted-firmware-a/include/lib/extensions/
A Dras.h37 .handler = _handler, \
124 err_record_handler_t handler; member
/trusted-firmware-a/docs/design/
A 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;
337 or non-secure state. The handler routine must return a pointer to
365 ``-EALREADY`` in case a handler for the interrupt type has already been
663 It returns the reference to the registered handler for this interrupt
665 described in Section 2. ``NULL`` is returned if no handler has been
698 recognised then the handler should treat it as an irrecoverable error
760 Secure-EL1 interrupts are handled in S-EL1 by TSP. Its handler
855 identifier to signal preemption of TSP. The TSPD SMC handler,
[all …]
/trusted-firmware-a/docs/build/TF-A_2.5/_sources/design/
A Dinterrupt-framework-design.rst.txt220 #. Providing an interface to allow registration of a handler and
224 registered handler when the interrupt is generated.
234 interrupt_type_handler_t handler;
337 or non-secure state. The handler routine must return a pointer to
365 ``-EALREADY`` in case a handler for the interrupt type has already been
663 It returns the reference to the registered handler for this interrupt
665 described in Section 2. ``NULL`` is returned if no handler has been
698 recognised then the handler should treat it as an irrecoverable error
760 Secure-EL1 interrupts are handled in S-EL1 by TSP. Its handler
855 identifier to signal preemption of TSP. The TSPD SMC handler,
[all …]
/trusted-firmware-a/tools/fiptool/
A Dfiptool.h50 int (*handler)(int, char **); member
/trusted-firmware-a/include/bl31/
A Dehf.h86 void ehf_register_priority_handler(unsigned int pri, ehf_handler_t handler);

Completed in 46 milliseconds

123