Home
last modified time | relevance | path

Searched defs:handle (Results 1 – 25 of 122) sorted by relevance

12345

/arm-trusted-firmware/drivers/brcm/emmc/
H A Demmc_csl_sdcard.c57 int set_boot_config(struct sd_handle *handle, uint32_t config) in set_boot_config() argument
62 void process_csd_mmc_speed(struct sd_handle *handle, uint32_t csd_mmc_speed) in process_csd_mmc_speed() argument
122 int set_card_data_width(struct sd_handle *handle, in argument
191 abort_err(struct sd_handle * handle) abort_err() argument
253 process_data_xfer(struct sd_handle * handle,uint8_t * buffer,uint32_t addr,uint32_t length,int dir) process_data_xfer() argument
314 select_blk_sz(struct sd_handle * handle,uint16_t size) select_blk_sz() argument
326 init_card(struct sd_handle * handle,int detection) init_card() argument
398 init_mmc_card(struct sd_handle * handle) init_mmc_card() argument
501 reset_card(struct sd_handle * handle) reset_card() argument
521 xfer_data(struct sd_handle * handle,uint32_t mode,uint32_t addr,uint32_t length,uint8_t * base) xfer_data() argument
565 erase_card(struct sd_handle * handle,uint32_t addr,uint32_t blocks) erase_card() argument
589 read_block(struct sd_handle * handle,uint8_t * dst,uint32_t addr,uint32_t len) read_block() argument
614 read_block(struct sd_handle * handle,uint8_t * dst,uint32_t addr,uint32_t len) read_block() argument
626 write_block(struct sd_handle * handle,uint8_t * src,uint32_t addr,uint32_t len) write_block() argument
654 write_buffer(struct sd_handle * handle,uint32_t length,uint8_t * data) write_buffer() argument
718 read_buffer(struct sd_handle * handle,uint32_t length,uint8_t * data) read_buffer() argument
781 check_error(struct sd_handle * handle,uint32_t ints) check_error() argument
816 err_recovery(struct sd_handle * handle,uint32_t errors) err_recovery() argument
847 process_cmd_response(struct sd_handle * handle,uint32_t cmdIndex,uint32_t rsp0,uint32_t rsp1,uint32_t rsp2,uint32_t rsp3,struct sd_resp * resp) process_cmd_response() argument
928 data_xfer_setup(struct sd_handle * handle,uint8_t * data,uint32_t length,int dir) data_xfer_setup() argument
943 reset_host_ctrl(struct sd_handle * handle) reset_host_ctrl() argument
950 pstate_log(struct sd_handle * handle) pstate_log() argument
969 wait_for_event(struct sd_handle * handle,uint32_t mask,uint32_t retry) wait_for_event() argument
1047 set_config(struct sd_handle * handle,uint32_t speed,uint32_t retry,uint32_t dma,uint32_t dmaBound,uint32_t blkSize,uint32_t wfe_retry) set_config() argument
1064 mmc_cmd1(struct sd_handle * handle) mmc_cmd1() argument
[all...]
H A Demmc_chal_sd.c78 static int32_t chal_sd_set_power(struct sd_dev *handle, in chal_sd_set_power() argument
159 chal_sd_set_dma_boundary(struct sd_dev * handle,uint32_t boundary) chal_sd_set_dma_boundary() argument
169 chal_sd_setup_handler(struct sd_dev * handle,uint32_t sdBase,uint32_t hostBase) chal_sd_setup_handler() argument
193 struct sd_dev *handle; chal_sd_init() local
300 struct sd_dev *handle; chal_sd_set_speed() local
342 struct sd_dev *handle; chal_sd_check_cap() local
360 struct sd_dev *handle; chal_sd_start() local
391 struct sd_dev *handle; chal_sd_get_atuo12_error() local
407 struct sd_dev *handle; chal_sd_get_present_status() local
424 struct sd_dev *handle; chal_sd_config_bus_width() local
464 struct sd_dev *handle; chal_sd_set_dma() local
502 struct sd_dev *handle; chal_sd_get_dma_addr() local
520 struct sd_dev *handle; chal_sd_send_cmd() local
563 struct sd_dev *handle; chal_sd_set_dma_addr() local
616 struct sd_dev *handle; chal_sd_set_clock() local
693 struct sd_dev *handle; chal_sd_setup_xfer() local
728 struct sd_dev *handle; chal_sd_write_buffer() local
783 struct sd_dev *handle; chal_sd_read_buffer() local
834 struct sd_dev *handle; chal_sd_reset_line() local
867 struct sd_dev *handle; chal_sd_get_response() local
891 struct sd_dev *handle; chal_sd_clear_pending_irq() local
914 struct sd_dev *handle; chal_sd_get_irq_status() local
930 struct sd_dev *handle; chal_sd_clear_irq() local
955 struct sd_dev *handle; chal_sd_config() local
983 struct sd_dev *handle; chal_sd_dump_fifo() local
1004 struct sd_dev *handle; chal_sd_set_irq_signal() local
[all...]
H A Demmc_csl_sdcmd.c19 int sd_cmd0(struct sd_handle *handle) in sd_cmd0() argument
35 int sd_cmd1(struct sd_handle *handle, uint32_t ocr, uint32_t *ocr_output) in sd_cmd1() argument
57 int sd_cmd2(struct sd_handle *handle) in sd_cmd2() argument
68 int sd_cmd3(struct sd_handle *handle) in sd_cmd3() argument
92 sd_cmd7(struct sd_handle * handle,uint32_t rca) sd_cmd7() argument
127 mmc_cmd8(struct sd_handle * handle,uint8_t * extCsdReg) mmc_cmd8() argument
150 sd_cmd9(struct sd_handle * handle,struct sd_card_data * card) sd_cmd9() argument
244 sd_cmd13(struct sd_handle * handle,uint32_t * status) sd_cmd13() argument
266 sd_cmd16(struct sd_handle * handle,uint32_t length) sd_cmd16() argument
312 sd_cmd17(struct sd_handle * handle,uint32_t addr,uint32_t len,uint8_t * buffer) sd_cmd17() argument
366 sd_cmd18(struct sd_handle * handle,uint32_t addr,uint32_t len,uint8_t * buffer) sd_cmd18() argument
423 card_sts_resp(struct sd_handle * handle,uint32_t * status) card_sts_resp() argument
457 sd_cmd35(struct sd_handle * handle,uint32_t start) sd_cmd35() argument
483 sd_cmd36(struct sd_handle * handle,uint32_t end) sd_cmd36() argument
509 sd_cmd38(struct sd_handle * handle) sd_cmd38() argument
537 sd_cmd24(struct sd_handle * handle,uint32_t addr,uint32_t len,uint8_t * buffer) sd_cmd24() argument
591 sd_cmd25(struct sd_handle * handle,uint32_t addr,uint32_t len,uint8_t * buffer) sd_cmd25() argument
648 mmc_cmd6(struct sd_handle * handle,uint32_t argument) mmc_cmd6() argument
701 send_cmd(struct sd_handle * handle,uint32_t cmdIndex,uint32_t argument,uint32_t options,struct sd_resp * resp) send_cmd() argument
[all...]
/arm-trusted-firmware/drivers/io/
H A Dio_storage.c52 static bool is_valid_entity(const uintptr_t handle) in is_valid_entity() argument
84 static void set_handle(uintptr_t *handle, io_entity_t *entity) in set_handle() argument
162 uintptr_t *handle) in io_dev_open() argument
209 io_open(uintptr_t dev_handle,const uintptr_t spec,uintptr_t * handle) io_open() argument
235 io_seek(uintptr_t handle,io_seek_mode_t mode,signed long long offset) io_seek() argument
252 io_size(uintptr_t handle,size_t * length) io_size() argument
269 io_read(uintptr_t handle,uintptr_t buffer,size_t length,size_t * length_read) io_read() argument
289 io_write(uintptr_t handle,const uintptr_t buffer,size_t length,size_t * length_written) io_write() argument
311 io_close(uintptr_t handle) io_close() argument
[all...]
/arm-trusted-firmware/drivers/st/usb/
H A Dstm32mp1_usb.c223 static enum usb_status usb_dwc2_flush_tx_fifo(void *handle, uint32_t num) in usb_dwc2_flush_tx_fifo() argument
246 static enum usb_status usb_dwc2_flush_rx_fifo(void *handle) in usb_dwc2_flush_rx_fifo() argument
268 usb_dwc2_read_int(void * handle) usb_dwc2_read_int() argument
281 usb_dwc2_all_out_ep_int(void * handle) usb_dwc2_all_out_ep_int() argument
295 usb_dwc2_all_in_ep_int(void * handle) usb_dwc2_all_in_ep_int() argument
311 usb_dwc2_out_ep_int(void * handle,uint8_t epnum) usb_dwc2_out_ep_int() argument
327 usb_dwc2_in_ep_int(void * handle,uint8_t epnum) usb_dwc2_in_ep_int() argument
347 usb_dwc2_get_mode(void * handle) usb_dwc2_get_mode() argument
359 usb_dwc2_activate_setup(void * handle) usb_dwc2_activate_setup() argument
382 usb_dwc2_ep0_out_start(void * handle) usb_dwc2_ep0_out_start() argument
406 usb_dwc2_write_packet(void * handle,uint8_t * src,uint8_t ch_ep_num,uint16_t len) usb_dwc2_write_packet() argument
439 usb_dwc2_read_packet(void * handle,uint8_t * dest,uint16_t len) usb_dwc2_read_packet() argument
464 usb_dwc2_ep_start_xfer(void * handle,struct usbd_ep * ep) usb_dwc2_ep_start_xfer() argument
560 usb_dwc2_ep0_start_xfer(void * handle,struct usbd_ep * ep) usb_dwc2_ep0_start_xfer() argument
633 usb_dwc2_ep_set_stall(void * handle,struct usbd_ep * ep) usb_dwc2_ep_set_stall() argument
673 usb_dwc2_stop_device(void * handle) usb_dwc2_stop_device() argument
713 usb_dwc2_set_address(void * handle,uint8_t address) usb_dwc2_set_address() argument
734 usb_dwc2_write_empty_tx_fifo(void * handle,uint32_t epnum,uint32_t xfer_len,uint32_t * xfer_count,uint32_t maxpacket,uint8_t ** xfer_buff) usb_dwc2_write_empty_tx_fifo() argument
791 usb_dwc2_it_handler(void * handle,uint32_t * param) usb_dwc2_it_handler() argument
1052 usb_dwc2_start_device(void * handle) usb_dwc2_start_device() argument
[all...]
/arm-trusted-firmware/services/std_svc/trng/
H A Dtrng_main.c23 static uintptr_t trng_rnd32(uint32_t nbits, void *handle) in trng_rnd32() argument
59 static uintptr_t trng_rnd64(uint32_t nbits, void *handle) in trng_rnd64() argument
111 trng_smc_handler(uint32_t smc_fid,u_register_t x1,u_register_t x2,u_register_t x3,u_register_t x4,void * cookie,void * handle,u_register_t flags) trng_smc_handler() argument
[all...]
/arm-trusted-firmware/plat/xilinx/common/pm_service/
H A Dpm_svc_main.c51 static uint64_t ipi_fiq_handler(uint32_t id, uint32_t flags, void *handle, in ipi_fiq_handler() argument
175 void *handle, uint32_t security_flag) in eemi_for_compatibility() argument
244 void *handle, uint32_ in eemi_psci_debugfs_handler() argument
292 TF_A_specific_handler(uint32_t api_id,uint32_t * pm_arg,void * handle,uint32_t security_flag) TF_A_specific_handler() argument
350 eemi_handler(uint32_t api_id,uint32_t * pm_arg,void * handle,uint32_t security_flag) eemi_handler() argument
399 pm_smc_handler(uint32_t smc_fid,uint64_t x1,uint64_t x2,uint64_t x3,uint64_t x4,const void * cookie,void * handle,uint64_t flags) pm_smc_handler() argument
[all...]
/arm-trusted-firmware/services/spd/tspd/
H A Dtspd_main.c60 uint64_t tspd_handle_sp_preemption(void *handle) in tspd_handle_sp_preemption() argument
110 void *handle, in tspd_sel1_interrupt_handler() argument
226 void *handle, in tspd_ns_interrupt_handler() argument
347 tspd_smc_handler(uint32_t smc_fid,u_register_t x1,u_register_t x2,u_register_t x3,u_register_t x4,void * cookie,void * handle,u_register_t flags) tspd_smc_handler() argument
[all...]
/arm-trusted-firmware/services/spd/pncd/
H A Dpncd_main.c65 void *handle; in context_restore() local
176 void *handle, in pncd_sel1_interrupt_handler() argument
289 plat_pncd_smc_handler(uint32_t smc_fid,u_register_t x1,u_register_t x2,u_register_t x3,u_register_t x4,void * cookie,void * handle,u_register_t flags) plat_pncd_smc_handler() argument
318 pncd_smc_handler_unsafe(uint32_t smc_fid,u_register_t x1,u_register_t x2,u_register_t x3,u_register_t x4,void * cookie,void * handle,u_register_t flags) pncd_smc_handler_unsafe() argument
439 pncd_smc_handler(uint32_t smc_fid,u_register_t x1,u_register_t x2,u_register_t x3,u_register_t x4,void * cookie,void * handle,u_register_t flags) pncd_smc_handler() argument
[all...]
/arm-trusted-firmware/plat/mediatek/common/
H A Dmtk_sip_svc.c31 void *handle, in mediatek_plat_sip_handler() argument
46 void *handle, in mediatek_sip_handler() argument
97 void *handle, in sip_smc_handler() argument
[all...]
H A Dmtk_smc_handlers.c145 void *handle, in mtk_smc_handler_sel1() argument
167 void *handle, in mtk_smc_handler_bl33() argument
190 void *handle, in mtk_smc_handler_nsel1() argument
212 void *handle, in mtk_smc_handler() argument
[all...]
/arm-trusted-firmware/services/std_svc/spm/el3_spmc/
H A Dspmc_main.c137 uint64_t spmc_ffa_error_return(void *handle, int error_code) in spmc_ffa_error_return() argument
205 void *handle, in spmc_smc_return() argument
292 void *handle) in direct_msg_validate_lp_resp() argument
331 direct_req_smc_handler(uint32_t smc_fid,bool secure_origin,uint64_t x1,uint64_t x2,uint64_t x3,uint64_t x4,void * cookie,void * handle,uint64_t flags) direct_req_smc_handler() argument
425 direct_resp_smc_handler(uint32_t smc_fid,bool secure_origin,uint64_t x1,uint64_t x2,uint64_t x3,uint64_t x4,void * cookie,void * handle,uint64_t flags) direct_resp_smc_handler() argument
513 msg_wait_handler(uint32_t smc_fid,bool secure_origin,uint64_t x1,uint64_t x2,uint64_t x3,uint64_t x4,void * cookie,void * handle,uint64_t flags) msg_wait_handler() argument
585 ffa_error_handler(uint32_t smc_fid,bool secure_origin,uint64_t x1,uint64_t x2,uint64_t x3,uint64_t x4,void * cookie,void * handle,uint64_t flags) ffa_error_handler() argument
627 ffa_version_handler(uint32_t smc_fid,bool secure_origin,uint64_t x1,uint64_t x2,uint64_t x3,uint64_t x4,void * cookie,void * handle,uint64_t flags) ffa_version_handler() argument
680 rxtx_map_handler(uint32_t smc_fid,bool secure_origin,uint64_t x1,uint64_t x2,uint64_t x3,uint64_t x4,void * cookie,void * handle,uint64_t flags) rxtx_map_handler() argument
787 rxtx_unmap_handler(uint32_t smc_fid,bool secure_origin,uint64_t x1,uint64_t x2,uint64_t x3,uint64_t x4,void * cookie,void * handle,uint64_t flags) rxtx_unmap_handler() argument
997 partition_info_get_handler(uint32_t smc_fid,bool secure_origin,uint64_t x1,uint64_t x2,uint64_t x3,uint64_t x4,void * cookie,void * handle,uint64_t flags) partition_info_get_handler() argument
1110 ffa_feature_success(void * handle,uint32_t arg2) ffa_feature_success() argument
1117 ffa_features_retrieve_request(bool secure_origin,uint32_t input_properties,void * handle) ffa_features_retrieve_request() argument
1164 ffa_features_handler(uint32_t smc_fid,bool secure_origin,uint64_t x1,uint64_t x2,uint64_t x3,uint64_t x4,void * cookie,void * handle,uint64_t flags) ffa_features_handler() argument
1270 ffa_id_get_handler(uint32_t smc_fid,bool secure_origin,uint64_t x1,uint64_t x2,uint64_t x3,uint64_t x4,void * cookie,void * handle,uint64_t flags) ffa_id_get_handler() argument
1292 ffa_spm_id_get_handler(uint32_t smc_fid,bool secure_origin,uint64_t x1,uint64_t x2,uint64_t x3,uint64_t x4,void * cookie,void * handle,uint64_t flags) ffa_spm_id_get_handler() argument
1313 ffa_run_handler(uint32_t smc_fid,bool secure_origin,uint64_t x1,uint64_t x2,uint64_t x3,uint64_t x4,void * cookie,void * handle,uint64_t flags) ffa_run_handler() argument
1391 rx_release_handler(uint32_t smc_fid,bool secure_origin,uint64_t x1,uint64_t x2,uint64_t x3,uint64_t x4,void * cookie,void * handle,uint64_t flags) rx_release_handler() argument
1454 ffa_sec_ep_register_handler(uint32_t smc_fid,bool secure_origin,uint64_t x1,uint64_t x2,uint64_t x3,uint64_t x4,void * cookie,void * handle,uint64_t flags) ffa_sec_ep_register_handler() argument
1960 spmc_smc_handler(uint32_t smc_fid,bool secure_origin,uint64_t x1,uint64_t x2,uint64_t x3,uint64_t x4,void * cookie,void * handle,uint64_t flags) spmc_smc_handler() argument
2068 spmc_sp_interrupt_handler(uint32_t id,uint32_t flags,void * handle,void * cookie) spmc_sp_interrupt_handler() argument
[all...]
/arm-trusted-firmware/bl32/tsp/
H A Dffa_helpers.c61 uint64_t handle, uint64_t tag, ffa_endpoint_id16_t *receivers, in ffa_memory_region_init_header() argument
95 struct ffa_mtd *memory_region, uint64_t handle, in ffa_memory_retrieve_request_init() argument
134 smc_args_t ffa_mem_frag_rx(uint64_t handle, uint32_t recv_length) in ffa_mem_frag_rx() argument
145 uint64_t handle, ffa_endpoint_id16_t sender, in memory_retrieve() argument
229 memory_relinquish(struct ffa_mem_relinquish_descriptor * m,uint64_t handle,ffa_endpoint_id16_t id) memory_relinquish() argument
[all...]
/arm-trusted-firmware/plat/nxp/common/sip_svc/
H A Dsip_svc.c32 void *handle, in nxp_plat_sip_handler() argument
67 void *handle, in nxp_sip_handler() argument
163 sip_smc_handler(unsigned int smc_fid,u_register_t x1,u_register_t x2,u_register_t x3,u_register_t x4,void * cookie,void * handle,u_register_t flags) sip_smc_handler() argument
[all...]
/arm-trusted-firmware/services/std_svc/spmd/
H A Dspmd_main.c215 void *handle, in spmd_secure_interrupt_handler() argument
273 void *handle, in spmd_group0_interrupt_handler_nwd() argument
309 static uint64_t spmd_handle_group0_intr_swd(void *handle) in spmd_handle_group0_intr_swd() argument
670 void *handle) in spmd_smc_switch_state() argument
742 spmd_smc_forward(uint32_t smc_fid,bool secure_origin,uint64_t x1,uint64_t x2,uint64_t x3,uint64_t x4,void * cookie,void * handle,uint64_t flags) spmd_smc_forward() argument
757 spmd_ffa_error_return(void * handle,int error_code) spmd_ffa_error_return() argument
812 spmd_ffa_smc_handler(uint32_t smc_fid,uint64_t x1,uint64_t x2,uint64_t x3,uint64_t x4,void * cookie,void * handle,uint64_t flags) spmd_ffa_smc_handler() argument
841 spmd_smc_handler(uint32_t smc_fid,uint64_t x1,uint64_t x2,uint64_t x3,uint64_t x4,void * cookie,void * handle,uint64_t flags) spmd_smc_handler() argument
[all...]
/arm-trusted-firmware/plat/rockchip/common/
H A Drockchip_sip_svc.c29 void *handle, in rockchip_plat_sip_handler() argument
45 void *handle, in sip_smc_handler() argument
/arm-trusted-firmware/include/lib/psa/psa/
H A Dclient.h40 #define PSA_HANDLE_IS_VALID(handle) ((psa_handle_t)(handle) > 0) argument
45 #define PSA_HANDLE_TO_ERROR(handle) ((psa_status_t)(handle)) argument
[all...]
/arm-trusted-firmware/bl1/
H A Dbl1_fwu.c64 void *handle, in bl1_fwu_smc_handler() argument
504 bl1_fwu_image_execute(unsigned int image_id,void ** handle,unsigned int flags) bl1_fwu_image_execute() argument
553 bl1_fwu_image_resume(register_t image_param,void ** handle,unsigned int flags) bl1_fwu_image_resume() argument
619 bl1_fwu_sec_image_done(void ** handle,unsigned int flags) bl1_fwu_sec_image_done() argument
[all...]
/arm-trusted-firmware/services/spd/tlkd/
H A Dtlkd_main.c58 void *handle, in tlkd_interrupt_handler() argument
204 void *handle, in tlkd_smc_handler() argument
[all...]
/arm-trusted-firmware/plat/marvell/armada/a3k/common/
H A Da3700_ea.c24 void *handle, uint64_t flags) in plat_ea_handler() argument
/arm-trusted-firmware/plat/mediatek/drivers/dfd/
H A Ddfd.c15 void *handle, struct smccc_res *smccc_ret) in dfd_smc_dispatcher() argument
/arm-trusted-firmware/plat/rockchip/rk3368/
H A Dplat_sip_calls.c20 void *handle, in rockchip_plat_sip_handler() argument
/arm-trusted-firmware/plat/rockchip/px30/
H A Dplat_sip_calls.c20 void *handle, in rockchip_plat_sip_handler() argument
/arm-trusted-firmware/plat/rockchip/rk3288/
H A Dplat_sip_calls.c20 void *handle, in rockchip_plat_sip_handler() argument
/arm-trusted-firmware/lib/extensions/ras/
H A Dras_common.c65 void *handle, uint64_t flags) in ras_ea_handler() argument
124 void *handle, void *cookie) in ras_interrupt_handler() argument

12345