Home
last modified time | relevance | path

Searched refs:fdt32_to_cpu (Results 1 – 20 of 20) sorted by relevance

/tf-a-ffa_el3_spmc/plat/st/common/
A Dstm32mp_dt.c146 info->base = fdt32_to_cpu(*cuint); in dt_fill_device_info()
154 info->clock = (int)fdt32_to_cpu(*cuint); in dt_fill_device_info()
162 info->reset = (int)fdt32_to_cpu(*cuint); in dt_fill_device_info()
258 node = fdt_node_offset_by_phandle(fdt, fdt32_to_cpu(*cuint)); in dt_get_pwr_vdd_voltage()
268 return fdt32_to_cpu(*cuint); in dt_get_pwr_vdd_voltage()
315 if (fdt32_to_cpu(*cuint) != bank_offset) { in fdt_get_gpio_bank_pin_count()
328 return (int)fdt32_to_cpu(*cuint); in fdt_get_gpio_bank_pin_count()
/tf-a-ffa_el3_spmc/drivers/mtd/spi-mem/
A Dspi_mem.c216 spi_slave.cs = fdt32_to_cpu(*cuint); in spi_mem_init_slave()
223 spi_slave.max_hz = fdt32_to_cpu(*cuint); in spi_mem_init_slave()
249 switch (fdt32_to_cpu(*cuint)) { in spi_mem_init_slave()
260 fdt32_to_cpu(*cuint)); in spi_mem_init_slave()
267 switch (fdt32_to_cpu(*cuint)) { in spi_mem_init_slave()
278 fdt32_to_cpu(*cuint)); in spi_mem_init_slave()
/tf-a-ffa_el3_spmc/plat/st/stm32mp1/
A Dstm32mp1_gic.c67 platform_gic_data.gicc_base = fdt32_to_cpu(*(cuint + 2)); in stm32mp1_gic_init()
74 stm32_gic.cells = fdt32_to_cpu(*cuint); in stm32mp1_gic_init()
A Dstm32mp1_private.c332 board_otp = fdt32_to_cpu(*cuint) / sizeof(uint32_t); in stm32mp_print_boardinfo()
/tf-a-ffa_el3_spmc/drivers/st/gpio/
A Dstm32_gpio.c50 if ((fdt32_to_cpu(*cuint) == bank_offset) && in ckeck_gpio_bank()
85 speed = fdt32_to_cpu(*slewrate); in dt_set_gpio_config()
105 pincfg = fdt32_to_cpu(*cuint); in dt_set_gpio_config()
184 p_node = fdt_node_offset_by_phandle(fdt, fdt32_to_cpu(*cuint)); in dt_set_pinctrl_config()
/tf-a-ffa_el3_spmc/lib/libfdt/
A Dfdt.c168 tag = fdt32_to_cpu(*tagp); in fdt_next_tag()
188 + fdt32_to_cpu(*lenp); in fdt_next_tag()
190 fdt_version(fdt) < 0x10 && fdt32_to_cpu(*lenp) >= 8 && in fdt_next_tag()
191 ((offset - fdt32_to_cpu(*lenp)) % 8) != 0) in fdt_next_tag()
A Dfdt_overlay.c37 if ((len != sizeof(*val)) || (fdt32_to_cpu(*val) == (uint32_t)-1)) in overlay_get_target_phandle()
40 return fdt32_to_cpu(*val); in overlay_get_target_phandle()
130 adj_val = fdt32_to_cpu(*val); in overlay_phandle_add_offset()
258 poffset = fdt32_to_cpu(fixup_val[i]); in overlay_update_local_node_references()
268 adj_val = cpu_to_fdt32(fdt32_to_cpu(adj_val) + delta); in overlay_update_local_node_references()
A Dfdt_addresses.c27 val = fdt32_to_cpu(*c); in fdt_cells()
A Dfdt_sw.c367 nameoff = fdt32_to_cpu(prop->nameoff); in fdt_finish()
/tf-a-ffa_el3_spmc/drivers/st/clk/
A Dstm32mp_clkfunc.c55 *freq = fdt32_to_cpu(*cuint); in fdt_osc_read_freq()
292 return (int)fdt32_to_cpu(*cuint); in fdt_get_clock_id()
A Dstm32mp1_clk.c1990 uint32_t pkcs = fdt32_to_cpu(pkcs_cell[j]); in stm32mp1_clk_init()
/tf-a-ffa_el3_spmc/drivers/allwinner/axp/
A Dcommon.c64 min_volt = fdt32_to_cpu(*prop); in fdt_get_regulator_millivolt()
70 if (fdt32_to_cpu(*prop) != min_volt) in fdt_get_regulator_millivolt()
/tf-a-ffa_el3_spmc/include/common/
A Dfdt_wrappers.h48 return fdt32_to_cpu(dtb_header[1]); in fdt_blob_size()
/tf-a-ffa_el3_spmc/drivers/st/fmc/
A Dstm32_fmc2_nand.c830 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()
/tf-a-ffa_el3_spmc/common/
A Dfdt_wrappers.c49 value[i] = fdt32_to_cpu(prop[i]); in fdt_read_uint32_array()
267 uint64_t reg = fdt32_to_cpu(prop[0]); in fdt_read_prop_cells()
270 reg = (reg << 32) | fdt32_to_cpu(prop[1]); in fdt_read_prop_cells()
456 length = fdt32_to_cpu(ranges_prop->len); in fdtw_search_all_xlat_entries()
/tf-a-ffa_el3_spmc/include/lib/libfdt/
A Dlibfdt_env.h47 static inline uint32_t fdt32_to_cpu(fdt32_t x) in fdt32_to_cpu() function
/tf-a-ffa_el3_spmc/drivers/st/mmc/
A Dstm32_sdmmc2.c648 if (fdt32_to_cpu(*cuint) == sdmmc2_params.reg_base) { in stm32_sdmmc2_dt_get_config()
674 sdmmc2_params.clock_id = fdt32_to_cpu(*cuint); in stm32_sdmmc2_dt_get_config()
682 sdmmc2_params.reset_id = fdt32_to_cpu(*cuint); in stm32_sdmmc2_dt_get_config()
698 switch (fdt32_to_cpu(*cuint)) { in stm32_sdmmc2_dt_get_config()
714 sdmmc2_params.max_freq = fdt32_to_cpu(*cuint); in stm32_sdmmc2_dt_get_config()
/tf-a-ffa_el3_spmc/drivers/st/pmic/
A Dstm32mp_pmic.c91 pmic_i2c_addr = fdt32_to_cpu(*cuint) << 1; in dt_pmic_i2c_config()
171 voltage = (uint16_t)(fdt32_to_cpu(*cuint) / 1000U);
/tf-a-ffa_el3_spmc/drivers/st/bsec/
A Dbsec.c91 reg = fdt32_to_cpu(*cuint) / sizeof(uint32_t); in bsec_dt_otp_nsec_access()
101 size = fdt32_to_cpu(*(cuint + 1)) / sizeof(uint32_t); in bsec_dt_otp_nsec_access()
103 if ((fdt32_to_cpu(*(cuint + 1)) % sizeof(uint32_t)) != 0) { in bsec_dt_otp_nsec_access()
/tf-a-ffa_el3_spmc/drivers/st/i2c/
A Dstm32_i2c.c105 init->rise_time = fdt32_to_cpu(*cuint); in stm32_i2c_get_setup_from_fdt()
112 init->fall_time = fdt32_to_cpu(*cuint); in stm32_i2c_get_setup_from_fdt()
119 switch (fdt32_to_cpu(*cuint)) { in stm32_i2c_get_setup_from_fdt()

Completed in 30 milliseconds