Home
last modified time | relevance | path

Searched hist:e9376d025eb57424056b012335aaa5f812691259 (Results 1 – 2 of 2) sorted by relevance

/optee_os/core/kernel/
H A Dinterrupt.ce9376d025eb57424056b012335aaa5f812691259 Sun Oct 08 19:23:34 UTC 2023 Etienne Carriere <etienne.carriere@foss.st.com> core: interrupt: add interrupt_create_handler()

Adds interrupt_create_handler() API function in interrupt framework.
The function is to be used with interrupt controls obtained
from the DT with interrupt_dt_get() interrupt_dt_get_by_index() or
interrupt_dt_get_by_name().

The function differs from legacy interrupt_add_handler() in that
this latter always reconfigure the interrupt while new
interrupt_create_handler() function assumes the interrupt was configured
from interrupt_dt_get() or friends.

Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>
/optee_os/core/include/kernel/
H A Dinterrupt.he9376d025eb57424056b012335aaa5f812691259 Sun Oct 08 19:23:34 UTC 2023 Etienne Carriere <etienne.carriere@foss.st.com> core: interrupt: add interrupt_create_handler()

Adds interrupt_create_handler() API function in interrupt framework.
The function is to be used with interrupt controls obtained
from the DT with interrupt_dt_get() interrupt_dt_get_by_index() or
interrupt_dt_get_by_name().

The function differs from legacy interrupt_add_handler() in that
this latter always reconfigure the interrupt while new
interrupt_create_handler() function assumes the interrupt was configured
from interrupt_dt_get() or friends.

Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
Signed-off-by: Etienne Carriere <etienne.carriere@foss.st.com>