/trusted-firmware-a/lib/el3_runtime/aarch32/ |
A D | context_mgmt.c | 64 security_state = GET_SECURITY_STATE(ep->h.attr); in cm_setup_context() 99 assert(((ep->spsr >> SPSR_E_SHIFT) & SPSR_E_MASK) == in cm_setup_context() 100 (EP_GET_EE(ep->h.attr) >> EP_EE_SHIFT)); in cm_setup_context() 111 if (GET_M32(ep->spsr) == MODE32_hyp) in cm_setup_context() 120 write_ctx_reg(reg_ctx, CTX_LR, ep->pc); in cm_setup_context() 121 write_ctx_reg(reg_ctx, CTX_SPSR, ep->spsr); in cm_setup_context() 158 const entry_point_info_t *ep) in cm_init_context_by_index() argument 162 cm_setup_context(ctx, ep); in cm_init_context_by_index() 170 void cm_init_my_context(const entry_point_info_t *ep) in cm_init_my_context() argument 173 ctx = cm_get_context(GET_SECURITY_STATE(ep->h.attr)); in cm_init_my_context() [all …]
|
/trusted-firmware-a/drivers/st/usb/ |
A D | stm32mp1_usb.c | 470 if (ep->is_in) { in usb_dwc2_ep_start_xfer() 483 (((ep->xfer_len + ep->maxpacket - 1U) / in usb_dwc2_ep_start_xfer() 495 if ((ep->type != EP_TYPE_ISOC) && (ep->xfer_len > 0U)) { in usb_dwc2_ep_start_xfer() 514 usb_dwc2_write_packet(handle, ep->xfer_buff, ep->num, ep->xfer_len); in usb_dwc2_ep_start_xfer() 526 uint16_t pktcnt = (ep->xfer_len + ep->maxpacket - 1U) / ep->maxpacket; in usb_dwc2_ep_start_xfer() 565 if (ep->is_in) { in usb_dwc2_ep0_start_xfer() 579 if (ep->xfer_len > ep->maxpacket) { in usb_dwc2_ep0_start_xfer() 580 ep->xfer_len = ep->maxpacket; in usb_dwc2_ep0_start_xfer() 593 BIT(ep->num)); in usb_dwc2_ep0_start_xfer() 609 ep->xfer_len = ep->maxpacket; in usb_dwc2_ep0_start_xfer() [all …]
|
/trusted-firmware-a/drivers/usb/ |
A D | usb_device.c | 32 struct usbd_ep *ep; in usb_core_set_stall() local 41 ep = &hpcd->in_ep[num]; in usb_core_set_stall() 42 ep->is_in = true; in usb_core_set_stall() 45 ep->is_in = false; in usb_core_set_stall() 47 ep->num = num; in usb_core_set_stall() 531 struct usbd_ep *ep; in usb_core_handle_it() local 639 struct usbd_ep *ep; in usb_core_receive() local 653 ep->is_in = false; in usb_core_receive() 654 ep->num = num; in usb_core_receive() 687 ep->is_in = true; in usb_core_transmit() [all …]
|
/trusted-firmware-a/lib/el3_runtime/aarch64/ |
A D | context_mgmt.c | 121 if (GET_RW(ep->spsr) == MODE_RW_64) { in cm_setup_context() 129 if (EP_GET_ST(ep->h.attr) != 0U) { in cm_setup_context() 237 if (((GET_RW(ep->spsr) == MODE_RW_64) && (GET_EL(ep->spsr) == MODE_EL2)) in cm_setup_context() 238 || ((GET_RW(ep->spsr) != MODE_RW_64) in cm_setup_context() 239 && (GET_M32(ep->spsr) == MODE32_hyp))) { in cm_setup_context() 254 if (GET_RW(ep->spsr) != MODE_RW_64) { in cm_setup_context() 284 if (GET_RW(ep->spsr) == MODE_RW_64) { in cm_setup_context() 353 write_ctx_reg(state, CTX_ELR_EL3, ep->pc); in cm_setup_context() 450 const entry_point_info_t *ep) in cm_init_context_by_index() argument 454 cm_setup_context(ctx, ep); in cm_init_context_by_index() [all …]
|
/trusted-firmware-a/plat/arm/common/aarch64/ |
A D | execution_state_switch.c | 44 entry_point_info_t ep; in arm_execution_state_switch() local 151 zeromem(&ep, sizeof(ep)); in arm_execution_state_switch() 152 ep.pc = pc; in arm_execution_state_switch() 153 ep.spsr = (uint32_t) spsr; in arm_execution_state_switch() 154 SET_PARAM_HEAD(&ep, PARAM_EP, VERSION_1, in arm_execution_state_switch() 164 cm_init_my_context(&ep); in arm_execution_state_switch()
|
/trusted-firmware-a/lib/psci/ |
A D | psci_common.c | 627 static int psci_get_ns_ep_info(entry_point_info_t *ep, in psci_get_ns_ep_info() argument 645 SET_PARAM_HEAD(ep, PARAM_EP, VERSION_1, ep_attr); in psci_get_ns_ep_info() 647 ep->pc = entrypoint; in psci_get_ns_ep_info() 648 zeromem(&ep->args, sizeof(ep->args)); in psci_get_ns_ep_info() 649 ep->args.arg0 = context_id; in psci_get_ns_ep_info() 666 ep->spsr = SPSR_64((uint64_t)mode, MODE_SP_ELX, in psci_get_ns_ep_info() 712 SET_PARAM_HEAD(ep, PARAM_EP, VERSION_1, ep_attr); in psci_get_ns_ep_info() 714 ep->pc = entrypoint; in psci_get_ns_ep_info() 715 zeromem(&ep->args, sizeof(ep->args)); in psci_get_ns_ep_info() 716 ep->args.arg0 = context_id; in psci_get_ns_ep_info() [all …]
|
A D | psci_main.c | 30 entry_point_info_t ep; in psci_cpu_on() local 38 rc = psci_validate_entry_point(&ep, entrypoint, context_id); in psci_cpu_on() 46 return psci_cpu_on_start(target_cpu, &ep); in psci_cpu_on() 60 entry_point_info_t ep; in psci_cpu_suspend() local 134 rc = psci_validate_entry_point(&ep, entrypoint, context_id); in psci_cpu_suspend() 145 psci_cpu_suspend_start(&ep, in psci_cpu_suspend() 158 entry_point_info_t ep; in psci_system_suspend() local 165 rc = psci_validate_entry_point(&ep, entrypoint, context_id); in psci_system_suspend() 190 psci_cpu_suspend_start(&ep, in psci_system_suspend()
|
A D | psci_suspend.c | 71 const entry_point_info_t *ep, in psci_suspend_to_pwrdown_start() argument 109 cm_init_my_context(ep); in psci_suspend_to_pwrdown_start() 154 void psci_cpu_suspend_start(const entry_point_info_t *ep, in psci_cpu_suspend_start() argument 203 psci_suspend_to_pwrdown_start(end_pwrlvl, ep, state_info); in psci_cpu_suspend_start()
|
A D | psci_on.c | 60 const entry_point_info_t *ep) in psci_cpu_on_start() argument 69 assert(ep != NULL); in psci_cpu_on_start() 151 cm_init_context_by_index(target_idx, ep); in psci_cpu_on_start()
|
A D | psci_private.h | 277 int psci_validate_entry_point(entry_point_info_t *ep, 307 const entry_point_info_t *ep); 315 void psci_cpu_suspend_start(const entry_point_info_t *ep,
|
/trusted-firmware-a/include/lib/el3_runtime/ |
A D | context_mgmt.h | 32 void cm_init_my_context(const struct entry_point_info *ep); 34 const struct entry_point_info *ep); 35 void cm_setup_context(cpu_context_t *ctx, const struct entry_point_info *ep);
|
/trusted-firmware-a/plat/arm/common/ |
A D | arm_common.c | 197 int plat_sdei_validate_entry_point(uintptr_t ep, unsigned int client_mode) in plat_sdei_validate_entry_point() argument 213 ats1e2r(ep); in plat_sdei_validate_entry_point() 219 AT(ats12e1r, ep); in plat_sdei_validate_entry_point()
|
/trusted-firmware-a/plat/nvidia/tegra/common/ |
A D | tegra_bl31_setup.c | 67 entry_point_info_t *ep = NULL; in bl31_plat_get_next_image_ep_info() local 71 ep = &bl33_image_ep_info; in bl31_plat_get_next_image_ep_info() 73 ep = &bl32_image_ep_info; in bl31_plat_get_next_image_ep_info() 76 return ep; in bl31_plat_get_next_image_ep_info()
|
/trusted-firmware-a/include/services/ |
A D | ffa_svc.h | 196 static inline uint16_t ffa_endpoint_destination(unsigned int ep) in ffa_endpoint_destination() argument 198 return (ep >> FFA_DIRECT_MSG_DESTINATION_SHIFT) & in ffa_endpoint_destination() 205 static inline uint16_t ffa_endpoint_source(unsigned int ep) in ffa_endpoint_source() argument 207 return (ep >> FFA_DIRECT_MSG_SOURCE_SHIFT) & in ffa_endpoint_source()
|
A D | sdei.h | 102 uint64_t ep; /* Entry point */ member
|
/trusted-firmware-a/tools/nxp/create_pbl/ |
A D | create_pbl.c | 163 uint32_t ep; /* Entry point <opt> default is load address */ member 478 pblimg.ep = BYTE_SWAP_32(pblimg.ep); in add_boot_ptr_cmd() 502 if (pblimg.ep != 0) { in add_boot_ptr_cmd() 503 if (fwrite(&pblimg.ep, sizeof(pblimg.ep), NUM_MEM_BLOCK, in add_boot_ptr_cmd() 510 printf("\nBoot Location Pointer= %x\n", BYTE_SWAP_32(pblimg.ep)); in add_boot_ptr_cmd() 732 pblimg.ep = strtoull(optarg, &ptr, 16); in main()
|
/trusted-firmware-a/services/std_svc/sdei/ |
A D | sdei_main.c | 60 se->ep = 0; in clear_event_entries() 243 static void set_sdei_entry(sdei_entry_t *se, uint64_t ep, uint64_t arg, in set_sdei_entry() argument 248 se->ep = ep; in set_sdei_entry() 338 uint64_t ep, in sdei_event_register() argument 349 if ((ep == 0U) || (plat_sdei_validate_entry_point( in sdei_event_register() 350 ep, sdei_client_el()) != 0)) { in sdei_event_register() 452 set_sdei_entry(se, ep, arg, (unsigned int) flags, mpidr); in sdei_event_register()
|
A D | sdei_intr_mgmt.c | 305 cm_set_elr_spsr_el3(NON_SECURE, (uintptr_t) se->ep, sdei_spsr); in sdei_set_elr_spsr()
|
/trusted-firmware-a/include/drivers/ |
A D | usb_device.h | 211 enum usb_status (*ep_start_xfer)(void *handle, struct usbd_ep *ep); 212 enum usb_status (*ep0_start_xfer)(void *handle, struct usbd_ep *ep); 216 enum usb_status (*ep_set_stall)(void *handle, struct usbd_ep *ep);
|
/trusted-firmware-a/plat/common/aarch64/ |
A D | plat_common.c | 65 int plat_sdei_validate_entry_point(uintptr_t ep, unsigned int client_mode) in plat_sdei_validate_entry_point() argument
|
/trusted-firmware-a/tools/stm32image/ |
A D | stm32image.c | 105 uint32_t loadaddr, uint32_t ep, uint32_t ver, in stm32image_set_header() argument 115 stm32hdr->image_entry_point = __cpu_to_le32(ep); in stm32image_set_header()
|
/trusted-firmware-a/services/std_svc/spmd/ |
A D | spmd_main.c | 470 static bool spmd_is_spmc_message(unsigned int ep) in spmd_is_spmc_message() argument 472 return ((ffa_endpoint_destination(ep) == SPMD_DIRECT_MSG_ENDPOINT_ID) in spmd_is_spmc_message() 473 && (ffa_endpoint_source(ep) == spmc_attrs.spmc_id)); in spmd_is_spmc_message()
|
/trusted-firmware-a/include/plat/common/ |
A D | platform.h | 150 int plat_sdei_validate_entry_point(uintptr_t ep, unsigned int client_mode);
|
/trusted-firmware-a/docs/build/latex/ |
A D | trustedfirmware-a.aux | 430 \newlabel{getting_started/porting-guide:function-bl1-plat-set-ep-info-optional}{{2.7.8}{68}{Functio… 496 \newlabel{getting_started/porting-guide:function-bl31-plat-get-next-image-ep-info-mandatory}{{2.7.1…
|
/trusted-firmware-a/docs/build/TF-A_2.5/ |
A D | searchindex.js | 1 …3,142,143],environment:142,envisag:53,eoe:29,eoi:[11,27],eoid:11,eoimod:28,ep:53,ep_info:[17,53,12…
|