Home
last modified time | relevance | path

Searched refs:ep (Results 1 – 25 of 28) sorted by relevance

12

/trusted-firmware-a/lib/el3_runtime/aarch32/
A Dcontext_mgmt.c64 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 Dstm32mp1_usb.c470 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 Dusb_device.c32 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 Dcontext_mgmt.c121 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 Dexecution_state_switch.c44 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 Dpsci_common.c627 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 Dpsci_main.c30 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 Dpsci_suspend.c71 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 Dpsci_on.c60 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 Dpsci_private.h277 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 Dcontext_mgmt.h32 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 Darm_common.c197 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 Dtegra_bl31_setup.c67 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 Dffa_svc.h196 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 Dsdei.h102 uint64_t ep; /* Entry point */ member
/trusted-firmware-a/tools/nxp/create_pbl/
A Dcreate_pbl.c163 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 Dsdei_main.c60 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 Dsdei_intr_mgmt.c305 cm_set_elr_spsr_el3(NON_SECURE, (uintptr_t) se->ep, sdei_spsr); in sdei_set_elr_spsr()
/trusted-firmware-a/include/drivers/
A Dusb_device.h211 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 Dplat_common.c65 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 Dstm32image.c105 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 Dspmd_main.c470 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 Dplatform.h150 int plat_sdei_validate_entry_point(uintptr_t ep, unsigned int client_mode);
/trusted-firmware-a/docs/build/latex/
A Dtrustedfirmware-a.aux430 \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 Dsearchindex.js1 …3,142,143],environment:142,envisag:53,eoe:29,eoi:[11,27],eoid:11,eoimod:28,ep:53,ep_info:[17,53,12…

Completed in 46 milliseconds

12