/trusted-firmware-a-3.4.0/common/ |
D | image_decompress.c | 28 void image_decompress_prepare(struct image_info *info) in image_decompress_prepare() argument 36 saved_image_info = *info; in image_decompress_prepare() 37 info->image_base = decompressor_buf_base; in image_decompress_prepare() 38 info->image_max_size = decompressor_buf_size; in image_decompress_prepare() 41 int image_decompress(struct image_info *info) in image_decompress() argument 51 compressed_image_size = info->image_size; in image_decompress() 52 compressed_image_base = info->image_base; in image_decompress() 53 *info = saved_image_info; in image_decompress() 57 image_base = info->image_base; in image_decompress() 67 &image_base, info->image_max_size, in image_decompress() [all …]
|
/trusted-firmware-a-3.4.0/drivers/brcm/i2c/ |
D | i2c.c | 221 static void iproc_i2c_write_trans_data(struct iproc_xact_info *info) in iproc_i2c_write_trans_data() argument 230 __func__, info->devaddr, info->cmd_valid, info->command, in iproc_i2c_write_trans_data() 231 info->size, info->smb_proto); in iproc_i2c_write_trans_data() 234 devaddr = (info->devaddr << 1); in iproc_i2c_write_trans_data() 241 switch (info->smb_proto) { in iproc_i2c_write_trans_data() 244 iproc_i2c_reg_write(info->bus_id, SMB_MSTRDATAWR_REG, in iproc_i2c_write_trans_data() 248 num_data_bytes = info->size; in iproc_i2c_write_trans_data() 249 iproc_i2c_reg_write(info->bus_id, SMB_MSTRDATAWR_REG, in iproc_i2c_write_trans_data() 256 iproc_i2c_reg_write(info->bus_id, SMB_MSTRDATAWR_REG, in iproc_i2c_write_trans_data() 260 iproc_i2c_reg_write(info->bus_id, SMB_MSTRDATAWR_REG, in iproc_i2c_write_trans_data() [all …]
|
/trusted-firmware-a-3.4.0/plat/nxp/soc-lx2160a/lx2160ardb/ |
D | ddr_init.c | 168 struct ddr_info info; in init_ddr() local 181 zeromem(&info, sizeof(info)); in init_ddr() 184 info.num_ctlrs = NUM_OF_DDRC; in init_ddr() 185 info.spd_addr = spd_addr; in init_ddr() 186 info.ddr[0] = (void *)NXP_DDR_ADDR; in init_ddr() 187 info.ddr[1] = (void *)NXP_DDR2_ADDR; in init_ddr() 188 info.phy[0] = (void *)NXP_DDR_PHY1_ADDR; in init_ddr() 189 info.phy[1] = (void *)NXP_DDR_PHY2_ADDR; in init_ddr() 190 info.clk = get_ddr_freq(&sys, 0); in init_ddr() 191 info.img_loadr = load_img; in init_ddr() [all …]
|
/trusted-firmware-a-3.4.0/plat/nxp/soc-ls1088a/ls1088aqds/ |
D | ddr_init.c | 60 struct ddr_info info; in init_ddr() local 69 zeromem(&info, sizeof(struct ddr_info)); in init_ddr() 70 info.num_ctlrs = NUM_OF_DDRC; in init_ddr() 71 info.dimm_on_ctlr = DDRC_NUM_DIMM; in init_ddr() 72 info.clk = get_ddr_freq(&sys, 0); in init_ddr() 73 info.spd_addr = spd_addr; in init_ddr() 74 info.ddr[0] = (void *)NXP_DDR_ADDR; in init_ddr() 76 dram_size = dram_init(&info); in init_ddr()
|
/trusted-firmware-a-3.4.0/plat/nxp/soc-ls1088a/ls1088ardb/ |
D | ddr_init.c | 61 struct ddr_info info; in init_ddr() local 70 zeromem(&info, sizeof(struct ddr_info)); in init_ddr() 71 info.num_ctlrs = NUM_OF_DDRC; in init_ddr() 72 info.dimm_on_ctlr = DDRC_NUM_DIMM; in init_ddr() 73 info.clk = get_ddr_freq(&sys, 0); in init_ddr() 74 info.spd_addr = spd_addr; in init_ddr() 75 info.ddr[0] = (void *)NXP_DDR_ADDR; in init_ddr() 77 dram_size = dram_init(&info); in init_ddr()
|
/trusted-firmware-a-3.4.0/plat/nxp/soc-ls1046a/ls1046aqds/ |
D | ddr_init.c | 59 struct ddr_info info; in init_ddr() local 72 zeromem(&info, sizeof(struct ddr_info)); in init_ddr() 73 info.num_ctlrs = 1; in init_ddr() 74 info.dimm_on_ctlr = 1; in init_ddr() 75 info.clk = get_ddr_freq(&sys, 0); in init_ddr() 76 info.spd_addr = spd_addr; in init_ddr() 77 info.ddr[0] = (void *)NXP_DDR_ADDR; in init_ddr() 79 dram_size = dram_init(&info); in init_ddr()
|
/trusted-firmware-a-3.4.0/plat/rpi/rpi3/ |
D | rpi3_bl1_setup.c | 72 const char __unused *model, __unused *info; in bl1_platform_setup() local 77 info = "(1GB, Sony, UK)"; in bl1_platform_setup() 81 info = "(1GB, Embest, China)"; in bl1_platform_setup() 85 info = "(1GB, Sony, UK)"; in bl1_platform_setup() 89 info = "(Unknown)"; in bl1_platform_setup() 94 NOTICE("rpi3: Detected: %s %s [0x%08x]\n", model, info, rev); in bl1_platform_setup()
|
/trusted-firmware-a-3.4.0/include/lib/extensions/ |
D | ras.h | 88 typedef int (*err_record_probe_t)(const struct err_record_info *info, 115 typedef int (*err_record_handler_t)(const struct err_record_info *info, 178 static inline int ras_err_ser_probe_memmap(const struct err_record_info *info, in ras_err_ser_probe_memmap() argument 181 assert(info->version == ERR_HANDLER_VERSION); in ras_err_ser_probe_memmap() 183 return ser_probe_memmap(info->memmap.base_addr, info->memmap.size_num_k, in ras_err_ser_probe_memmap() 187 static inline int ras_err_ser_probe_sysreg(const struct err_record_info *info, in ras_err_ser_probe_sysreg() argument 190 assert(info->version == ERR_HANDLER_VERSION); in ras_err_ser_probe_sysreg() 192 return ser_probe_sysreg(info->sysreg.idx_start, info->sysreg.num_idx, in ras_err_ser_probe_sysreg()
|
/trusted-firmware-a-3.4.0/drivers/st/ddr/ |
D | stm32mp1_ram.c | 81 ret = stm32mp_ddr_dt_get_info(fdt, node, &config.info); in stm32mp1_ddr_setup() 99 priv->info.size = config.info.size; in stm32mp1_ddr_setup() 102 (uint32_t)priv->info.base, (uint32_t)priv->info.size); in stm32mp1_ddr_setup() 115 uret = stm32mp_ddr_test_addr_bus(config.info.size); in stm32mp1_ddr_setup() 123 if (uret < config.info.size) { in stm32mp1_ddr_setup() 125 uret, config.info.size); in stm32mp1_ddr_setup() 147 priv->info.base = STM32MP_DDR_BASE; in stm32mp1_ddr_probe() 148 priv->info.size = 0; in stm32mp1_ddr_probe()
|
D | stm32mp_ram.c | 17 int stm32mp_ddr_dt_get_info(void *fdt, int node, struct stm32mp_ddr_info *info) in stm32mp_ddr_dt_get_info() argument 21 ret = fdt_read_uint32(fdt, node, "st,mem-speed", &info->speed); in stm32mp_ddr_dt_get_info() 26 ret = fdt_read_uint32(fdt, node, "st,mem-size", &info->size); in stm32mp_ddr_dt_get_info() 31 info->name = fdt_getprop(fdt, node, "st,mem-name", NULL); in stm32mp_ddr_dt_get_info() 32 if (info->name == NULL) { in stm32mp_ddr_dt_get_info() 37 INFO("RAM: %s\n", info->name); in stm32mp_ddr_dt_get_info()
|
/trusted-firmware-a-3.4.0/drivers/brcm/ |
D | spi_flash.c | 56 const struct spi_flash_info *info; in spi_flash_read_id() local 66 for (info = spi_flash_ids; info->name != NULL; info++) { in spi_flash_read_id() 67 if (info->id_len) { in spi_flash_read_id() 68 if (!memcmp(info->id, id, info->id_len)) in spi_flash_read_id() 69 return info; in spi_flash_read_id() 278 const struct spi_flash_info *info = NULL; in spi_flash_probe() local 288 info = spi_flash_read_id(); in spi_flash_probe() 289 if (!info) in spi_flash_probe() 293 info->name, info->n_sectors, in spi_flash_probe() 294 info->sector_size); in spi_flash_probe() [all …]
|
/trusted-firmware-a-3.4.0/drivers/arm/css/scmi/ |
D | scmi_common.c | 36 ((mailbox_mem_t *)(ch->info->scmi_mbx_mem))->status)); in scmi_get_channel() 44 mailbox_mem_t *mbx_mem = (mailbox_mem_t *)(ch->info->scmi_mbx_mem); in scmi_send_sync_command() 55 ch->info->ring_doorbell(ch->info); in scmi_send_sync_command() 81 ((mailbox_mem_t *)(ch->info->scmi_mbx_mem))->status)); in scmi_put_channel() 101 mbx_mem = (mailbox_mem_t *)(ch->info->scmi_mbx_mem); in scmi_proto_version() 134 mbx_mem = (mailbox_mem_t *)(ch->info->scmi_mbx_mem); in scmi_proto_msg_attr() 162 assert(ch && ch->info); in scmi_init() 163 assert(ch->info->db_reg_addr); in scmi_init() 164 assert(ch->info->db_modify_mask); in scmi_init() 165 assert(ch->info->db_preserve_mask); in scmi_init() [all …]
|
/trusted-firmware-a-3.4.0/plat/socionext/synquacer/drivers/scp/ |
D | sq_scp.c | 13 uint32_t sq_scp_get_draminfo(struct draminfo *info) in sq_scp_get_draminfo() argument 16 sq_scmi_get_draminfo(info); in sq_scp_get_draminfo() 18 scpi_get_draminfo(info); in sq_scp_get_draminfo()
|
/trusted-firmware-a-3.4.0/drivers/io/ |
D | io_mtd.c | 89 dev_info_pool[index].info = (uintptr_t)&state_pool[index]; in allocate_dev_info() 102 state = (mtd_dev_state_t *)dev_info->info; in free_dev_info() 140 assert((dev_info->info != 0UL) && (entity->info == 0UL)); in mtd_open() 143 cur = (mtd_dev_state_t *)dev_info->info; in mtd_open() 144 entity->info = (uintptr_t)cur; in mtd_open() 166 assert((entity->info != (uintptr_t)NULL) && (offset >= 0)); in mtd_seek() 168 cur = (mtd_dev_state_t *)entity->info; in mtd_seek() 210 assert(entity->info != (uintptr_t)NULL); in mtd_read() 213 cur = (mtd_dev_state_t *)entity->info; in mtd_read() 237 entity->info = (uintptr_t)NULL; in mtd_close() [all …]
|
D | io_block.c | 98 dev_info_pool[index].info = (uintptr_t)&state_pool[index]; in allocate_dev_info() 115 state = (block_dev_state_t *)dev_info->info; in free_dev_info() 133 assert((dev_info->info != (uintptr_t)NULL) && in block_open() 135 (entity->info == (uintptr_t)NULL)); in block_open() 138 cur = (block_dev_state_t *)dev_info->info; in block_open() 146 entity->info = (uintptr_t)cur; in block_open() 155 assert(entity->info != (uintptr_t)NULL); in block_seek() 157 cur = (block_dev_state_t *)entity->info; in block_seek() 267 assert(entity->info != (uintptr_t)NULL); in block_read() 268 cur = (block_dev_state_t *)entity->info; in block_read() [all …]
|
/trusted-firmware-a-3.4.0/plat/nxp/soc-lx2160a/lx2160aqds/ |
D | ddr_init.c | 303 struct ddr_info info; in init_ddr() local 316 zeromem(&info, sizeof(info)); in init_ddr() 319 info.num_ctlrs = NUM_OF_DDRC; in init_ddr() 320 info.spd_addr = spd_addr; in init_ddr() 321 info.ddr[0] = (void *)NXP_DDR_ADDR; in init_ddr() 322 info.ddr[1] = (void *)NXP_DDR2_ADDR; in init_ddr() 323 info.phy[0] = (void *)NXP_DDR_PHY1_ADDR; in init_ddr() 324 info.phy[1] = (void *)NXP_DDR_PHY2_ADDR; in init_ddr() 325 info.clk = get_ddr_freq(&sys, 0); in init_ddr() 326 info.img_loadr = load_img; in init_ddr() [all …]
|
/trusted-firmware-a-3.4.0/plat/nxp/soc-lx2160a/lx2162aqds/ |
D | ddr_init.c | 303 struct ddr_info info; in init_ddr() local 316 zeromem(&info, sizeof(info)); in init_ddr() 319 info.num_ctlrs = NUM_OF_DDRC; in init_ddr() 320 info.spd_addr = spd_addr; in init_ddr() 321 info.ddr[0] = (void *)NXP_DDR_ADDR; in init_ddr() 322 info.ddr[1] = (void *)NXP_DDR2_ADDR; in init_ddr() 323 info.phy[0] = (void *)NXP_DDR_PHY1_ADDR; in init_ddr() 324 info.phy[1] = (void *)NXP_DDR_PHY2_ADDR; in init_ddr() 325 info.clk = get_ddr_freq(&sys, 0); in init_ddr() 326 info.img_loadr = load_img; in init_ddr() [all …]
|
/trusted-firmware-a-3.4.0/lib/extensions/ras/ |
D | ras_common.c | 69 struct err_record_info *info; in ras_ea_handler() local 81 for_each_err_record_info(i, info) { in ras_ea_handler() 82 assert(info->probe != NULL); in ras_ea_handler() 83 assert(info->handler != NULL); in ras_ea_handler() 87 if (info->probe(info, &probe_data) == 0) in ras_ea_handler() 91 ret = info->handler(info, probe_data, &err_data); in ras_ea_handler()
|
/trusted-firmware-a-3.4.0/plat/imx/imx8m/ddr/ |
D | ddr4_dvfs.c | 56 void dram_cfg_all_mr(struct dram_info *info, uint32_t pstate) in dram_cfg_all_mr() argument 58 uint32_t num_rank = info->num_rank; in dram_cfg_all_mr() 67 ddr4_mr_write(j, info->mr_table[pstate][j], 0, i); in dram_cfg_all_mr() 69 ddr4_mr_write(6, info->mr_table[pstate][7], 0, i); in dram_cfg_all_mr() 139 void ddr4_swffc(struct dram_info *info, unsigned int pstate) in ddr4_swffc() argument 141 uint32_t drate = info->timing_info->fsp_table[pstate]; in ddr4_swffc() 211 dram_cfg_all_mr(info, pstate); in ddr4_swffc()
|
/trusted-firmware-a-3.4.0/drivers/arm/css/scmi/vendor/ |
D | scmi_sq.c | 26 int scmi_get_draminfo(void *p, struct draminfo *info) in scmi_get_draminfo() argument 37 mbx_mem = (mailbox_mem_t *)(ch->info->scmi_mbx_mem); in scmi_get_draminfo() 59 *info = response.info; in scmi_get_draminfo()
|
/trusted-firmware-a-3.4.0/plat/socionext/uniphier/ |
D | uniphier_boot_device.c | 142 const struct uniphier_boot_device_info *info; in uniphier_get_boot_device() local 147 info = &uniphier_boot_device_info[soc]; in uniphier_get_boot_device() 154 if (info->have_boot_swap && !(pinmon & BIT(29))) in uniphier_get_boot_device() 157 if (info->is_sd_boot && info->is_sd_boot(pinmon)) in uniphier_get_boot_device() 160 if (info->is_usb_boot && info->is_usb_boot(pinmon)) in uniphier_get_boot_device() 163 return info->get_boot_device(pinmon); in uniphier_get_boot_device()
|
/trusted-firmware-a-3.4.0/include/lib/ |
D | bakery_lock.h | 34 static inline bool bakery_is_choosing(unsigned int info) in bakery_is_choosing() argument 36 return (info & 1U) == CHOOSING_TICKET; in bakery_is_choosing() 39 static inline unsigned int bakery_ticket_number(unsigned int info) in bakery_ticket_number() argument 41 return (info >> 1) & 0x7FFFU; in bakery_ticket_number()
|
/trusted-firmware-a-3.4.0/plat/amlogic/common/ |
D | aml_sip_svc.c | 23 struct aml_cpu_info *info = (void *)AML_SHARE_MEM_OUTPUT_BASE; in aml_sip_get_chip_id() local 29 memset(info, 0, sizeof(struct aml_cpu_info)); in aml_sip_get_chip_id() 32 info->version = 2; in aml_sip_get_chip_id() 35 info->version = 1; in aml_sip_get_chip_id() 39 if (aml_scpi_get_chip_id(info->chip_id, size) == 0) in aml_sip_get_chip_id()
|
/trusted-firmware-a-3.4.0/plat/marvell/armada/a8k/common/ |
D | plat_pm.c | 507 gpio_info_t *info; in plat_marvell_power_off_gpio() local 515 info = &pm_cfg->cfg.gpio.info[gpio]; in plat_marvell_power_off_gpio() 518 info->cp_index, info->gpio_index)); in plat_marvell_power_off_gpio() 520 info->cp_index, info->gpio_index), in plat_marvell_power_off_gpio() 521 reg & ~MVEBU_GPIO_MASK(info->gpio_index)); in plat_marvell_power_off_gpio() 524 reg = mmio_read_32(MVEBU_PM_MPP_REGS(info->cp_index, in plat_marvell_power_off_gpio() 525 info->gpio_index)); in plat_marvell_power_off_gpio() 526 mmio_write_32(MVEBU_PM_MPP_REGS(info->cp_index, in plat_marvell_power_off_gpio() 527 info->gpio_index), in plat_marvell_power_off_gpio() 528 reg & ~MVEBU_MPP_MASK(info->gpio_index)); in plat_marvell_power_off_gpio() [all …]
|
/trusted-firmware-a-3.4.0/plat/st/common/ |
D | stm32mp_dt.c | 135 void dt_fill_device_info(struct dt_node_info *info, int node) in dt_fill_device_info() argument 143 info->base = fdt32_to_cpu(*cuint); in dt_fill_device_info() 145 info->base = 0; in dt_fill_device_info() 151 info->clock = (int)fdt32_to_cpu(*cuint); in dt_fill_device_info() 153 info->clock = -1; in dt_fill_device_info() 159 info->reset = (int)fdt32_to_cpu(*cuint); in dt_fill_device_info() 161 info->reset = -1; in dt_fill_device_info() 164 info->status = fdt_get_status(node); in dt_fill_device_info() 171 int dt_get_node(struct dt_node_info *info, int offset, const char *compat) in dt_get_node() argument 180 dt_fill_device_info(info, node); in dt_get_node() [all …]
|