Home
last modified time | relevance | path

Searched refs:hdl (Results 1 – 22 of 22) sorted by relevance

/optee_os/core/kernel/
H A Dinterrupt.c146 static TEE_Result add_configure_handler(struct itr_handler *hdl, in add_configure_handler() argument
153 assert(hdl && hdl->chip->ops && is_unpaged(hdl) && in add_configure_handler()
154 hdl->handler && is_unpaged(hdl->handler)); in add_configure_handler()
156 SLIST_FOREACH(h, &hdl->chip->handlers, link) { in add_configure_handler()
157 if (h->it == hdl->it && in add_configure_handler()
158 (!(hdl->flags & ITRF_SHARED) || in add_configure_handler()
161 hdl->chip->name, hdl->it); in add_configure_handler()
167 res = interrupt_configure(hdl->chip, hdl->it, type, prio); in add_configure_handler()
172 SLIST_INSERT_HEAD(&hdl->chip->handlers, hdl, link); in add_configure_handler()
177 TEE_Result interrupt_add_configure_handler(struct itr_handler *hdl, in interrupt_add_configure_handler() argument
[all …]
H A Dpm.c92 struct pm_callback_handle *hdl) in do_pm_callback() argument
97 if (suspending == (bool)(hdl->flags & PM_FLAG_SUSPENDED)) in do_pm_callback()
100 DMSG("%s %s", suspending ? "Suspend" : "Resume", hdl->name); in do_pm_callback()
102 res = hdl->callback(op, pm_hint, hdl); in do_pm_callback()
105 "Resume", hdl->name, (void *)(vaddr_t)hdl->callback, res); in do_pm_callback()
110 hdl->flags |= PM_FLAG_SUSPENDED; in do_pm_callback()
112 hdl->flags &= ~PM_FLAG_SUSPENDED; in do_pm_callback()
120 struct pm_callback_handle *hdl = NULL; in call_callbacks() local
129 hdl = pm_cb_ref + pm_cb_count - 1; in call_callbacks()
131 hdl = pm_cb_ref; in call_callbacks()
[all …]
H A Dpanic.c20 multi_core_halt_it_handler(struct itr_handler *hdl __unused) in multi_core_halt_it_handler()
/optee_os/core/include/kernel/
H A Dinterrupt.h363 TEE_Result interrupt_add_configure_handler(struct itr_handler *hdl,
373 static inline TEE_Result interrupt_add_handler(struct itr_handler *hdl) in interrupt_add_handler() argument
375 return interrupt_add_configure_handler(hdl, IRQ_TYPE_NONE, 0); in interrupt_add_handler()
418 void interrupt_remove_handler(struct itr_handler *hdl);
452 struct itr_handler **hdl) in interrupt_alloc_add_handler() argument
455 data, IRQ_TYPE_NONE, 0, hdl); in interrupt_alloc_add_handler()
466 void interrupt_remove_free_handler(struct itr_handler *hdl);
/optee_os/ta/pkcs11/src/
H A Dpersistent_token.c472 TEE_ObjectHandle hdl = obj->attribs_hdl; in load_persistent_object_attributes() local
480 if (hdl == TEE_HANDLE_NULL) { in load_persistent_object_attributes()
483 TEE_DATA_FLAG_ACCESS_READ, &hdl); in load_persistent_object_attributes()
491 res = TEE_GetObjectInfo1(hdl, &info); in load_persistent_object_attributes()
504 res = TEE_ReadObjectData(hdl, attr, info.dataSize, &read_bytes); in load_persistent_object_attributes()
506 res = TEE_SeekObjectData(hdl, 0, TEE_DATA_SEEK_SET); in load_persistent_object_attributes()
533 TEE_CloseObject(hdl); in load_persistent_object_attributes()
547 TEE_ObjectHandle hdl = TEE_HANDLE_NULL; in update_persistent_object_attributes() local
555 tee_obj_flags, &hdl); in update_persistent_object_attributes()
563 res = TEE_WriteObjectData(hdl, obj->attributes, size); in update_persistent_object_attributes()
[all …]
H A Dprocessing_symm.c278 TEE_OperationHandle *hdl = &session->processing->tee_op_handle2; in allocate_tee_operation() local
280 res = TEE_AllocateOperation(hdl, algo, mode, size); in allocate_tee_operation()
/optee_os/core/drivers/regulator/
H A Dstm32mp13_regulator_iod.c189 const struct pm_callback_handle *hdl) in iod_pm() argument
191 struct regulator *regu = hdl->handle; in iod_pm()
H A Dstm32_vrefbuf.c257 const struct pm_callback_handle *hdl) in stm32_vrefbuf_pm() argument
259 struct regulator *regulator = hdl->handle; in stm32_vrefbuf_pm()
/optee_os/core/drivers/
H A Datmel_wdt.c274 const struct pm_callback_handle *hdl) in atmel_wdt_pm() argument
276 struct atmel_wdt *wdt = hdl->handle; in atmel_wdt_pm()
H A Datmel_saic.c315 const struct pm_callback_handle *hdl __unused) in saic_pm()
H A Dstm32_cpu_opp.c292 const struct pm_callback_handle *hdl __unused) in cpu_opp_pm()
H A Datmel_piobu.c386 const struct pm_callback_handle *hdl __unused) in piobu_pm()
H A Dstm32_bsec.c914 const struct pm_callback_handle *hdl __unused) in bsec_pm()
H A Dstm32_gpio.c1605 const struct pm_callback_handle *hdl __unused) in stm32_gpio_sec_config_pm()
/optee_os/core/arch/arm/plat-stm32mp1/
H A Dplat_tzc400.c451 const struct pm_callback_handle *hdl) in stm32mp1_tzc_pm() argument
455 (struct tzc_device *)PM_CALLBACK_GET_HANDLE(hdl); in stm32mp1_tzc_pm()
/optee_os/core/arch/arm/plat-sam/
H A Dmatrix.c252 const struct pm_callback_handle *hdl __unused) in matrix_pm()
/optee_os/core/arch/arm/plat-vexpress/
H A Dmain.c130 static enum itr_return console_itr_cb(struct itr_handler *hdl __unused) in console_itr_cb()
/optee_os/core/drivers/firewall/
H A Dstm32_serc.c245 const struct pm_callback_handle *hdl __unused) in stm32_serc_pm()
/optee_os/core/drivers/clk/sam/
H A Dat91_pmc.c268 const struct pm_callback_handle *hdl __unused) in pmc_pm()
/optee_os/core/drivers/crypto/stm32/
H A Dstm32_cryp.c1247 const struct pm_callback_handle *hdl __unused) in stm32_cryp_pm()
H A Dstm32_saes.c1399 const struct pm_callback_handle *hdl __unused) in stm32_saes_pm()
H A Dstm32_pka.c1680 const struct pm_callback_handle *hdl __unused) in stm32_pka_pm()