Home
last modified time | relevance | path

Searched refs:device (Results 1 – 25 of 71) sorted by relevance

123

/trusted-firmware-a-latest/plat/st/stm32mp1/
Dstm32mp1_boot_device.c166 int plat_get_raw_nand_data(struct rawnand_device *device) in plat_get_raw_nand_data() argument
168 device->nand_dev->ecc.mode = NAND_ECC_HW; in plat_get_raw_nand_data()
169 device->nand_dev->ecc.size = SZ_512; in plat_get_raw_nand_data()
171 return get_data_from_otp(device->nand_dev, true); in plat_get_raw_nand_data()
176 int plat_get_spi_nand_data(struct spinand_device *device) in plat_get_spi_nand_data() argument
178 zeromem(&device->spi_read_cache_op, sizeof(struct spi_mem_op)); in plat_get_spi_nand_data()
179 device->spi_read_cache_op.cmd.opcode = SPI_NAND_OP_READ_FROM_CACHE_4X; in plat_get_spi_nand_data()
180 device->spi_read_cache_op.cmd.buswidth = SPI_MEM_BUSWIDTH_1_LINE; in plat_get_spi_nand_data()
181 device->spi_read_cache_op.addr.nbytes = 2U; in plat_get_spi_nand_data()
182 device->spi_read_cache_op.addr.buswidth = SPI_MEM_BUSWIDTH_1_LINE; in plat_get_spi_nand_data()
[all …]
/trusted-firmware-a-latest/drivers/brcm/emmc/
Demmc_csl_sdcard.c109 chal_sd_set_clock((CHAL_HANDLE *) handle->device, div_ctrl_setting, 0); in process_csd_mmc_speed()
111 chal_sd_set_clock((CHAL_HANDLE *) handle->device, div_ctrl_setting, 1); in process_csd_mmc_speed()
167 chal_sd_config_bus_width((CHAL_HANDLE *) handle->device, in set_card_data_width()
196 handle->device->ctrl.argReg = 0; in abort_err()
197 handle->device->ctrl.cmdIndex = SD_CMD_STOP_TRANSMISSION; in abort_err()
204 chal_sd_send_cmd((CHAL_HANDLE *) handle->device, in abort_err()
205 handle->device->ctrl.cmdIndex, in abort_err()
206 handle->device->ctrl.argReg, options); in abort_err()
211 handle->device->cfg.wfe_retry); in abort_err()
220 chal_sd_get_response((CHAL_HANDLE *) handle->device, in abort_err()
[all …]
Demmc_pboot_hal_memory_drv.c59 if (sd_handle->device == 0) { in emmc_partition_select()
134 p_sdhandle->device->cfg.blockSize)) { in bcm_emmc_init()
158 emmc_global_vars_ptr->sdHandle.device = 0; in emmc_deinit()
170 if (sd_handle->device == 0) { in emmc_read()
186 if (sd_handle->device == 0) { in emmc_block_erase()
236 if (sd_handle->device == 0) { in emmc_write()
254 if (sd_handle->device == 0) { in send_sdio_cmd()
287 p_sdhandle->device = &emmc_global_vars_ptr->sdDevice; in sdio_init()
290 memset(p_sdhandle->device, 0, sizeof(struct sd_dev)); in sdio_init()
293 if (chal_sd_start((CHAL_HANDLE *) p_sdhandle->device, in sdio_init()
[all …]
Demmc_csl_sdcmd.c29 chal_sd_clear_irq((void *)handle->device, 0xffffffff); in sd_cmd0()
76 handle->device->ctrl.rca = 0x5; in sd_cmd3()
77 argument = handle->device->ctrl.rca << SD_CMD7_ARG_RCA_SHIFT; in sd_cmd3()
87 handle->device->ctrl.rca = 0; in sd_cmd3()
118 chal_sd_clear_irq((void *)handle->device, 0xffffffff); in sd_cmd7()
157 argument = handle->device->ctrl.rca << SD_CMD7_ARG_RCA_SHIFT; in sd_cmd9()
239 handle->device->cfg.blockSize = handle->card->maxRdBlkLen; in sd_cmd9()
250 argument = handle->device->ctrl.rca << SD_CMD7_ARG_RCA_SHIFT; in sd_cmd13()
284 handle->device->ctrl.rca, res, resp.cardStatus); in sd_cmd16()
293 if (ntry > handle->device->cfg.retryLimit) { in sd_cmd16()
[all …]
/trusted-firmware-a-latest/docs/resources/diagrams/plantuml/
Dio_dev_init_and_check.puml8 group init and check device (image_id)
20 ref over io_storage : dev_init() on fip device
23 ref over io_storage : io_open() on fip device
26 ref over io_storage : io_close() on fip device
45 ref over io_storage : dev_init() on memmap device
48 ref over io_storage : io_open() on memmap device
51 ref over io_storage : io_close() on memmap device
Dio_framework_usage_overview.puml13 ref over arm_io_storage, io_storage : io device registration
33 ref over arm_io_storage, io_storage : init and check device (BL2_IMAGE_ID)
37 ref over io_storage : io_open() on fip device
40 ref over io_storage : io_size() on fip device
42 ref over io_storage : io_read() on fip device
44 ref over io_storage : io_close() on fip device
46 ref over io_storage : io_dev_close() on fip device
Dio_dev_registration.puml29 opt dev_open() on fip device
43 opt dev_open() on memmap device
/trusted-firmware-a-latest/drivers/arm/ethosn/
Dethosn_smc.c198 static bool ethosn_configure_aux_features(const struct ethosn_device_t *device, in ethosn_configure_aux_features() argument
210 if (device->has_reserved_memory) { in ethosn_configure_aux_features()
222 static void ethosn_configure_smmu_streams(const struct ethosn_device_t *device, in ethosn_configure_smmu_streams() argument
229 &(device->asset_allocators[asset_alloc_idx]); in ethosn_configure_smmu_streams()
251 static void ethosn_configure_stream_addr_extends(const struct ethosn_device_t *device, in ethosn_configure_stream_addr_extends() argument
257 if (device->has_reserved_memory) { in ethosn_configure_stream_addr_extends()
258 const uint32_t addr = TO_EXTEND_ADDR(device->reserved_memory_addr); in ethosn_configure_stream_addr_extends()
369 static int ethosn_core_full_reset(const struct ethosn_device_t *device, in ethosn_core_full_reset() argument
376 if (!device->has_reserved_memory && in ethosn_core_full_reset()
377 asset_alloc_idx >= device->num_allocators) { in ethosn_core_full_reset()
[all …]
/trusted-firmware-a-latest/plat/arm/board/fvp/fdts/
Doptee_sp_manifest.dts35 device-regions {
36 compatible = "arm,ffa-manifest-device-regions";
/trusted-firmware-a-latest/docs/components/fconf/
Dindex.rst16 platform-defined tables. In the future, it may be provided as part of a device
19 functionality for platforms that cannot / don't want to use device tree.
39 properties originate from a different backend source such as a device tree,
46 captures the hardware topology of the platform from the HW_CONFIG device tree.
49 configuration properties which is usually a device tree file.
90 Loading the property device tree
96 device (FIP).
103 Once a valid device tree is available, the ``fconf_populate(config)`` function
Dmpmm-bindings.rst6 the ``HW_CONFIG`` device tree blob.
Dfconf_properties.rst4 This document describes the device tree format of |FCONF| properties. These
/trusted-firmware-a-latest/include/drivers/
Dspi_nand.h51 int plat_get_spi_nand_data(struct spinand_device *device);
Dspi_nor.h56 int plat_get_nor_data(struct nor_device *device);
/trusted-firmware-a-latest/docs/plat/st/
Dstm32mpus.rst14 The ROM code boot sequence loads the TF-A binary image from boot device
25 and their respective device tree blobs.
51 - | ``DTB_FILE_NAME``: to precise board device-tree blob to be used.
/trusted-firmware-a-latest/docs/plat/
Dxilinx-zynqmp.rst52 above memory range will NOT be reserved in device tree.
54 To reserve the above memory range in device tree, the device tree base address
69 adding the reserved memory node, in the device tree, with the required address
70 range OR let TF-A modify the device tree on the run.
72 To let TF-A access and modify the device tree, the DTB address must be provided
Drpi4.rst42 The BL31 code will patch the provided device tree blob in memory to advertise
72 But before doing that, it will also load a "kernel" and the device tree into
83 register x0. If the payload has other means of finding the device tree, it
Dqti.rst37 is picked. qtiseclib with stub implementation doesn't boot device. This was
/trusted-firmware-a-latest/fdts/
Dcorstone700_fvp.dts24 device-width= <2>;
Djuno-ethosn.dtsi8 * This device tree is only an example and some properties have been omitted.
10 * Refer to the Arm(R) Ethos(TM)-N driver stack for complete device tree examples.
/trusted-firmware-a-latest/plat/brcm/board/stingray/driver/
Dusb_phy.c504 int32_t usb_phy_init(usb_platform_dev *device) in usb_phy_init() argument
510 phy_info = (usb_phy_t *)device->pcd_id; in usb_phy_init()
537 void usb_phy_shutdown(usb_platform_dev *device) in usb_phy_shutdown() argument
542 phy_info = (usb_phy_t *)device->pcd_id; in usb_phy_shutdown()
564 int32_t usb_xhci_init(usb_platform_dev *device) in usb_xhci_init() argument
568 status = usb_phy_init(device); in usb_xhci_init()
/trusted-firmware-a-latest/docs/components/
Dffa-manifest-binding.rst1 FF-A manifest binding to device tree
13 minor versions of the device tree binding for the FFA manifest represented
217 - Must be the string "arm,ffa-manifest-device-regions".
221 - Name of the device region e.g. for debugging purposes.
248 identifier is used to inform the partition manager which SMMU the device is
249 upstream of. If the field is omitted then it is assumed that the device is
260 - A list of (id, attributes) pair describing the device interrupts, where:
305 access and ownership of this device's MMIO region.
Dactivity-monitors.rst30 device tree bindings.
Ddebugfs-design.rst74 (e.g. a hardware device that may not be accessible to non-privileged/
105 - Notice, a physical device driver if exposed by the firmware may conflict with
107 physical device.
/trusted-firmware-a-latest/docs/components/measured_boot/
Devent_log.rst4 This document describes the device tree format of Event Log properties.

123