Home
last modified time | relevance | path

Searched refs:policy (Results 1 – 25 of 27) sorted by relevance

12

/trusted-firmware-a-3.7.0/plat/arm/common/
Darm_io_storage.c124 const struct plat_io_policy *policy; in plat_get_image_source() local
126 policy = FCONF_GET_PROPERTY(arm, io_policies, image_id); in plat_get_image_source()
127 result = policy->check(policy->image_spec); in plat_get_image_source()
129 *image_spec = policy->image_spec; in plat_get_image_source()
130 *dev_handle = *(policy->dev_handle); in plat_get_image_source()
172 struct plat_io_policy *policy = FCONF_GET_PROPERTY(arm, in arm_set_image_source() local
176 assert(policy != NULL); in arm_set_image_source()
177 assert(policy->image_spec != 0UL); in arm_set_image_source()
179 io_block_spec_t *spec = (io_block_spec_t *)policy->image_spec; in arm_set_image_source()
184 *dev_handle = *(policy->dev_handle); in arm_set_image_source()
[all …]
/trusted-firmware-a-3.7.0/plat/arm/board/corstone1000/common/
Dcorstone1000_plat.c35 const struct plat_io_policy *policy; in set_fip_image_source() local
36 policy = FCONF_GET_PROPERTY(arm, io_policies, FIP_IMAGE_ID); in set_fip_image_source()
38 assert(policy != NULL); in set_fip_image_source()
39 assert(policy->image_spec != 0UL); in set_fip_image_source()
42 io_block_spec_t *spec = (io_block_spec_t *)policy->image_spec; in set_fip_image_source()
/trusted-firmware-a-3.7.0/plat/nxp/common/fip_handler/fuse_fip/
Dfuse_io_storage.c106 const struct plat_io_policy *policy; in plat_get_fuse_image_source() local
110 policy = &fuse_policies[image_id - FUSE_FIP_IMAGE_ID]; in plat_get_fuse_image_source()
113 result = check(policy->image_spec); in plat_get_fuse_image_source()
115 result = policy->check(policy->image_spec); in plat_get_fuse_image_source()
119 *image_spec = policy->image_spec; in plat_get_fuse_image_source()
120 *dev_handle = *(policy->dev_handle); in plat_get_fuse_image_source()
/trusted-firmware-a-3.7.0/plat/nxp/common/fip_handler/ddr_fip/
Dddr_io_storage.c180 const struct plat_io_policy *policy; in plat_get_ddr_fip_image_source() local
186 policy = &ddr_policies[image_id - DDR_FIP_IMAGE_ID]; in plat_get_ddr_fip_image_source()
188 result = check(policy->image_spec); in plat_get_ddr_fip_image_source()
190 result = policy->check(policy->image_spec); in plat_get_ddr_fip_image_source()
193 *image_spec = policy->image_spec; in plat_get_ddr_fip_image_source()
194 *dev_handle = *(policy->dev_handle); in plat_get_ddr_fip_image_source()
/trusted-firmware-a-3.7.0/plat/renesas/common/
Dplat_storage.c386 const struct plat_io_policy *policy; in plat_get_image_source() local
389 policy = &policies[image_id]; in plat_get_image_source()
391 result = policy->check(policy->image_spec); in plat_get_image_source()
395 *image_spec = policy->image_spec; in plat_get_image_source()
396 *dev_handle = *(policy->dev_handle); in plat_get_image_source()
404 const struct plat_io_policy *policy; in plat_get_drv_source() local
407 policy = &drv_policies[io_drv_id]; in plat_get_drv_source()
409 result = policy->check(policy->image_spec); in plat_get_drv_source()
413 *image_spec = policy->image_spec; in plat_get_drv_source()
414 *dev_handle = *(policy->dev_handle); in plat_get_drv_source()
/trusted-firmware-a-3.7.0/plat/marvell/armada/common/
Dmarvell_io_storage.c198 const struct plat_io_policy *policy; in plat_get_image_source() local
202 policy = &policies[image_id]; in plat_get_image_source()
203 result = policy->check(policy->image_spec); in plat_get_image_source()
205 *image_spec = policy->image_spec; in plat_get_image_source()
206 *dev_handle = *(policy->dev_handle); in plat_get_image_source()
/trusted-firmware-a-3.7.0/plat/intel/soc/common/
Dsocfpga_storage.c204 const struct plat_io_policy *policy; in plat_get_image_source() local
208 policy = &policies[image_id]; in plat_get_image_source()
209 result = policy->check(policy->image_spec); in plat_get_image_source()
212 *image_spec = policy->image_spec; in plat_get_image_source()
213 *dev_handle = *(policy->dev_handle); in plat_get_image_source()
/trusted-firmware-a-3.7.0/plat/rpi/common/
Drpi3_io_storage.c259 const struct plat_io_policy *policy; in plat_get_image_source() local
263 policy = &policies[image_id]; in plat_get_image_source()
264 result = policy->check(policy->image_spec); in plat_get_image_source()
266 *image_spec = policy->image_spec; in plat_get_image_source()
267 *dev_handle = *(policy->dev_handle); in plat_get_image_source()
/trusted-firmware-a-3.7.0/plat/hisilicon/poplar/
Dplat_storage.c207 const struct plat_io_policy *policy; in plat_get_image_source() local
212 policy = &policies[image_id]; in plat_get_image_source()
213 result = policy->check(policy->image_spec); in plat_get_image_source()
216 *image_spec = policy->image_spec; in plat_get_image_source()
217 *dev_handle = *(policy->dev_handle); in plat_get_image_source()
/trusted-firmware-a-3.7.0/docs/resources/diagrams/plantuml/
Dio_dev_init_and_check.puml12 get BL2_IMAGE_ID policy:
16 opt policy->check()
37 get FIP_IMAGE_ID policy:
41 opt policy->check()
/trusted-firmware-a-3.7.0/plat/imx/common/
Dimx_io_storage.c260 const struct plat_io_policy *policy; in plat_get_image_source() local
264 policy = &policies[image_id]; in plat_get_image_source()
265 result = policy->check(policy->image_spec); in plat_get_image_source()
268 *image_spec = policy->image_spec; in plat_get_image_source()
269 *dev_handle = *policy->dev_handle; in plat_get_image_source()
/trusted-firmware-a-3.7.0/plat/hisilicon/hikey/
Dhikey_io_storage.c303 const struct plat_io_policy *policy; in plat_get_image_source() local
307 policy = &policies[image_id]; in plat_get_image_source()
308 result = policy->check(policy->image_spec); in plat_get_image_source()
311 *image_spec = policy->image_spec; in plat_get_image_source()
312 *dev_handle = *(policy->dev_handle); in plat_get_image_source()
/trusted-firmware-a-3.7.0/plat/qemu/common/
Dqemu_io_storage.c338 struct plat_io_policy policy; member
370 pkg->policy.dev_handle = &fip_dev_handle; in qemu_io_register_sp_pkg()
371 pkg->policy.image_spec = (uintptr_t)&pkg->uuid; in qemu_io_register_sp_pkg()
372 pkg->policy.check = open_fip; in qemu_io_register_sp_pkg()
402 return &sp_pkgs[image_id - SP_PKG1_ID].policy; in get_io_policy()
541 const struct plat_io_policy *policy = get_io_policy(image_id); in plat_get_image_source() local
544 result = policy->check(policy->image_spec); in plat_get_image_source()
546 *image_spec = policy->image_spec; in plat_get_image_source()
547 *dev_handle = *(policy->dev_handle); in plat_get_image_source()
/trusted-firmware-a-3.7.0/plat/brcm/common/
Dbrcm_io_storage.c377 const struct plat_io_policy *policy; in plat_get_image_source() local
385 policy = &boot_source_policies[boot_source]; in plat_get_image_source()
387 policy = &policies[image_id]; in plat_get_image_source()
389 result = policy->check(policy->image_spec); in plat_get_image_source()
391 *image_spec = policy->image_spec; in plat_get_image_source()
392 *dev_handle = *(policy->dev_handle); in plat_get_image_source()
/trusted-firmware-a-3.7.0/plat/st/common/
Dbl2_io_storage.c589 const struct plat_io_policy *policy; in plat_get_image_source() local
591 policy = FCONF_GET_PROPERTY(stm32mp, io_policies, image_id); in plat_get_image_source()
592 rc = policy->check(policy->image_spec); in plat_get_image_source()
594 *image_spec = policy->image_spec; in plat_get_image_source()
595 *dev_handle = *(policy->dev_handle); in plat_get_image_source()
719 struct plat_io_policy *policy; in plat_set_image_source() local
724 policy = &policies[image_id]; in plat_set_image_source()
725 spec = (io_block_spec_t *)policy->image_spec; in plat_set_image_source()
765 *image_spec = policy->image_spec; in plat_set_image_source()
766 *handle = *policy->dev_handle; in plat_set_image_source()
/trusted-firmware-a-3.7.0/plat/hisilicon/hikey960/
Dhikey960_io_storage.c361 const struct plat_io_policy *policy; in plat_get_image_source() local
365 policy = &policies[image_id]; in plat_get_image_source()
366 result = policy->check(policy->image_spec); in plat_get_image_source()
369 *image_spec = policy->image_spec; in plat_get_image_source()
370 *dev_handle = *(policy->dev_handle); in plat_get_image_source()
/trusted-firmware-a-3.7.0/plat/nxp/common/setup/
Dls_io_storage.c529 const struct plat_io_policy *policy; in plat_get_image_source() local
533 policy = &policies[image_id]; in plat_get_image_source()
534 result = policy->check(policy->image_spec); in plat_get_image_source()
536 *image_spec = policy->image_spec; in plat_get_image_source()
537 *dev_handle = *(policy->dev_handle); in plat_get_image_source()
/trusted-firmware-a-3.7.0/docs/process/
Dindex.rst9 platform-ports-policy
Dplatform-ports-policy.rst4 This document clarifies a couple of policy points around platform ports
7 Platform compatibility policy
35 Deprecation policy
/trusted-firmware-a-3.7.0/docs/design_documents/
Dcontext_mgmt_rework.rst38 from a centralized policy management by context management library will
/trusted-firmware-a-3.7.0/docs/threat_model/
Dthreat_model.rst464 | | `TF-A error handling policy`_. TF-A provides an |
1109 .. _TF-A error handling policy: https://trustedfirmware-a.readthedocs.io/en/latest/process/coding-g…
/trusted-firmware-a-3.7.0/docs/components/
Del3-spmc.rst408 - The NWd owns the platform PM policy.
Dexception-handling.rst592 The |EHF| doesn't enforce a particular prioritisation policy, but the platform
/trusted-firmware-a-3.7.0/docs/
Dporting-guide.rst40 Please refer to the :ref:`Platform Ports Policy` for the policy regarding
1183 In Arm platforms, this function is used to set an I/O policy of the FIP image,
1196 responsible for setting up the platform I/O policy of the requested metadata
1202 statically in I/O policy.
1207 the I/O policy of the FWU metadata image.
1212 Alongside, returns device handle and image specification from the I/O policy
/trusted-firmware-a-3.7.0/docs/design/
Dfirmware-design.rst2128 Bootloader images are loaded according to the platform policy as specified by
2133 The Arm development platforms' policy is to only allow loading of a known set of
2134 images. The platform policy can be modified to allow additional images.

12