| /rk3399_ARM-atf/plat/st/common/ |
| H A D | stm32mp_dt.c | 140 info->base = fdt32_to_cpu(*cuint); in dt_fill_device_info() 148 info->clock = (int)fdt32_to_cpu(*cuint); in dt_fill_device_info() 156 info->reset = (int)fdt32_to_cpu(*cuint); in dt_fill_device_info() 219 if ((uintptr_t)fdt32_to_cpu(*cuint) == address) { in dt_match_instance_by_compatible() 354 if ((fdt32_to_cpu(*cuint) % sizeof(uint32_t)) != 0U) { in dt_find_otp_name() 360 *otp = fdt32_to_cpu(*cuint) / sizeof(uint32_t); in dt_find_otp_name() 365 *otp_len = fdt32_to_cpu(*cuint) * CHAR_BIT; in dt_find_otp_name() 403 if (fdt32_to_cpu(*cuint) != bank_offset) { in fdt_get_gpio_bank_pin_count() 420 pin_count = MAX(pin_count, (int)(fdt32_to_cpu(cuint[i + 1]) + in fdt_get_gpio_bank_pin_count() 421 fdt32_to_cpu(cuint[i + 3]))); in fdt_get_gpio_bank_pin_count()
|
| H A D | stm32mp_gic.c | 78 stm32mp_gic.cells = fdt32_to_cpu(*cuint); in stm32mp_gic_init()
|
| /rk3399_ARM-atf/plat/amd/common/ |
| H A D | plat_fdt.c | 126 rsvnodes[i].base = (((uint64_t)fdt32_to_cpu(reg_prop[0]) << 32) | in retrieve_reserved_entries() 127 fdt32_to_cpu(reg_prop[1])); in retrieve_reserved_entries() 128 rsvnodes[i].size = (((uint64_t)fdt32_to_cpu(reg_prop[2]) << 32) | in retrieve_reserved_entries() 129 fdt32_to_cpu(reg_prop[3])); in retrieve_reserved_entries()
|
| /rk3399_ARM-atf/plat/st/stm32mp1/ |
| H A D | stm32mp1_fconf_firewall.c | 108 base = fdt32_to_cpu(conf_list->id_attr[idx]); in fconf_populate_stm32mp1_firewall() 109 size = fdt32_to_cpu(conf_list->id_attr[idx + 1]); in fconf_populate_stm32mp1_firewall() 110 sec_attr = fdt32_to_cpu(conf_list->id_attr[idx + 2]); in fconf_populate_stm32mp1_firewall() 111 nsaid = fdt32_to_cpu(conf_list->id_attr[idx + 3]); in fconf_populate_stm32mp1_firewall()
|
| H A D | stm32mp1_syscfg.c | 171 node = fdt_node_offset_by_phandle(fdt, fdt32_to_cpu(*cuint)); in get_regu_max_voltage() 181 *regu_val = fdt32_to_cpu(*cuint); in get_regu_max_voltage()
|
| /rk3399_ARM-atf/drivers/mtd/spi-mem/ |
| H A D | spi_mem.c | 217 spi_slave.cs = fdt32_to_cpu(*cuint); in spi_mem_init_slave() 224 spi_slave.max_hz = fdt32_to_cpu(*cuint); in spi_mem_init_slave() 250 switch (fdt32_to_cpu(*cuint)) { in spi_mem_init_slave() 261 fdt32_to_cpu(*cuint)); in spi_mem_init_slave() 268 switch (fdt32_to_cpu(*cuint)) { in spi_mem_init_slave() 279 fdt32_to_cpu(*cuint)); in spi_mem_init_slave()
|
| /rk3399_ARM-atf/plat/qemu/qemu_sbsa/ |
| H A D | sbsa_platform.c | 182 higher_value = fdt32_to_cpu(*prop); in read_meminfo_from_dt() 183 lower_value = fdt32_to_cpu(*(prop + 1)); in read_meminfo_from_dt() 186 higher_value = fdt32_to_cpu(*(prop + 2)); in read_meminfo_from_dt() 187 lower_value = fdt32_to_cpu(*(prop + 3)); in read_meminfo_from_dt()
|
| /rk3399_ARM-atf/drivers/st/rif/ |
| H A D | stm32mp2_risaf.c | 268 address = (uintptr_t)fdt32_to_cpu(cuint[0]) << 32; in risaf_register_region() 269 address |= fdt32_to_cpu(cuint[1]); in risaf_register_region() 270 length = (size_t)fdt32_to_cpu(cuint[2]) << 32; in risaf_register_region() 271 length |= fdt32_to_cpu(cuint[3]); in risaf_register_region() 292 protreg = fdt32_to_cpu(*cuint); in risaf_register_region() 386 pnode = fdt_node_offset_by_phandle(fdt, fdt32_to_cpu(conf_list[i])); in risaf_parse_fdt()
|
| /rk3399_ARM-atf/drivers/allwinner/axp/ |
| H A D | common.c | 66 min_volt = fdt32_to_cpu(*prop); in fdt_get_regulator_millivolt() 72 if (fdt32_to_cpu(*prop) != min_volt) in fdt_get_regulator_millivolt()
|
| /rk3399_ARM-atf/drivers/st/fmc/ |
| H A D | stm32_fmc2_nand.c | 830 bank = fdt32_to_cpu(*cuint); in stm32_fmc2_init() 835 bank_address[bank] = fdt32_to_cpu(*(cuint + 2)); in stm32_fmc2_init() 861 bank = fdt32_to_cpu(*cuint); in stm32_fmc2_init() 865 stm32_fmc2.cs[i].data_base = fdt32_to_cpu(*(cuint + 1)) + in stm32_fmc2_init() 868 bank = fdt32_to_cpu(*(cuint + 3)); in stm32_fmc2_init() 872 stm32_fmc2.cs[i].cmd_base = fdt32_to_cpu(*(cuint + 4)) + in stm32_fmc2_init() 875 bank = fdt32_to_cpu(*(cuint + 6)); in stm32_fmc2_init() 879 stm32_fmc2.cs[i].addr_base = fdt32_to_cpu(*(cuint + 7)) + in stm32_fmc2_init() 903 stm32_fmc2.cs_sel = fdt32_to_cpu(*cuint); in stm32_fmc2_init()
|
| /rk3399_ARM-atf/drivers/st/gpio/ |
| H A D | stm32_gpio.c | 54 if ((fdt32_to_cpu(*cuint) == bank_offset) && in ckeck_gpio_bank() 89 speed = fdt32_to_cpu(*slewrate); in dt_set_gpio_config() 111 pincfg = fdt32_to_cpu(*cuint); in dt_set_gpio_config() 206 p_node = fdt_node_offset_by_phandle(fdt, fdt32_to_cpu(*cuint)); in dt_set_pinctrl_config()
|
| /rk3399_ARM-atf/drivers/st/mce/ |
| H A D | stm32_mce.c | 385 region.start_address = fdt32_to_cpu(conf_list->id_attr[i * MCE_REGION_PARAMS]); in fconf_populate_mce() 386 size = fdt32_to_cpu(conf_list->id_attr[i * MCE_REGION_PARAMS + 1U]); in fconf_populate_mce() 388 region.encrypt_mode = fdt32_to_cpu(conf_list->id_attr[i * MCE_REGION_PARAMS + 2U]); in fconf_populate_mce()
|
| /rk3399_ARM-atf/drivers/st/regulator/ |
| H A D | regulator_core.c | 95 supply_phandle = fdt32_to_cpu(*cuint); in get_supply_phandle() 440 rdev->enable_ramp_delay = fdt32_to_cpu(*cuint); in parse_properties() 480 min_mv = (uint16_t)(fdt32_to_cpu(*cuint) / 1000U); in parse_dt() 495 max_mv = (uint16_t)(fdt32_to_cpu(*cuint) / 1000U); in parse_dt()
|
| /rk3399_ARM-atf/lib/libfdt/ |
| H A D | libfdt_internal.h | 60 return fdt32_to_cpu(*p); in fdt32_ld_()
|
| H A D | fdt_addresses.c | 27 val = fdt32_to_cpu(*c); in fdt_cells()
|
| H A D | libfdt_env.h | 47 static inline uint32_t fdt32_to_cpu(fdt32_t x) in fdt32_to_cpu() function
|
| H A D | fdt.c | 173 tag = fdt32_to_cpu(*tagp); in fdt_next_tag() 192 len = fdt32_to_cpu(*lenp); in fdt_next_tag()
|
| /rk3399_ARM-atf/common/ |
| H A D | fdt_wrappers.c | 51 value[i] = fdt32_to_cpu(prop[i]); in fdt_read_uint32_array() 282 uint64_t reg = fdt32_to_cpu(prop[0]); in fdt_read_prop_cells() 285 reg = (reg << 32) | fdt32_to_cpu(prop[1]); in fdt_read_prop_cells() 471 length = fdt32_to_cpu(ranges_prop->len); in fdtw_search_all_xlat_entries()
|
| /rk3399_ARM-atf/drivers/st/clk/ |
| H A D | stm32mp_clkfunc.c | 59 *freq = fdt32_to_cpu(*cuint); in fdt_osc_read_freq() 292 return (int)fdt32_to_cpu(*cuint); in fdt_get_clock_id()
|
| /rk3399_ARM-atf/include/common/ |
| H A D | fdt_wrappers.h | 58 return fdt32_to_cpu(dtb_header[1]); in fdt_blob_size()
|
| /rk3399_ARM-atf/drivers/st/pmic/ |
| H A D | stm32mp_pmic2.c | 102 *i2c_addr = fdt32_to_cpu(*cuint) << 1; in dt_pmic2_i2c_config() 440 regul->bypass_mv = (uint16_t)(fdt32_to_cpu(*cuint) / 1000U); in register_pmic2()
|
| H A D | stm32mp_pmic.c | 104 pmic_i2c_addr = fdt32_to_cpu(*cuint) << 1; in dt_pmic_i2c_config()
|
| /rk3399_ARM-atf/plat/arm/board/arm_fpga/ |
| H A D | fpga_bl31_setup.c | 220 uint32_t freq_dtb = fdt32_to_cpu(freq); in fpga_dtb_update_clock()
|
| /rk3399_ARM-atf/drivers/st/bsec/ |
| H A D | bsec2.c | 115 offset = fdt32_to_cpu(*cuint); in bsec_dt_otp_nsec_access() 117 length = fdt32_to_cpu(*cuint); in bsec_dt_otp_nsec_access()
|
| /rk3399_ARM-atf/drivers/st/mmc/ |
| H A D | stm32_sdmmc2.c | 739 switch (fdt32_to_cpu(*cuint)) { in stm32_sdmmc2_dt_get_config() 755 sdmmc2_params.max_freq = fdt32_to_cpu(*cuint); in stm32_sdmmc2_dt_get_config()
|