Home
last modified time | relevance | path

Searched refs:dev_handle (Results 1 – 25 of 41) sorted by relevance

12

/trusted-firmware-a-3.6.0-3.5.0/plat/socionext/synquacer/
Dsq_io_storage.c85 uintptr_t *dev_handle; member
92 .dev_handle = &sq_backend_dev_handle,
96 .dev_handle = &sq_fip_dev_handle,
101 .dev_handle = &sq_fip_dev_handle,
106 .dev_handle = &sq_fip_dev_handle,
111 .dev_handle = &sq_fip_dev_handle,
117 .dev_handle = &sq_fip_dev_handle,
122 .dev_handle = &sq_fip_dev_handle,
127 .dev_handle = &sq_fip_dev_handle,
132 .dev_handle = &sq_fip_dev_handle,
[all …]
/trusted-firmware-a-3.6.0-3.5.0/plat/arm/common/
Darm_io_storage.c111 uintptr_t *dev_handle __unused, in plat_arm_get_alt_image_source()
120 int plat_get_image_source(unsigned int image_id, uintptr_t *dev_handle, in plat_get_image_source() argument
130 *dev_handle = *(policy->dev_handle); in plat_get_image_source()
133 result = plat_arm_get_alt_image_source(image_id, dev_handle, in plat_get_image_source()
163 uintptr_t *dev_handle, uintptr_t *image_spec) in arm_set_image_source() argument
184 *dev_handle = *(policy->dev_handle); in arm_set_image_source()
197 uintptr_t dev_handle __unused; in arm_set_fip_addr()
206 &dev_handle, in arm_set_fip_addr()
231 uintptr_t *dev_handle, in plat_fwu_set_metadata_image_source() argument
239 dev_handle, in plat_fwu_set_metadata_image_source()
[all …]
/trusted-firmware-a-3.6.0-3.5.0/plat/socionext/uniphier/
Duniphier_io_storage.c105 uintptr_t *dev_handle; member
112 .dev_handle = &uniphier_backend_dev_handle,
116 .dev_handle = &uniphier_fip_dev_handle,
121 .dev_handle = &uniphier_fip_dev_handle,
126 .dev_handle = &uniphier_fip_dev_handle,
131 .dev_handle = &uniphier_fip_dev_handle,
136 .dev_handle = &uniphier_fip_dev_handle,
142 .dev_handle = &uniphier_fip_dev_handle,
147 .dev_handle = &uniphier_fip_dev_handle,
152 .dev_handle = &uniphier_fip_dev_handle,
[all …]
/trusted-firmware-a-3.6.0-3.5.0/drivers/io/
Dio_storage.c41 static bool is_valid_dev(const uintptr_t dev_handle) in is_valid_dev() argument
43 const io_dev_info_t *dev = (io_dev_info_t *)dev_handle; in is_valid_dev()
57 (is_valid_dev((uintptr_t)entity->dev_handle)); in is_valid_entity()
171 int io_dev_init(uintptr_t dev_handle, const uintptr_t init_params) in io_dev_init() argument
174 assert(dev_handle != (uintptr_t)NULL); in io_dev_init()
175 assert(is_valid_dev(dev_handle)); in io_dev_init()
177 io_dev_info_t *dev = (io_dev_info_t *)dev_handle; in io_dev_init()
188 int io_dev_close(uintptr_t dev_handle) in io_dev_close() argument
191 assert(dev_handle != (uintptr_t)NULL); in io_dev_close()
192 assert(is_valid_dev(dev_handle)); in io_dev_close()
[all …]
/trusted-firmware-a-3.6.0-3.5.0/plat/st/common/
Dstm32mp_fconf_io.c40 .dev_handle = &storage_dev_handle,
47 .dev_handle = &fip_dev_handle,
55 .dev_handle = &storage_dev_handle,
63 .dev_handle = &storage_dev_handle,
69 .dev_handle = &storage_dev_handle,
167 policies[load_info[i].image_id].dev_handle = &enc_dev_handle; in fconf_populate_stm32mp_io_policies()
172 policies[load_info[i].image_id].dev_handle = &fip_dev_handle; in fconf_populate_stm32mp_io_policies()
/trusted-firmware-a-3.6.0-3.5.0/plat/marvell/armada/common/
Dmarvell_io_storage.c63 uintptr_t *dev_handle; member
183 uintptr_t *dev_handle __attribute__((unused)), in plat_marvell_get_alt_image_source() argument
194 int plat_get_image_source(unsigned int image_id, uintptr_t *dev_handle, in plat_get_image_source() argument
206 *dev_handle = *(policy->dev_handle); in plat_get_image_source()
209 result = plat_marvell_get_alt_image_source(image_id, dev_handle, in plat_get_image_source()
/trusted-firmware-a-3.6.0-3.5.0/include/drivers/io/
Dio_storage.h80 int io_dev_init(uintptr_t dev_handle, const uintptr_t init_params);
83 int io_dev_close(uintptr_t dev_handle);
87 int io_open(uintptr_t dev_handle, const uintptr_t spec, uintptr_t *handle);
/trusted-firmware-a-3.6.0-3.5.0/docs/resources/diagrams/plantuml/
Dio_framework_usage_overview.puml32 bl_common -> arm_io_storage : plat_get_image_source(BL2_IMAGE_ID, &dev_handle, &image_spec)
34 bl_common <-- arm_io_storage : dev_handle
36 bl_common -> io_storage : io_open(dev_handle, image_spec, &image_handle)
45 bl_common -> io_storage : io_dev_close(dev_handle)
/trusted-firmware-a-3.6.0-3.5.0/drivers/fwu/
Dfwu.c78 uintptr_t dev_handle, image_handle, image_spec; in fwu_metadata_load() local
85 &dev_handle, in fwu_metadata_load()
93 result = io_open(dev_handle, image_spec, &image_handle); in fwu_metadata_load()
/trusted-firmware-a-3.6.0-3.5.0/plat/intel/soc/common/
Dsocfpga_storage.c70 uintptr_t *dev_handle; member
177 int plat_get_image_source(unsigned int image_id, uintptr_t *dev_handle, in plat_get_image_source() argument
190 *dev_handle = *(policy->dev_handle); in plat_get_image_source()
/trusted-firmware-a-3.6.0-3.5.0/plat/nxp/common/fip_handler/fuse_fip/
Dfuse_io_storage.c54 uintptr_t *dev_handle; member
101 uintptr_t *dev_handle, in plat_get_fuse_image_source() argument
120 *dev_handle = *(policy->dev_handle); in plat_get_fuse_image_source()
Dfuse_io.h24 uintptr_t *dev_handle,
/trusted-firmware-a-3.6.0-3.5.0/plat/nxp/common/fip_handler/ddr_fip/
Dddr_io_storage.c84 uintptr_t *dev_handle; member
175 int plat_get_ddr_fip_image_source(unsigned int image_id, uintptr_t *dev_handle, in plat_get_ddr_fip_image_source() argument
194 *dev_handle = *(policy->dev_handle); in plat_get_ddr_fip_image_source()
Dddr_io_storage.h22 int plat_get_ddr_fip_image_source(unsigned int image_id, uintptr_t *dev_handle,
/trusted-firmware-a-3.6.0-3.5.0/common/
Dbl_common.c72 uintptr_t dev_handle; in load_image() local
86 io_result = plat_get_image_source(image_id, &dev_handle, &image_spec); in load_image()
94 io_result = io_open(dev_handle, image_spec, &image_handle); in load_image()
140 (void)io_dev_close(dev_handle); in load_image()
/trusted-firmware-a-3.6.0-3.5.0/plat/renesas/common/
Dplat_storage.c167 uintptr_t *dev_handle; member
383 int plat_get_image_source(unsigned int image_id, uintptr_t *dev_handle, in plat_get_image_source() argument
396 *dev_handle = *(policy->dev_handle); in plat_get_image_source()
401 int32_t plat_get_drv_source(uint32_t io_drv_id, uintptr_t *dev_handle, in plat_get_drv_source() argument
414 *dev_handle = *(policy->dev_handle); in plat_get_drv_source()
/trusted-firmware-a-3.6.0-3.5.0/plat/arm/board/fvp_r/
Dfvp_r_io_storage.c94 int plat_arm_get_alt_image_source(unsigned int image_id, uintptr_t *dev_handle, in plat_arm_get_alt_image_source() argument
100 *dev_handle = sh_dev_handle; in plat_arm_get_alt_image_source()
/trusted-firmware-a-3.6.0-3.5.0/plat/qemu/common/
Dqemu_io_storage.c209 uintptr_t *dev_handle; member
370 pkg->policy.dev_handle = &fip_dev_handle; in qemu_io_register_sp_pkg()
519 static int get_alt_image_source(unsigned int image_id, uintptr_t *dev_handle, in get_alt_image_source() argument
527 *dev_handle = sh_dev_handle; in get_alt_image_source()
538 int plat_get_image_source(unsigned int image_id, uintptr_t *dev_handle, in plat_get_image_source() argument
547 *dev_handle = *(policy->dev_handle); in plat_get_image_source()
550 result = get_alt_image_source(image_id, dev_handle, image_spec); in plat_get_image_source()
/trusted-firmware-a-3.6.0-3.5.0/plat/hisilicon/poplar/
Dplat_storage.c88 uintptr_t *dev_handle; member
204 int plat_get_image_source(unsigned int image_id, uintptr_t *dev_handle, in plat_get_image_source() argument
217 *dev_handle = *(policy->dev_handle); in plat_get_image_source()
/trusted-firmware-a-3.6.0-3.5.0/plat/rpi/common/
Drpi3_io_storage.c109 uintptr_t *dev_handle; member
255 int plat_get_image_source(unsigned int image_id, uintptr_t *dev_handle, in plat_get_image_source() argument
267 *dev_handle = *(policy->dev_handle); in plat_get_image_source()
/trusted-firmware-a-3.6.0-3.5.0/plat/nvidia/tegra/common/
Dtegra_io_storage.c16 int plat_get_image_source(unsigned int image_id, uintptr_t *dev_handle, in plat_get_image_source() argument
/trusted-firmware-a-3.6.0-3.5.0/plat/nxp/common/setup/
Dls_io_storage.c131 uintptr_t *dev_handle; member
525 int plat_get_image_source(unsigned int image_id, uintptr_t *dev_handle, in plat_get_image_source() argument
537 *dev_handle = *(policy->dev_handle); in plat_get_image_source()
543 result = plat_get_ddr_fip_image_source(image_id, dev_handle, in plat_get_image_source()
550 result = plat_get_fuse_image_source(image_id, dev_handle, in plat_get_image_source()
/trusted-firmware-a-3.6.0-3.5.0/plat/hisilicon/hikey/
Dhikey_io_storage.c34 uintptr_t *dev_handle; member
299 int plat_get_image_source(unsigned int image_id, uintptr_t *dev_handle, in plat_get_image_source() argument
312 *dev_handle = *(policy->dev_handle); in plat_get_image_source()
/trusted-firmware-a-3.6.0-3.5.0/plat/imx/common/
Dimx_io_storage.c118 uintptr_t *dev_handle; member
256 int plat_get_image_source(unsigned int image_id, uintptr_t *dev_handle, in plat_get_image_source() argument
269 *dev_handle = *policy->dev_handle; in plat_get_image_source()
/trusted-firmware-a-3.6.0-3.5.0/include/plat/arm/common/
Darm_fconf_getter.h21 uintptr_t *dev_handle; member

12