| /optee_os/core/kernel/ |
| H A D | interrupt.c | 146 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 D | pm.c | 92 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 D | panic.c | 20 multi_core_halt_it_handler(struct itr_handler *hdl __unused) in multi_core_halt_it_handler()
|
| /optee_os/core/include/kernel/ |
| H A D | interrupt.h | 363 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 D | persistent_token.c | 472 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 D | processing_symm.c | 278 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 D | stm32mp13_regulator_iod.c | 189 const struct pm_callback_handle *hdl) in iod_pm() argument 191 struct regulator *regu = hdl->handle; in iod_pm()
|
| H A D | stm32_vrefbuf.c | 257 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 D | atmel_wdt.c | 274 const struct pm_callback_handle *hdl) in atmel_wdt_pm() argument 276 struct atmel_wdt *wdt = hdl->handle; in atmel_wdt_pm()
|
| H A D | atmel_saic.c | 315 const struct pm_callback_handle *hdl __unused) in saic_pm()
|
| H A D | stm32_cpu_opp.c | 292 const struct pm_callback_handle *hdl __unused) in cpu_opp_pm()
|
| H A D | atmel_piobu.c | 386 const struct pm_callback_handle *hdl __unused) in piobu_pm()
|
| H A D | stm32_bsec.c | 914 const struct pm_callback_handle *hdl __unused) in bsec_pm()
|
| H A D | stm32_gpio.c | 1605 const struct pm_callback_handle *hdl __unused) in stm32_gpio_sec_config_pm()
|
| /optee_os/core/arch/arm/plat-stm32mp1/ |
| H A D | plat_tzc400.c | 451 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 D | matrix.c | 252 const struct pm_callback_handle *hdl __unused) in matrix_pm()
|
| /optee_os/core/arch/arm/plat-vexpress/ |
| H A D | main.c | 130 static enum itr_return console_itr_cb(struct itr_handler *hdl __unused) in console_itr_cb()
|
| /optee_os/core/drivers/firewall/ |
| H A D | stm32_serc.c | 245 const struct pm_callback_handle *hdl __unused) in stm32_serc_pm()
|
| /optee_os/core/drivers/clk/sam/ |
| H A D | at91_pmc.c | 268 const struct pm_callback_handle *hdl __unused) in pmc_pm()
|
| /optee_os/core/drivers/crypto/stm32/ |
| H A D | stm32_cryp.c | 1247 const struct pm_callback_handle *hdl __unused) in stm32_cryp_pm()
|
| H A D | stm32_saes.c | 1399 const struct pm_callback_handle *hdl __unused) in stm32_saes_pm()
|
| H A D | stm32_pka.c | 1680 const struct pm_callback_handle *hdl __unused) in stm32_pka_pm()
|