Home
last modified time | relevance | path

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

12

/optee_os-3.20.0/core/kernel/
A Ddt.c150 addr = fdt32_to_cpu(*cell); in _fdt_read_paddr()
158 addr = fdt32_to_cpu(*cell); in _fdt_read_paddr()
160 addr = (addr << 32) | fdt32_to_cpu(*cell); in _fdt_read_paddr()
218 sz = fdt32_to_cpu(*reg); in _fdt_reg_size()
223 sz = fdt32_to_cpu(*reg); in _fdt_reg_size()
279 dinfo.clock = (int)fdt32_to_cpu(*cuint); in _fdt_fill_device_info()
285 dinfo.reset = (int)fdt32_to_cpu(*cuint); in _fdt_fill_device_info()
311 *array = fdt32_to_cpu(*cuint); in _fdt_read_uint32_array()
A Dtpm.c48 log_addr = fdt32_to_cpu(property[1]); in read_dt_tpm_log_info()
65 *size = fdt32_to_cpu(property[0]); in read_dt_tpm_log_info()
A Ddt_driver.c189 return fdt32_to_cpu(*c); in fdt_get_dt_driver_cells()
238 pargs->args[n] = fdt32_to_cpu(prop[n + 1]); in device_from_provider_prop()
271 phandle = fdt32_to_cpu(prop[idx32]); in dt_driver_device_from_node_idx_prop()
/optee_os-3.20.0/core/lib/libfdt/
A Dfdt.c142 tag = fdt32_to_cpu(*tagp); in fdt_next_tag()
162 + fdt32_to_cpu(*lenp); in fdt_next_tag()
163 if (fdt_version(fdt) < 0x10 && fdt32_to_cpu(*lenp) >= 8 && in fdt_next_tag()
164 ((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()
257 poffset = fdt32_to_cpu(fixup_val[i]); in overlay_update_local_node_references()
267 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.c359 nameoff = fdt32_to_cpu(prop->nameoff); in fdt_finish()
/optee_os-3.20.0/core/drivers/
A Dstm32_gpio.c182 if (fdt32_to_cpu(*cuint) != stm32_get_gpio_bank_offset(bank)) in ckeck_gpio_bank()
222 speed = fdt32_to_cpu(*slewrate); in get_pinctrl_from_fdt()
237 pincfg = fdt32_to_cpu(*cuint); in get_pinctrl_from_fdt()
321 node = fdt_node_offset_by_phandle(fdt, fdt32_to_cpu(*cuint)); in stm32_pinctrl_fdt_get_pinctrl()
361 if (fdt32_to_cpu(*cuint) != stm32_get_gpio_bank_offset(bank)) in stm32_get_gpio_count()
368 return (int)fdt32_to_cpu(*cuint); in stm32_get_gpio_count()
A Datmel_saic.c172 it = fdt32_to_cpu(properties[0]); in saic_dt_get_irq()
176 irq_type = fdt32_to_cpu(properties[1]); in saic_dt_get_irq()
180 priority = fdt32_to_cpu(properties[2]); in saic_dt_get_irq()
229 it = fdt32_to_cpu(external[i]); in saic_init_external()
A Datmel_shdwc.c103 wk_input = fdt32_to_cpu(*prop); in at91_shdwc_get_wakeup_input()
129 tmp = fdt32_to_cpu(*prop); in at91_shdwc_dt_configure()
A Datmel_piobu.c316 gpio_pin = fdt32_to_cpu(prop[i]); in secumod_hw_init()
317 config = fdt32_to_cpu(prop[i + 1]); in secumod_hw_init()
A Dls_sfp.c138 gc->gpio_controller = (uint8_t)fdt32_to_cpu(*gpio_val); in ls_sfp_init()
139 gpio_info.gpio_pin = fdt32_to_cpu(*pin_val); in ls_sfp_init()
A Dls_dspi.c558 (unsigned int)fdt32_to_cpu(*bus_num)) { in get_info_from_device_tree()
573 dspi_data->num_chipselect = (int)fdt32_to_cpu(*chip_select_num); in get_info_from_device_tree()
A Dgic.c227 it_num = fdt32_to_cpu(properties[1]); in gic_dt_get_irq()
229 switch (fdt32_to_cpu(properties[0])) { in gic_dt_get_irq()
A Dstm32_iwdg.c287 iwdg->timeout = (int)fdt32_to_cpu(*cuint); in stm32_iwdg_parse_fdt()
A Dstm32_i2c.c712 init->rise_time = fdt32_to_cpu(*cuint); in stm32_i2c_get_setup_from_fdt()
718 init->fall_time = fdt32_to_cpu(*cuint); in stm32_i2c_get_setup_from_fdt()
724 init->bus_rate = fdt32_to_cpu(*cuint); in stm32_i2c_get_setup_from_fdt()
/optee_os-3.20.0/core/arch/arm/plat-stm32mp1/drivers/
A Dstm32mp1_pmic.c139 mv = fdt32_to_cpu(*cuint) / 1000; in dt_get_regu_boot_on_config()
284 uint32_t mv = fdt32_to_cpu(*cuint) / 1000U; in dt_get_regu_low_power_config()
295 if (cuint && fdt32_to_cpu(*cuint) == MODE_STANDBY) in dt_get_regu_low_power_config()
358 node = fdt_node_offset_by_phandle(fdt, fdt32_to_cpu(*cuint)); in save_cpu_supply_name()
484 pmic_i2c_addr = fdt32_to_cpu(*cuint) << 1; in dt_pmic_i2c_config()
/optee_os-3.20.0/core/drivers/clk/
A Dclk_dt.c68 phandle = fdt32_to_cpu(prop[idx]); in parse_clock_property()
171 rate = fdt32_to_cpu(rate_prop[clock_idx]); in parse_assigned_clock()
A Dfixed_clk.c57 fcd->rate = fdt32_to_cpu(*freq); in fixed_clock_probe()
A Dclk-stm32-core.c492 tab[i] = fdt32_to_cpu(cell[i]); in clk_stm32_parse_fdt_by_name()
A Dclk-stm32mp13.c1449 osci->freq = fdt32_to_cpu(*cuint); in clk_stm32_parse_oscillator_fdt()
1546 subnode_pll = fdt_node_offset_by_phandle(fdt, fdt32_to_cpu(*cuint)); in clk_stm32_parse_pll_fdt()
1554 subnode_vco = fdt_node_offset_by_phandle(fdt, fdt32_to_cpu(*cuint)); in clk_stm32_parse_pll_fdt()
/optee_os-3.20.0/core/drivers/crypto/se050/glue/
A Di2c_stm32.c59 if (cuint && fdt32_to_cpu(*cuint) != CFG_CORE_SE05X_BAUDRATE) in dt_i2c_bus_config()
/optee_os-3.20.0/core/lib/libfdt/include/
A Dlibfdt_env.h47 static inline uint32_t fdt32_to_cpu(fdt32_t x) in fdt32_to_cpu() function
/optee_os-3.20.0/core/arch/arm/kernel/
A Dsecure_partition.c389 *value = fdt32_to_cpu(*p); in sp_dt_get_u32()
407 uuid_array[i] = fdt32_to_cpu(p[i]); in sp_dt_get_uuid()
/optee_os-3.20.0/core/drivers/clk/sam/
A Dsama5d2_clk.c377 bypass = fdt32_to_cpu(*fdt_prop); in pmc_setup()

Completed in 34 milliseconds

12