| /rk3399_ARM-atf/plat/st/stm32mp1/ |
| H A D | stm32mp1_boot_device.c | 166 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 …]
|
| /rk3399_ARM-atf/drivers/brcm/emmc/ |
| H A D | emmc_csl_sdcard.c | 109 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 …]
|
| H A D | emmc_pboot_hal_memory_drv.c | 59 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 …]
|
| H A D | emmc_csl_sdcmd.c | 29 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 …]
|
| /rk3399_ARM-atf/docs/resources/diagrams/plantuml/ |
| H A D | io_dev_init_and_check.puml | 8 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
|
| H A D | io_framework_usage_overview.puml | 13 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
|
| H A D | io_dev_registration.puml | 29 opt dev_open() on fip device 43 opt dev_open() on memmap device
|
| /rk3399_ARM-atf/drivers/arm/ethosn/ |
| H A D | ethosn_smc.c | 198 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 …]
|
| /rk3399_ARM-atf/plat/arm/board/tc/fdts/ |
| H A D | tc_spmc_manifest.dtsi | 108 device_type = "device-memory"; 109 reg = <0x0 0x25000000 0x0 0x10000>; /* For cactus tertiary dummy device. */ 113 device_type = "device-memory"; 119 device_type = "ns-device-memory";
|
| /rk3399_ARM-atf/docs/components/fconf/ |
| H A D | index.rst | 16 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
|
| /rk3399_ARM-atf/plat/arm/board/fvp/fdts/ |
| H A D | fvp_spmc_manifest.dts | 101 device_type = "device-memory"; 105 <0x0 0x1c130000 0x0 0x10000>; /* Virtio block device */ 109 device_type = "ns-device-memory";
|
| H A D | optee_sp_manifest.dts | 42 device-regions { 43 compatible = "arm,ffa-manifest-device-regions";
|
| H A D | fvp_spmc_optee_sp_manifest.dts | 74 device_type = "device-memory";
|
| /rk3399_ARM-atf/docs/plat/st/ |
| H A D | stm32mpus.rst | 14 The ROM code boot sequence loads the TF-A binary image from boot device 25 and their respective device tree blobs. 48 Only one storage or serial device should be selected in the build command line, 53 - | ``DTB_FILE_NAME``: to precise board device-tree blob to be used.
|
| /rk3399_ARM-atf/include/drivers/ |
| H A D | spi_nand.h | 51 int plat_get_spi_nand_data(struct spinand_device *device);
|
| H A D | spi_nor.h | 56 int plat_get_nor_data(struct nor_device *device);
|
| /rk3399_ARM-atf/docs/getting_started/ |
| H A D | build-internals.rst | 24 tb_fw_config device tree. This flag is defined only when 28 tb_fw_config device tree. This flag is defined only when
|
| /rk3399_ARM-atf/plat/brcm/board/stingray/driver/ |
| H A D | usb_phy.c | 504 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()
|
| /rk3399_ARM-atf/docs/plat/ |
| H A D | xilinx-zynqmp.rst | 52 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
|
| /rk3399_ARM-atf/docs/components/ |
| H A D | ffa-manifest-binding.rst | 1 FF-A manifests binding to device tree 16 minor versions of the device tree binding for the FFA manifest represented 279 - List of IDs belonging to a DMA capable peripheral device that has access to 281 - Each ID must have been declared in exactly one device region node. 285 - Identifies the SMMU IP that enforces the access control for the DMA device 291 used by the DMA device streams to access the memory region represented by 301 - Must be the string "arm,ffa-manifest-device-regions". 305 - Name of the device region e.g. for debugging purposes. 332 identifier is used to inform the partition manager which SMMU the device is 333 upstream of. If the field is omitted then it is assumed that the device is [all …]
|
| /rk3399_ARM-atf/fdts/ |
| H A D | corstone700_fvp.dts | 24 device-width= <2>;
|
| H A D | stmm_template.dts | 24 device-regions { 25 compatible = "arm,ffa-manifest-device-regions";
|
| H A D | juno-ethosn.dtsi | 8 * 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.
|
| H A D | stm32mp257f-dk-ca35tdcid-rcc.dtsi | 8 * STM32MP25 Clock tree device tree configuration
|
| /rk3399_ARM-atf/plat/arm/board/neoverse_rd/platform/rdn2/fdts/ |
| H A D | rdn2_stmm_sel0_manifest.dts | 44 device-regions { 45 compatible = "arm,ffa-manifest-device-regions";
|