/u-boot/arch/nios2/include/asm/ |
H A D | dma-mapping.h | 11 static inline void *dma_alloc_coherent(size_t len, unsigned long *handle) argument 19 if (handle) 20 *handle = addr;
|
/u-boot/arch/riscv/include/asm/ |
H A D | dma-mapping.h | 18 static inline void *dma_alloc_coherent(size_t len, unsigned long *handle) argument 20 *handle = (unsigned long)memalign(ARCH_DMA_MINALIGN, len); 21 return (void *)*handle;
|
/u-boot/arch/x86/include/asm/ |
H A D | dma-mapping.h | 16 static inline void *dma_alloc_coherent(size_t len, unsigned long *handle) argument 18 *handle = (unsigned long)memalign(ARCH_DMA_MINALIGN, len); 19 return (void *)*handle;
|
/u-boot/arch/arm/include/asm/ |
H A D | dma-mapping.h | 17 static inline void *dma_alloc_coherent(size_t len, unsigned long *handle) argument 19 *handle = (unsigned long)memalign(ARCH_DMA_MINALIGN, ROUND(len, ARCH_DMA_MINALIGN)); 20 return (void *)*handle;
|
/u-boot/examples/api/ |
H A D | glue.h | 54 int ub_dev_open(int handle); 55 int ub_dev_close(int handle); 56 int ub_dev_read(int handle, void *buf, lbasize_t len, 58 int ub_dev_send(int handle, void *buf, int len); 59 int ub_dev_recv(int handle, void *buf, int len, int *rlen);
|
H A D | glue.c | 209 * handle: 0-based id of the device 213 int ub_dev_open(int handle) argument 218 if (handle < 0 || handle >= UB_MAX_DEV) 221 di = &devices[handle]; 229 int ub_dev_close(int handle) argument 233 if (handle < 0 || handle >= UB_MAX_DEV) 236 di = &devices[handle]; 247 * - have sane handle 252 dev_valid(int handle) argument 263 dev_stor_valid(int handle) argument 274 ub_dev_read(int handle, void *buf, lbasize_t len, lbastart_t start, lbasize_t *rlen) argument 294 dev_net_valid(int handle) argument 305 ub_dev_recv(int handle, void *buf, int len, int *rlen) argument 323 ub_dev_send(int handle, void *buf, int len) argument [all...] |
/u-boot/include/linux/soc/ti/ |
H A D | ti_sci_protocol.h | 53 int (*board_config)(const struct ti_sci_handle *handle, 55 int (*board_config_rm)(const struct ti_sci_handle *handle, 57 int (*board_config_security)(const struct ti_sci_handle *handle, 59 int (*board_config_pm)(const struct ti_sci_handle *handle, 117 * -handle: Pointer to TISCI handle as retrieved by *ti_sci_get_handle 125 int (*get_device)(const struct ti_sci_handle *handle, u32 id); 126 int (*get_device_exclusive)(const struct ti_sci_handle *handle, u32 id); 127 int (*idle_device)(const struct ti_sci_handle *handle, u32 id); 128 int (*idle_device_exclusive)(const struct ti_sci_handle *handle, 697 devm_ti_sci_get_of_resource(const struct ti_sci_handle *handle, struct udevice *dev, u32 dev_id, char *of_prop) argument [all...] |
/u-boot/lib/efi_selftest/ |
H A D | efi_selftest_miniapp_return.c | 16 * @handle handle of the loaded image 20 efi_status_t EFIAPI efi_main(efi_handle_t handle, argument
|
H A D | efi_selftest_hii.c | 28 * @handle: handle of the loaded image 33 static int setup(const efi_handle_t handle, argument 70 * the provided handle. 76 efi_hii_handle_t handle; local 82 NULL, &handle); 83 if (ret != EFI_SUCCESS || !handle) { 90 handle); 110 efi_hii_handle_t handle = NULL; local 117 NULL, &handle); 584 efi_hii_handle_t handle = NULL; local 686 efi_hii_handle_t handle = NULL; local 737 efi_hii_handle_t handle = NULL; local 818 efi_hii_handle_t handle = NULL; local 877 efi_hii_handle_t handle = NULL; local 945 efi_hii_handle_t handle = NULL; local [all...] |
H A D | efi_selftest_startimage_return.c | 80 * @handle: handle of the loaded image 84 static int setup(const efi_handle_t handle, argument 87 image_handle = handle; 125 efi_handle_t handle; local 128 img.length, &handle); 133 ret = boottime->start_image(handle, NULL, NULL);
|
H A D | efi_selftest_exception.c | 100 * @handle: handle of the loaded image 104 static int setup(const efi_handle_t handle, argument 107 image_handle = handle; 126 efi_handle_t handle; local 129 img.length, &handle); 134 ret = boottime->start_image(handle, NULL, NULL);
|
H A D | efi_selftest_miniapp_exit.c | 21 * @image_handle: handle of the loaded image 60 * @handle: handle of the loaded image 64 efi_status_t EFIAPI efi_main(efi_handle_t handle, argument 73 if (check_loaded_image_protocol(handle, systable) != EFI_SUCCESS) { 83 systable->boottime->exit(handle, ret, sizeof(text), text);
|
H A D | efi_selftest_startimage_exit.c | 80 * @handle: handle of the loaded image 84 static int setup(const efi_handle_t handle, argument 87 image_handle = handle; 125 efi_handle_t handle; local 131 img.length, &handle); 136 ret = boottime->start_image(handle, &exit_data_size, &exit_data);
|
H A D | efi_selftest_watchdog.c | 66 * @handle: handle of the loaded image 70 static int setup(const efi_handle_t handle, argument 100 * @handle: handle of the loaded image 104 static int setup_timer(const efi_handle_t handle, argument 108 return setup(handle, systable); 114 * @handle: handle of the loaded image 118 static int setup_reboot(const efi_handle_t handle, argument [all...] |
H A D | efi_selftest_load_file.c | 285 * @handle: handle of the loaded image 289 static int efi_st_load_file_setup(const efi_handle_t handle, argument 294 image_handle = handle; 385 efi_handle_t handle; local 392 handle = NULL; 394 0, &handle); 403 ret = boottime->unload_image(handle); 411 handle = NULL; 413 0, &handle); [all...] |
H A D | efi_selftest_reset.c | 18 * @handle: handle of the loaded image 22 static int setup(const efi_handle_t handle, argument
|
H A D | efi_selftest_miniapp_exception.c | 16 * @handle handle of the loaded image 20 efi_status_t EFIAPI efi_main(efi_handle_t handle, argument
|
/u-boot/drivers/firmware/ |
H A D | ti_sci.c | 77 * @handle: Instance of TI SCI handle to send to clients. 89 struct ti_sci_handle handle; member in struct:ti_sci_info 107 #define handle_to_ti_sci_info(h) container_of(h, struct ti_sci_info, handle) 202 dev_err(info->dev, "%s: Unable to handle %zu xfer (max %d)\n", 285 * @handle: pointer to TI SCI handle 291 static int ti_sci_cmd_get_revision(struct ti_sci_handle *handle) argument 300 if (IS_ERR(handle)) 301 return PTR_ERR(handle); 342 cmd_set_board_config_using_msg(const struct ti_sci_handle *handle, u16 msg_type, u64 addr, u32 size) argument 384 ti_sci_cmd_set_board_config(const struct ti_sci_handle *handle, u64 addr, u32 size) argument 402 ti_sci_cmd_set_board_config_rm(const struct ti_sci_handle *handle, u64 addr, u32 size) argument 420 ti_sci_cmd_set_board_config_security(const struct ti_sci_handle *handle, u64 addr, u32 size) argument 437 ti_sci_cmd_set_board_config_pm(const struct ti_sci_handle *handle, u64 addr, u32 size) argument 495 ti_sci_set_device_state(const struct ti_sci_handle *handle, u32 id, u32 flags, u8 state) argument 543 ti_sci_set_device_state_no_wait(const struct ti_sci_handle *handle, u32 id, u32 flags, u8 state) argument 586 ti_sci_get_device_state(const struct ti_sci_handle *handle, u32 id, u32 *clcnt, u32 *resets, u8 *p_state, u8 *c_state) argument 646 ti_sci_cmd_get_device(const struct ti_sci_handle *handle, u32 id) argument 652 ti_sci_cmd_get_device_exclusive(const struct ti_sci_handle *handle, u32 id) argument 670 ti_sci_cmd_idle_device(const struct ti_sci_handle *handle, u32 id) argument 677 ti_sci_cmd_idle_device_exclusive(const struct ti_sci_handle *handle, u32 id) argument 695 ti_sci_cmd_put_device(const struct ti_sci_handle *handle, u32 id) argument 702 ti_sci_cmd_release_exclusive_devices(const struct ti_sci_handle *handle) argument 728 ti_sci_cmd_dev_is_valid(const struct ti_sci_handle *handle, u32 id) argument 744 ti_sci_cmd_dev_get_clcnt(const struct ti_sci_handle *handle, u32 id, u32 *count) argument 758 ti_sci_cmd_dev_is_idle(const struct ti_sci_handle *handle, u32 id, bool *r_state) argument 785 ti_sci_cmd_dev_is_stop(const struct ti_sci_handle *handle, u32 id, bool *r_state, bool *curr_state) argument 816 ti_sci_cmd_dev_is_on(const struct ti_sci_handle *handle, u32 id, bool *r_state, bool *curr_state) argument 846 ti_sci_cmd_dev_is_trans(const struct ti_sci_handle *handle, u32 id, bool *curr_state) argument 873 ti_sci_cmd_set_device_resets(const struct ti_sci_handle *handle, u32 id, u32 reset_state) argument 915 ti_sci_cmd_get_device_resets(const struct ti_sci_handle *handle, u32 id, u32 *reset_state) argument 934 ti_sci_set_clock_state(const struct ti_sci_handle *handle, u32 dev_id, u8 clk_id, u32 flags, u8 state) argument 981 ti_sci_cmd_get_clock_state(const struct ti_sci_handle *handle, u32 dev_id, u8 clk_id, u8 *programmed_state, u8 *current_state) argument 1038 ti_sci_cmd_get_clock(const struct ti_sci_handle *handle, u32 dev_id, u8 clk_id, bool needs_ssc, bool can_change_freq, bool enable_input_term) argument 1064 ti_sci_cmd_idle_clock(const struct ti_sci_handle *handle, u32 dev_id, u8 clk_id) argument 1083 ti_sci_cmd_put_clock(const struct ti_sci_handle *handle, u32 dev_id, u8 clk_id) argument 1101 ti_sci_cmd_clk_is_auto(const struct ti_sci_handle *handle, u32 dev_id, u8 clk_id, bool *req_state) argument 1130 ti_sci_cmd_clk_is_on(const struct ti_sci_handle *handle, u32 dev_id, u8 clk_id, bool *req_state, bool *curr_state) argument 1163 ti_sci_cmd_clk_is_off(const struct ti_sci_handle *handle, u32 dev_id, u8 clk_id, bool *req_state, bool *curr_state) argument 1195 ti_sci_cmd_clk_set_parent(const struct ti_sci_handle *handle, u32 dev_id, u8 clk_id, u8 parent_id) argument 1240 ti_sci_cmd_clk_get_parent(const struct ti_sci_handle *handle, u32 dev_id, u8 clk_id, u8 *parent_id) argument 1286 ti_sci_cmd_clk_get_num_parents(const struct ti_sci_handle *handle, u32 dev_id, u8 clk_id, u8 *num_parents) argument 1344 ti_sci_cmd_clk_get_match_freq(const struct ti_sci_handle *handle, u32 dev_id, u8 clk_id, u64 min_freq, u64 target_freq, u64 max_freq, u64 *match_freq) argument 1404 ti_sci_cmd_clk_set_freq(const struct ti_sci_handle *handle, u32 dev_id, u8 clk_id, u64 min_freq, u64 target_freq, u64 max_freq) argument 1452 ti_sci_cmd_clk_get_freq(const struct ti_sci_handle *handle, u32 dev_id, u8 clk_id, u64 *freq) argument 1495 ti_sci_cmd_core_reboot(const struct ti_sci_handle *handle) argument 1540 ti_sci_get_resource_range(const struct ti_sci_handle *handle, u32 dev_id, u8 subtype, u8 s_host, u16 *range_start, u16 *range_num) argument 1586 ti_sci_cmd_get_resource_range_static(const struct ti_sci_handle *handle, u32 dev_id, u8 subtype, u16 *range_start, u16 *range_num) argument 1625 ti_sci_cmd_get_resource_range(const struct ti_sci_handle *handle, u32 dev_id, u8 subtype, u16 *range_start, u16 *range_num) argument 1648 ti_sci_cmd_get_resource_range_from_shost(const struct ti_sci_handle *handle, u32 dev_id, u8 subtype, u8 s_host, u16 *range_start, u16 *range_num) argument 1664 ti_sci_cmd_query_msmc(const struct ti_sci_handle *handle, u64 *msmc_start, u64 *msmc_end) argument 1709 ti_sci_cmd_proc_request(const struct ti_sci_handle *handle, u8 proc_id) argument 1748 ti_sci_cmd_proc_release(const struct ti_sci_handle *handle, u8 proc_id) argument 1790 ti_sci_cmd_proc_handover(const struct ti_sci_handle *handle, u8 proc_id, u8 host_id) argument 1833 ti_sci_cmd_set_proc_boot_cfg(const struct ti_sci_handle *handle, u8 proc_id, u64 bootvector, u32 config_flags_set, u32 config_flags_clear) argument 1882 ti_sci_cmd_set_proc_boot_ctrl(const struct ti_sci_handle *handle, u8 proc_id, u32 control_flags_set, u32 control_flags_clear) argument 1929 ti_sci_cmd_proc_auth_boot_image(const struct ti_sci_handle *handle, u64 *image_addr, u32 *image_size) argument 1977 ti_sci_cmd_get_proc_boot_status(const struct ti_sci_handle *handle, u8 proc_id, u64 *bv, u32 *cfg_flags, u32 *ctrl_flags, u32 *sts_flags) argument 2056 ti_sci_proc_wait_boot_status_no_wait(const struct ti_sci_handle *handle, u8 proc_id, u8 num_wait_iterations, u8 num_match_iterations, u8 delay_per_iteration_us, u8 delay_before_iterations_us, u32 status_flags_1_set_all_wait, u32 status_flags_1_set_any_wait, u32 status_flags_1_clr_all_wait, u32 status_flags_1_clr_any_wait) argument 2113 ti_sci_cmd_proc_shutdown_no_wait(const struct ti_sci_handle *handle, u8 proc_id) argument 2175 ti_sci_cmd_ring_config(const struct ti_sci_handle *handle, u32 valid_params, u16 nav_id, u16 index, u32 addr_lo, u32 addr_hi, u32 count, u8 mode, u8 size, u8 order_id) argument 2219 ti_sci_cmd_rm_psil_pair(const struct ti_sci_handle *handle, u32 nav_id, u32 src_thread, u32 dst_thread) argument 2256 ti_sci_cmd_rm_psil_unpair(const struct ti_sci_handle *handle, u32 nav_id, u32 src_thread, u32 dst_thread) argument 2293 ti_sci_cmd_rm_udmap_tx_ch_cfg( const struct ti_sci_handle *handle, const struct ti_sci_msg_rm_udmap_tx_ch_cfg *params) argument 2347 ti_sci_cmd_rm_udmap_rx_ch_cfg( const struct ti_sci_handle *handle, const struct ti_sci_msg_rm_udmap_rx_ch_cfg *params) argument 2398 ti_sci_cmd_rm_udmap_rx_flow_cfg( const struct ti_sci_handle *handle, const struct ti_sci_msg_rm_udmap_flow_cfg *params) argument 2462 ti_sci_cmd_set_fwl_region(const struct ti_sci_handle *handle, const struct ti_sci_msg_fwl_region *region) argument 2510 ti_sci_cmd_get_fwl_region(const struct ti_sci_handle *handle, struct ti_sci_msg_fwl_region *region) argument 2564 ti_sci_cmd_change_fwl_owner(const struct ti_sci_handle *handle, struct ti_sci_msg_fwl_owner *owner) argument 2710 struct ti_sci_handle *handle = &info->handle; local 2958 devm_ti_sci_get_of_resource(const struct ti_sci_handle *handle, struct udevice *dev, u32 dev_id, char *of_prop) argument [all...] |
/u-boot/lib/efi_driver/ |
H A D | efi_block_device.c | 7 * The EFI uclass creates a handle for this driver and installs the 23 * exposes a handle with the block IO protocol. It calls ConnectController. 42 * @handle: handle of the controller on which this driver is installed 46 efi_handle_t handle; member in struct:efi_blk_plat 110 * efi_bl_create_block_device() - create a block device for a handle 112 * @handle: handle 117 efi_bl_create_block_device(efi_handle_t handle, void *interface) argument 147 plat->handle 179 efi_bl_bind( struct efi_driver_binding_extended_protocol *this, efi_handle_t handle, void *interface) argument [all...] |
/u-boot/include/ |
H A D | efi_driver.h | 38 * driver to EFI driver to a handle. 45 efi_handle_t handle, void *interface);
|
H A D | smbios.h | 95 u16 handle; member in struct:smbios_type0 141 u16 handle; member in struct:smbios_type1 159 u16 handle; member in struct:smbios_type2 180 u16 handle; member in struct:smbios_type3 208 u16 handle; member in struct:smbios_type4 241 u16 handle; member in struct:smbios_type32 250 u16 handle; member in struct:smbios_type127 257 u16 handle; member in struct:smbios_header 268 * @handle: the structure's handle, 270 fill_smbios_header(void *table, int type, int length, int handle) argument [all...] |
/u-boot/lib/efi/ |
H A D | efi_app_init.c | 30 * @handle: handle of the controller on which this driver is installed 37 int efi_bind_block(efi_handle_t handle, struct efi_block_io *blkio, argument 46 plat.handle = handle; 118 efi_handle_t *handle; local 126 &num_handles, &handle); 145 ret = boot->handle_protocol(handle[i], &efi_devpath_guid, 152 ret = boot->handle_protocol(handle[i], &efi_blkio_guid, 164 ret = efi_bind_block(handle[ [all...] |
/u-boot/drivers/crypto/fsl/ |
H A D | jobdesc.h | 41 void inline_cnstr_jobdesc_rng_instantiation(u32 *desc, int handle, int do_sk); 43 void inline_cnstr_jobdesc_rng_deinstantiation(u32 *desc, int handle);
|
/u-boot/include/xen/interface/io/ |
H A D | blkif.h | 633 blkif_vdev_t handle; /* only for read/write requests */ member in struct:blkif_request 647 blkif_vdev_t handle; /* same as for read/write requests */ member in struct:blkif_request_discard 659 blkif_vdev_t handle; /* same as for read/write requests */ member in struct:blkif_request_indirect
|
/u-boot/lib/efi_loader/ |
H A D | efi_boottime.c | 62 (efi_handle_t handle, const efi_guid_t *protocol, 213 * efi_purge_handle() - Clean the deleted handle from the various lists 214 * @handle: handle to remove 218 static efi_status_t efi_purge_handle(efi_handle_t handle) argument 222 if (!list_empty(&handle->protocols)) 224 /* The handle is about to be freed. Remove it from events */ 229 if (handle == hitem->handle) { 235 /* The last protocol has been removed, delete the handle 545 efi_add_handle(efi_handle_t handle) argument 559 efi_create_handle(efi_handle_t *handle) argument 581 efi_search_protocol(const efi_handle_t handle, const efi_guid_t *protocol_guid, struct efi_handler **handler) argument 614 efi_remove_protocol(const efi_handle_t handle, const efi_guid_t *protocol, void *protocol_interface) argument 637 efi_remove_all_protocols(const efi_handle_t handle) argument 664 efi_delete_handle(efi_handle_t handle) argument 1109 efi_search_obj(const efi_handle_t handle) argument 1166 efi_add_protocol(const efi_handle_t handle, const efi_guid_t *protocol, void *protocol_interface) argument 1227 efi_install_protocol_interface( efi_handle_t *handle, const efi_guid_t *protocol, int protocol_interface_type, void *protocol_interface) argument 1268 efi_get_drivers(efi_handle_t handle, const efi_guid_t *protocol, efi_uintn_t *number_of_drivers, efi_handle_t **driver_handle_buffer) argument 1339 efi_disconnect_all_drivers(efi_handle_t handle, const efi_guid_t *protocol, efi_handle_t child_handle) argument 1381 efi_uninstall_protocol(efi_handle_t handle, const efi_guid_t *protocol, void *protocol_interface, bool preserve) argument 1449 efi_uninstall_protocol_interface(efi_handle_t handle, const efi_guid_t *protocol, void *protocol_interface) argument 1520 efi_search(enum efi_locate_search_type search_type, const efi_guid_t *protocol, efi_handle_t handle) argument 1580 struct efi_protocol_notification *handle = NULL; local 2361 efi_close_protocol(efi_handle_t handle, const efi_guid_t *protocol, efi_handle_t agent_handle, efi_handle_t controller_handle) argument 2404 efi_close_protocol_ext(efi_handle_t handle, const efi_guid_t *protocol, efi_handle_t agent_handle, efi_handle_t controller_handle) argument 2434 efi_open_protocol_information( efi_handle_t handle, const efi_guid_t *protocol, struct efi_open_protocol_info_entry **entry_buffer, efi_uintn_t *entry_count) argument 2497 efi_protocols_per_handle( efi_handle_t handle, efi_guid_t ***protocol_buffer, efi_uintn_t *protocol_buffer_count) argument 2638 struct efi_protocol_notification *handle; local 2689 efi_install_multiple_protocol_interfaces_int(efi_handle_t *handle, efi_va_list argptr) argument 2761 efi_install_multiple_protocol_interfaces(efi_handle_t *handle, ...) argument 2787 efi_install_multiple_protocol_interfaces_ext(efi_handle_t *handle, ...) argument 2812 efi_uninstall_multiple_protocol_interfaces_int(efi_handle_t handle, efi_va_list argptr) argument 2891 efi_uninstall_multiple_protocol_interfaces(efi_handle_t handle, ...) argument 2917 efi_uninstall_multiple_protocol_interfaces_ext(efi_handle_t handle, ...) argument 3123 efi_open_protocol(efi_handle_t handle, const efi_guid_t *protocol, void **protocol_interface, efi_handle_t agent_handle, efi_handle_t controller_handle, uint32_t attributes) argument 3539 efi_handle_protocol(efi_handle_t handle, const efi_guid_t *protocol, void **protocol_interface) argument 3741 efi_reinstall_protocol_interface( efi_handle_t handle, const efi_guid_t *protocol, void *old_interface, void *new_interface) argument [all...] |