Home
last modified time | relevance | path

Searched refs:handle (Results 1 – 25 of 164) sorted by relevance

1234567

/trusted-firmware-a/drivers/brcm/emmc/
A Demmc_csl_sdcard.c223 process_cmd_response(handle, handle->device->ctrl.cmdIndex, in abort_err()
273 check_error(handle, handle->device->ctrl.cmdStatus); in process_data_xfer()
302 check_error(handle, handle->device->ctrl.cmdStatus); in process_data_xfer()
428 rc = sd_cmd2(handle); in init_mmc_card()
434 rc = sd_cmd3(handle); in init_mmc_card()
453 rc = sd_cmd7(handle, handle->device->ctrl.rca); in init_mmc_card()
672 check_error(handle, handle->device->ctrl.cmdStatus); in write_buffer()
700 check_error(handle, handle->device->ctrl.cmdStatus); in write_buffer()
735 check_error(handle, handle->device->ctrl.cmdStatus); in read_buffer()
764 check_error(handle, handle->device->ctrl.cmdStatus); in read_buffer()
[all …]
A Demmc_chal_sd.c84 if (handle == NULL) in chal_sd_set_power()
161 if (handle == NULL) in chal_sd_set_dma_boundary()
172 if (handle == NULL) in chal_sd_setup_handler()
178 handle->ctrl.rca = 0; in chal_sd_setup_handler()
193 struct sd_dev *handle; in chal_sd_init() local
300 struct sd_dev *handle; in chal_sd_set_speed() local
342 struct sd_dev *handle; in chal_sd_check_cap() local
360 struct sd_dev *handle; in chal_sd_start() local
491 handle->cfg.dma = 0; in chal_sd_set_dma()
701 handle->ctrl.blkReg = length | handle->cfg.dmaBoundary; in chal_sd_setup_xfer()
[all …]
A Demmc_csl_sdcmd.c19 int sd_cmd0(struct sd_handle *handle) in sd_cmd0() argument
76 handle->device->ctrl.rca = 0x5; in sd_cmd3()
87 handle->device->ctrl.rca = 0; in sd_cmd3()
212 handle->card->size = in sd_cmd9()
239 handle->device->cfg.blockSize = handle->card->maxRdBlkLen; in sd_cmd9()
670 wait_for_event(handle, in mmc_cmd6()
708 if (handle == NULL) { in send_cmd()
759 handle->device); in send_cmd()
762 check_error(handle, in send_cmd()
768 handle->device)); in send_cmd()
[all …]
/trusted-firmware-a/services/std_svc/trng/
A Dtrng_main.c29 SMC_RET1(handle, TRNG_E_INVALID_PARAMS); in trng_rnd32()
33 SMC_RET1(handle, TRNG_E_NO_ENTROPY); in trng_rnd32()
53 SMC_RET1(handle, TRNG_E_INVALID_PARAMS); in trng_rnd32()
65 SMC_RET1(handle, TRNG_E_INVALID_PARAMS); in trng_rnd64()
69 SMC_RET1(handle, TRNG_E_NO_ENTROPY); in trng_rnd64()
88 SMC_RET1(handle, TRNG_E_INVALID_PARAMS); in trng_rnd64()
111 void *handle, u_register_t flags) in trng_smc_handler() argument
119 SMC_RET1(handle, MAKE_SMCCC_VERSION( in trng_smc_handler()
125 SMC_RET1(handle, TRNG_E_SUCCESS); in trng_smc_handler()
127 SMC_RET1(handle, TRNG_E_NOT_SUPPORTED); in trng_smc_handler()
[all …]
/trusted-firmware-a/plat/xilinx/zynqmp/pm_service/
A Dpm_svc_main.c270 SMC_RET1(handle, SMC_UNK); in pm_smc_handler()
282 SMC_RET1(handle, (uint64_t)ret); in pm_smc_handler()
287 SMC_RET1(handle, (uint64_t)ret); in pm_smc_handler()
298 SMC_RET1(handle, (uint64_t)ret); in pm_smc_handler()
303 SMC_RET1(handle, (uint64_t)ret); in pm_smc_handler()
307 SMC_RET1(handle, (uint64_t)ret); in pm_smc_handler()
311 SMC_RET1(handle, (uint64_t)ret); in pm_smc_handler()
315 SMC_RET1(handle, (uint64_t)ret); in pm_smc_handler()
438 SMC_RET2(handle, in pm_smc_handler()
639 SMC_RET1(handle, SMC_UNK); in pm_smc_handler()
[all …]
/trusted-firmware-a/plat/xilinx/versal/pm_service/
A Dpm_svc_main.c142 SMC_RET1(handle, SMC_UNK); in pm_smc_handler()
162 SMC_RET1(handle, (uint64_t)ret); in pm_smc_handler()
166 SMC_RET1(handle, (uint64_t)ret); in pm_smc_handler()
171 SMC_RET1(handle, (uint64_t)ret); in pm_smc_handler()
175 SMC_RET1(handle, (uint64_t)ret); in pm_smc_handler()
179 SMC_RET1(handle, (uint64_t)ret); in pm_smc_handler()
184 SMC_RET1(handle, (uint64_t)ret); in pm_smc_handler()
189 SMC_RET1(handle, (uint64_t)ret); in pm_smc_handler()
194 SMC_RET1(handle, (uint64_t)ret); in pm_smc_handler()
246 SMC_RET2(handle, in pm_smc_handler()
[all …]
/trusted-firmware-a/plat/nxp/common/sip_svc/
A Dsip_svc.c32 void *handle, in nxp_plat_sip_handler() argument
36 SMC_RET1(handle, SMC_UNK); in nxp_plat_sip_handler()
67 void *handle, in nxp_sip_handler() argument
91 SMC_RET1(handle, SMC_UNK); in nxp_sip_handler()
110 SMC_RET1(handle, SMC_OK); in nxp_sip_handler()
120 SMC_RET2(handle, SMC_OK, in nxp_sip_handler()
125 SMC_RET3(handle, SMC_OK, in nxp_sip_handler()
134 SMC_RET1(handle, SMC_OK); in nxp_sip_handler()
144 SMC_RET1(handle, SMC_UNK); in nxp_sip_handler()
152 cookie, handle, flags); in nxp_sip_handler()
[all …]
/trusted-firmware-a/include/drivers/brcm/emmc/
A Demmc_csl_sd.h64 void data_xfer_setup(struct sd_handle *handle, uint8_t *data,
66 int reset_card(struct sd_handle *handle);
67 int reset_host_ctrl(struct sd_handle *handle);
68 int init_card(struct sd_handle *handle, int detection);
69 int init_mmc_card(struct sd_handle *handle);
72 int select_blk_sz(struct sd_handle *handle, uint16_t size);
73 int check_error(struct sd_handle *handle, uint32_t ints);
75 int process_data_xfer(struct sd_handle *handle, uint8_t *buffer,
87 int32_t set_config(struct sd_handle *handle, uint32_t speed,
93 int set_boot_config(struct sd_handle *handle, uint32_t config);
[all …]
A Demmc_csl_sdcmd.h140 int sd_cmd0(struct sd_handle *handle);
142 int sd_cmd2(struct sd_handle *handle);
143 int sd_cmd3(struct sd_handle *handle);
144 int sd_cmd7(struct sd_handle *handle, uint32_t rca);
148 int sd_cmd17(struct sd_handle *handle,
150 int sd_cmd18(struct sd_handle *handle,
153 int sd_cmd24(struct sd_handle *handle,
155 int sd_cmd25(struct sd_handle *handle,
159 int sd_cmd35(struct sd_handle *handle, uint32_t start);
160 int sd_cmd36(struct sd_handle *handle, uint32_t end);
[all …]
/trusted-firmware-a/plat/marvell/armada/common/
A Dmrvl_sip_svc.c79 void *handle, in mrvl_sip_smc_handler() argument
112 SMC_RET1(handle, ret); in mrvl_sip_smc_handler()
116 SMC_RET1(handle, ret); in mrvl_sip_smc_handler()
120 SMC_RET1(handle, ret); in mrvl_sip_smc_handler()
124 SMC_RET1(handle, ret); in mrvl_sip_smc_handler()
128 SMC_RET1(handle, ret); in mrvl_sip_smc_handler()
133 SMC_RET1(handle, ret); in mrvl_sip_smc_handler()
138 SMC_RET1(handle, 0); in mrvl_sip_smc_handler()
142 SMC_RET1(handle, 0); in mrvl_sip_smc_handler()
145 SMC_RET1(handle, 0); in mrvl_sip_smc_handler()
[all …]
/trusted-firmware-a/plat/imx/common/
A Dimx_sip_svc.c25 void *handle, in imx_sip_handler() argument
30 SMC_RET1(handle, imx_kernel_entry_handler(smc_fid, x1, x2, x3, x4)); in imx_sip_handler()
34 SMC_RET1(handle, imx_soc_info_handler(smc_fid, x1, x2, x3)); in imx_sip_handler()
39 return imx_srtc_handler(smc_fid, handle, x1, x2, x3, x4); in imx_sip_handler()
41 SMC_RET1(handle, imx_cpufreq_handler(smc_fid, x1, x2, x3)); in imx_sip_handler()
44 SMC_RET1(handle, imx_wakeup_src_handler(smc_fid, x1, x2, x3)); in imx_sip_handler()
47 return imx_otp_handler(smc_fid, handle, x1, x2); in imx_sip_handler()
49 SMC_RET1(handle, imx_misc_set_temp_handler(smc_fid, x1, x2, x3, x4)); in imx_sip_handler()
53 SMC_RET1(handle, imx_src_handler(smc_fid, x1, x2, x3, handle)); in imx_sip_handler()
57 SMC_RET1(handle, imx_buildinfo_handler(smc_fid, x1, x2, x3, x4)); in imx_sip_handler()
[all …]
/trusted-firmware-a/drivers/st/usb/
A Dstm32mp1_usb.c224 uintptr_t usb_base_addr = (uintptr_t)handle; in usb_dwc2_flush_tx_fifo()
247 uintptr_t usb_base_addr = (uintptr_t)handle; in usb_dwc2_flush_rx_fifo()
269 uintptr_t usb_base_addr = (uintptr_t)handle; in usb_dwc2_read_int()
282 uintptr_t usb_base_addr = (uintptr_t)handle; in usb_dwc2_all_out_ep_int()
696 usb_dwc2_flush_rx_fifo(handle); in usb_dwc2_stop_device()
697 usb_dwc2_flush_tx_fifo(handle, EP_ALL); in usb_dwc2_stop_device()
804 if (usb_dwc2_read_int(handle) == 0U) { in usb_dwc2_it_handler()
851 ep_intr = usb_dwc2_all_in_ep_int(handle); in usb_dwc2_it_handler()
933 usb_dwc2_flush_tx_fifo(handle, 0U); in usb_dwc2_it_handler()
949 ret = usb_dwc2_ep0_out_start(handle); in usb_dwc2_it_handler()
[all …]
/trusted-firmware-a/plat/nvidia/tegra/common/
A Dtegra_sip_calls.c38 void *handle, in tegra_sip_handler() argument
48 SMC_RET1(handle, (uint64_t)err); in tegra_sip_handler()
59 SMC_RET1(handle, (uint64_t)-ENOTSUP); in tegra_sip_handler()
68 SMC_RET1(handle, (uint64_t)err); in tegra_sip_handler()
76 SMC_RET1(handle, (uint64_t)-ENOTSUP); in tegra_sip_handler()
88 SMC_RET1(handle, (uint64_t)-ENOTSUP); in tegra_sip_handler()
104 SMC_RET1(handle, 0); in tegra_sip_handler()
115 SMC_RET1(handle, SMC_UNK); in tegra_sip_handler()
125 SMC_RET1(handle, 0); in tegra_sip_handler()
138 SMC_RET0(handle); in tegra_sip_handler()
[all …]
/trusted-firmware-a/drivers/io/
A Dio_storage.c86 assert(handle != NULL); in set_handle()
87 *handle = (uintptr_t)entity; in set_handle()
162 uintptr_t *handle) in io_dev_open() argument
164 assert(handle != NULL); in io_dev_open()
226 set_handle(handle, entity); in io_open()
269 int io_read(uintptr_t handle, in io_read() argument
275 assert(is_valid_entity(handle)); in io_read()
289 int io_write(uintptr_t handle, in io_write() argument
295 assert(is_valid_entity(handle)); in io_write()
311 int io_close(uintptr_t handle) in io_close() argument
[all …]
/trusted-firmware-a/services/spd/tlkd/
A Dtlkd_main.c58 void *handle, in tlkd_interrupt_handler() argument
204 void *handle, in tlkd_smc_handler() argument
213 assert(handle); in tlkd_smc_handler()
217 SMC_RET1(handle, SMC_UNK); in tlkd_smc_handler()
231 SMC_RET1(handle, SMC_UNK); in tlkd_smc_handler()
280 SMC_RET1(handle, SMC_UNK); in tlkd_smc_handler()
350 SMC_RET1(handle, SMC_UNK); in tlkd_smc_handler()
357 SMC_RET1(handle, SMC_UNK); in tlkd_smc_handler()
376 SMC_RET1(handle, SMC_UNK); in tlkd_smc_handler()
407 SMC_RET1(handle, SMC_UNK); in tlkd_smc_handler()
[all …]
/trusted-firmware-a/services/std_svc/
A Dpci_svc.c47 void *handle, in pci_smc_handler() argument
56 SMC_RET4(handle, ver.val, 0U, 0U, 0U); in pci_smc_handler()
65 SMC_RET1(handle, SMC_PCI_CALL_SUCCESS); in pci_smc_handler()
67 SMC_RET1(handle, SMC_PCI_CALL_NOT_SUPPORTED); in pci_smc_handler()
74 SMC_RET2(handle, SMC_PCI_CALL_INVAL_PARAM, 0U); in pci_smc_handler()
77 SMC_RET2(handle, SMC_PCI_CALL_INVAL_PARAM, 0U); in pci_smc_handler()
82 SMC_RET2(handle, SMC_PCI_CALL_SUCCESS, ret); in pci_smc_handler()
90 SMC_RET1(handle, SMC_PCI_CALL_INVAL_PARAM); in pci_smc_handler()
93 SMC_RET1(handle, ret); in pci_smc_handler()
105 SMC_RET3(handle, ret, start_end_bus, nseg); in pci_smc_handler()
[all …]
A Dstd_svc_setup.c85 void *handle, in std_svc_smc_handler() argument
117 cookie, handle, flags); in std_svc_smc_handler()
125 SMC_RET1(handle, ret); in std_svc_smc_handler()
135 handle, flags); in std_svc_smc_handler()
146 handle, flags); in std_svc_smc_handler()
170 handle, flags); in std_svc_smc_handler()
176 return pci_smc_handler(smc_fid, x1, x2, x3, x4, cookie, handle, in std_svc_smc_handler()
187 SMC_RET1(handle, PSCI_NUM_CALLS); in std_svc_smc_handler()
191 SMC_UUID_RET(handle, arm_svc_uid); in std_svc_smc_handler()
195 SMC_RET2(handle, STD_SVC_VERSION_MAJOR, STD_SVC_VERSION_MINOR); in std_svc_smc_handler()
[all …]
/trusted-firmware-a/services/std_svc/spmd/
A Dspmd_main.c91 void *handle);
180 void *handle, in spmd_secure_interrupt_handler() argument
413 void *handle) in spmd_smc_forward() argument
440 SMC_GET_GP(handle, CTX_GPREG_X5), in spmd_smc_forward()
499 void *handle, in spmd_smc_handler() argument
530 x1, x2, x3, x4, handle); in spmd_smc_handler()
567 x1, x2, x3, x4, handle); in spmd_smc_handler()
663 x1, x2, x3, x4, handle); in spmd_smc_handler()
673 x1, x2, x3, x4, handle); in spmd_smc_handler()
731 x1, x2, x3, x4, handle); in spmd_smc_handler()
[all …]
/trusted-firmware-a/plat/arm/common/
A Darm_sip_svc.c49 void *handle, in arm_sip_handler() argument
62 handle, flags); in arm_sip_handler()
71 handle, flags); in arm_sip_handler()
80 handle, flags); in arm_sip_handler()
91 SMC_RET1(handle, STATE_SW_E_DENIED); in arm_sip_handler()
98 (uint32_t) x4, handle); in arm_sip_handler()
101 SMC_RET1(handle, STATE_SW_E_DENIED); in arm_sip_handler()
117 SMC_RET1(handle, call_count); in arm_sip_handler()
121 SMC_UUID_RET(handle, arm_sip_svc_uid); in arm_sip_handler()
125 SMC_RET2(handle, ARM_SIP_SVC_VERSION_MAJOR, ARM_SIP_SVC_VERSION_MINOR); in arm_sip_handler()
[all …]
/trusted-firmware-a/services/spd/tspd/
A Dtspd_main.c110 void *handle, in tspd_sel1_interrupt_handler() argument
226 void *handle, in tspd_ns_interrupt_handler() argument
347 void *handle, in tspd_smc_handler() argument
370 SMC_RET1(handle, SMC_UNK); in tspd_smc_handler()
382 SMC_RET1(handle, SMC_UNK); in tspd_smc_handler()
440 SMC_RET1(handle, SMC_UNK); in tspd_smc_handler()
548 SMC_RET1(handle, SMC_UNK); in tspd_smc_handler()
705 SMC_RET1(handle, SMC_OK); in tspd_smc_handler()
727 SMC_RET1(handle, SMC_UNK); in tspd_smc_handler()
770 SMC_RET2(handle, x1, x2); in tspd_smc_handler()
[all …]
/trusted-firmware-a/plat/mediatek/common/
A Dmtk_sip_svc.c31 void *handle, in mediatek_plat_sip_handler() argument
35 SMC_RET1(handle, SMC_UNK); in mediatek_plat_sip_handler()
46 void *handle, in mediatek_sip_handler() argument
69 SMC_RET1(handle, ret); in mediatek_sip_handler()
75 SMC_RET0(handle); in mediatek_sip_handler()
84 cookie, handle, flags); in mediatek_sip_handler()
97 void *handle, in sip_smc_handler() argument
103 SMC_RET1(handle, in sip_smc_handler()
108 SMC_UUID_RET(handle, mtk_sip_svc_uid); in sip_smc_handler()
112 SMC_RET2(handle, MTK_SIP_SVC_VERSION_MAJOR, in sip_smc_handler()
[all …]
/trusted-firmware-a/plat/xilinx/common/ipi_mailbox_service/
A Dipi_mailbox_svc.c68 void *handle, uint64_t flags) in ipi_smc_handler() argument
86 SMC_RET1(handle, ret); in ipi_smc_handler()
91 SMC_RET1(handle, 0); in ipi_smc_handler()
94 SMC_RET1(handle, 0); in ipi_smc_handler()
103 SMC_RET1(handle, ret); in ipi_smc_handler()
111 SMC_RET1(handle, 0); in ipi_smc_handler()
121 SMC_RET1(handle, 0); in ipi_smc_handler()
125 SMC_RET1(handle, 0); in ipi_smc_handler()
128 SMC_RET1(handle, 0); in ipi_smc_handler()
131 SMC_RET1(handle, SMC_UNK); in ipi_smc_handler()
/trusted-firmware-a/plat/amlogic/common/
A Daml_sip_svc.c51 void *cookie, void *handle, in aml_sip_handler() argument
57 SMC_RET1(handle, AML_SHARE_MEM_INPUT_BASE); in aml_sip_handler()
60 SMC_RET1(handle, AML_SHARE_MEM_OUTPUT_BASE); in aml_sip_handler()
67 SMC_RET1(handle, ret); in aml_sip_handler()
70 SMC_RET1(handle, aml_efuse_user_max()); in aml_sip_handler()
74 SMC_RET1(handle, 0); in aml_sip_handler()
78 SMC_RET1(handle, 0); in aml_sip_handler()
81 SMC_RET1(handle, aml_sip_get_chip_id(x1)); in aml_sip_handler()
88 SMC_RET1(handle, SMC_UNK); in aml_sip_handler()
/trusted-firmware-a/plat/mediatek/common/custom/
A Doem_svc.c43 void *handle, in oem_smc_handler() argument
47 SMC_RET1(handle, SMC_UNK); in oem_smc_handler()
60 void *handle, in oem_svc_smc_handler() argument
68 handle, flags); in oem_svc_smc_handler()
76 SMC_RET1(handle, OEM_SVC_NUM_CALLS); in oem_svc_smc_handler()
80 SMC_UUID_RET(handle, oem_svc_uid); in oem_svc_smc_handler()
84 SMC_RET2(handle, OEM_VERSION_MAJOR, OEM_VERSION_MINOR); in oem_svc_smc_handler()
88 SMC_RET1(handle, SMC_UNK); in oem_svc_smc_handler()
/trusted-firmware-a/services/spd/trusty/
A Dtrusty.c141 void *handle, in trusty_fiq_handler() argument
151 SMC_RET0(handle); in trusty_fiq_handler()
156 SMC_RET0(handle); in trusty_fiq_handler()
168 SMC_RET0(handle); in trusty_fiq_handler()
186 SMC_RET1(handle, 0); in trusty_set_fiq_handler()
227 SMC_RET0(handle); in trusty_fiq_exit()
236 void *handle, in trusty_smc_handler() argument
249 SMC_RET1(handle, 0); in trusty_smc_handler()
251 SMC_RET1(handle, SMC_UNK); in trusty_smc_handler()
266 SMC_RET1(handle, SMC_UNK); in trusty_smc_handler()
[all …]

Completed in 53 milliseconds

1234567