Home
last modified time | relevance | path

Searched refs:fdtdec_get_int (Results 1 – 25 of 124) sorted by relevance

12345

/external/u-boot/arch/x86/cpu/baytrail/
Dfsp_configs.c49 fsp_upd->mrc_init_tseg_size = fdtdec_get_int(blob, node, in update_fsp_configs()
52 fsp_upd->mrc_init_mmio_size = fdtdec_get_int(blob, node, in update_fsp_configs()
55 fsp_upd->mrc_init_spd_addr1 = fdtdec_get_int(blob, node, in update_fsp_configs()
58 fsp_upd->mrc_init_spd_addr2 = fdtdec_get_int(blob, node, in update_fsp_configs()
61 fsp_upd->emmc_boot_mode = fdtdec_get_int(blob, node, in update_fsp_configs()
73 fsp_upd->sata_mode = fdtdec_get_int(blob, node, "fsp,sata-mode", in update_fsp_configs()
80 fsp_upd->lpe_mode = fdtdec_get_int(blob, node, "fsp,lpe-mode", in update_fsp_configs()
82 fsp_upd->lpss_sio_mode = fdtdec_get_int(blob, node, "fsp,lpss-sio-mode", in update_fsp_configs()
96 fsp_upd->igd_dvmt50_pre_alloc = fdtdec_get_int(blob, node, in update_fsp_configs()
98 fsp_upd->aperture_size = fdtdec_get_int(blob, node, "fsp,aperture-size", in update_fsp_configs()
[all …]
/external/u-boot/arch/x86/cpu/quark/
Ddram.c73 mrc_flags = fdtdec_get_int(blob, node, "flags", 0); in mrc_configure_params()
79 mrc_params->dram_width = fdtdec_get_int(blob, node, "dram-width", 0); in mrc_configure_params()
80 mrc_params->ddr_speed = fdtdec_get_int(blob, node, "dram-speed", 0); in mrc_configure_params()
81 mrc_params->ddr_type = fdtdec_get_int(blob, node, "dram-type", 0); in mrc_configure_params()
83 mrc_params->rank_enables = fdtdec_get_int(blob, node, "rank-mask", 0); in mrc_configure_params()
84 mrc_params->channel_enables = fdtdec_get_int(blob, node, in mrc_configure_params()
86 mrc_params->channel_width = fdtdec_get_int(blob, node, in mrc_configure_params()
88 mrc_params->address_mode = fdtdec_get_int(blob, node, "addr-mode", 0); in mrc_configure_params()
90 mrc_params->refresh_rate = fdtdec_get_int(blob, node, in mrc_configure_params()
92 mrc_params->sr_temp_range = fdtdec_get_int(blob, node, in mrc_configure_params()
[all …]
/external/u-boot/drivers/video/exynos/
Dexynos_mipi_dsi.c245 dt->e_interface = fdtdec_get_int(blob, node, in exynos_dsim_config_parse_dt()
248 dt->e_virtual_ch = fdtdec_get_int(blob, node, in exynos_dsim_config_parse_dt()
251 dt->e_pixel_format = fdtdec_get_int(blob, node, in exynos_dsim_config_parse_dt()
254 dt->e_burst_mode = fdtdec_get_int(blob, node, in exynos_dsim_config_parse_dt()
257 dt->e_no_data_lane = fdtdec_get_int(blob, node, in exynos_dsim_config_parse_dt()
260 dt->e_byte_clk = fdtdec_get_int(blob, node, in exynos_dsim_config_parse_dt()
263 dt->hfp = fdtdec_get_int(blob, node, in exynos_dsim_config_parse_dt()
266 dt->p = fdtdec_get_int(blob, node, in exynos_dsim_config_parse_dt()
268 dt->m = fdtdec_get_int(blob, node, in exynos_dsim_config_parse_dt()
270 dt->s = fdtdec_get_int(blob, node, in exynos_dsim_config_parse_dt()
[all …]
Dexynos_fb.c495 priv->vl_col = fdtdec_get_int(blob, node, "samsung,vl-col", 0); in exynos_fb_ofdata_to_platdata()
501 priv->vl_row = fdtdec_get_int(blob, node, "samsung,vl-row", 0); in exynos_fb_ofdata_to_platdata()
507 priv->vl_width = fdtdec_get_int(blob, node, in exynos_fb_ofdata_to_platdata()
510 priv->vl_height = fdtdec_get_int(blob, node, in exynos_fb_ofdata_to_platdata()
513 priv->vl_freq = fdtdec_get_int(blob, node, "samsung,vl-freq", 0); in exynos_fb_ofdata_to_platdata()
534 priv->vl_bpix = fdtdec_get_int(blob, node, "samsung,vl-bpix", 0); in exynos_fb_ofdata_to_platdata()
540 priv->vl_hspw = fdtdec_get_int(blob, node, "samsung,vl-hspw", 0); in exynos_fb_ofdata_to_platdata()
546 priv->vl_hfpd = fdtdec_get_int(blob, node, "samsung,vl-hfpd", 0); in exynos_fb_ofdata_to_platdata()
552 priv->vl_hbpd = (u_char)fdtdec_get_int(blob, node, in exynos_fb_ofdata_to_platdata()
559 priv->vl_vspw = (u_char)fdtdec_get_int(blob, node, in exynos_fb_ofdata_to_platdata()
[all …]
Dexynos_dp.c891 priv->disp_info.h_res = fdtdec_get_int(blob, node, in exynos_dp_ofdata_to_platdata()
893 priv->disp_info.h_sync_width = fdtdec_get_int(blob, node, in exynos_dp_ofdata_to_platdata()
895 priv->disp_info.h_back_porch = fdtdec_get_int(blob, node, in exynos_dp_ofdata_to_platdata()
897 priv->disp_info.h_front_porch = fdtdec_get_int(blob, node, in exynos_dp_ofdata_to_platdata()
899 priv->disp_info.v_res = fdtdec_get_int(blob, node, in exynos_dp_ofdata_to_platdata()
901 priv->disp_info.v_sync_width = fdtdec_get_int(blob, node, in exynos_dp_ofdata_to_platdata()
903 priv->disp_info.v_back_porch = fdtdec_get_int(blob, node, in exynos_dp_ofdata_to_platdata()
905 priv->disp_info.v_front_porch = fdtdec_get_int(blob, node, in exynos_dp_ofdata_to_platdata()
907 priv->disp_info.v_sync_rate = fdtdec_get_int(blob, node, in exynos_dp_ofdata_to_platdata()
910 priv->lt_info.lt_status = fdtdec_get_int(blob, node, in exynos_dp_ofdata_to_platdata()
[all …]
/external/u-boot/arch/x86/cpu/braswell/
Dfsp_configs.c71 memory_upd->mrc_init_tseg_size = fdtdec_get_int(blob, node, in update_fsp_configs()
73 memory_upd->mrc_init_mmio_size = fdtdec_get_int(blob, node, in update_fsp_configs()
75 memory_upd->mrc_init_spd_addr1 = fdtdec_get_int(blob, node, in update_fsp_configs()
77 memory_upd->mrc_init_spd_addr2 = fdtdec_get_int(blob, node, in update_fsp_configs()
79 memory_upd->igd_dvmt50_pre_alloc = fdtdec_get_int(blob, node, in update_fsp_configs()
81 memory_upd->aperture_size = fdtdec_get_int(blob, node, in update_fsp_configs()
83 memory_upd->gtt_size = fdtdec_get_int(blob, node, in update_fsp_configs()
89 memory_upd->memory_type = fdtdec_get_int(blob, node, in update_fsp_configs()
102 silicon_upd->sdcard_mode = fdtdec_get_int(blob, node, in update_fsp_configs()
116 silicon_upd->lpe_mode = fdtdec_get_int(blob, node, in update_fsp_configs()
[all …]
/external/u-boot/arch/nios2/cpu/
Dcpu.c107 gd->cpu_clk = fdtdec_get_int(blob, node, in altera_nios2_probe()
109 gd->arch.dcache_line_size = fdtdec_get_int(blob, node, in altera_nios2_probe()
111 gd->arch.icache_line_size = fdtdec_get_int(blob, node, in altera_nios2_probe()
113 gd->arch.dcache_size = fdtdec_get_int(blob, node, in altera_nios2_probe()
115 gd->arch.icache_size = fdtdec_get_int(blob, node, in altera_nios2_probe()
117 gd->arch.reset_addr = fdtdec_get_int(blob, node, in altera_nios2_probe()
119 gd->arch.exception_addr = fdtdec_get_int(blob, node, in altera_nios2_probe()
121 gd->arch.has_initda = fdtdec_get_int(blob, node, in altera_nios2_probe()
123 gd->arch.has_mmu = fdtdec_get_int(blob, node, in altera_nios2_probe()
/external/u-boot/drivers/power/
Dexynos-tmu.c210 info->tmu_mux = fdtdec_get_int(blob, in get_tmu_fdt_values()
216 info->data.ts.min_val = fdtdec_get_int(blob, in get_tmu_fdt_values()
219 info->data.ts.max_val = fdtdec_get_int(blob, in get_tmu_fdt_values()
222 info->data.ts.start_warning = fdtdec_get_int(blob, in get_tmu_fdt_values()
225 info->data.ts.start_tripping = fdtdec_get_int(blob, in get_tmu_fdt_values()
228 info->data.ts.hardware_tripping = fdtdec_get_int(blob, in get_tmu_fdt_values()
231 info->data.efuse_min_value = fdtdec_get_int(blob, in get_tmu_fdt_values()
234 info->data.efuse_value = fdtdec_get_int(blob, in get_tmu_fdt_values()
237 info->data.efuse_max_value = fdtdec_get_int(blob, in get_tmu_fdt_values()
240 info->data.slope = fdtdec_get_int(blob, in get_tmu_fdt_values()
[all …]
/external/u-boot/arch/x86/cpu/intel_common/
Dmicrocode.c47 update->header_version = fdtdec_get_int(blob, node, in microcode_decode_node()
49 update->update_revision = fdtdec_get_int(blob, node, in microcode_decode_node()
51 update->date_code = fdtdec_get_int(blob, node, in microcode_decode_node()
53 update->processor_signature = fdtdec_get_int(blob, node, in microcode_decode_node()
55 update->checksum = fdtdec_get_int(blob, node, "intel,checksum", 0); in microcode_decode_node()
56 update->loader_revision = fdtdec_get_int(blob, node, in microcode_decode_node()
58 update->processor_flags = fdtdec_get_int(blob, node, in microcode_decode_node()
/external/u-boot/drivers/sound/
Dsound-i2s.c56 i2s->audio_pll_clk = fdtdec_get_int(blob, in get_sound_i2s_values()
60 i2s->samplingrate = fdtdec_get_int(blob, in get_sound_i2s_values()
64 i2s->bitspersample = fdtdec_get_int(blob, in get_sound_i2s_values()
68 i2s->channels = fdtdec_get_int(blob, in get_sound_i2s_values()
72 i2s->rfs = fdtdec_get_int(blob, in get_sound_i2s_values()
76 i2s->bfs = fdtdec_get_int(blob, in get_sound_i2s_values()
81 i2s->id = fdtdec_get_int(blob, node, "samsung,i2s-id", -1); in get_sound_i2s_values()
/external/u-boot/arch/x86/lib/
Dpinctrl_ich6.c83 dir = fdtdec_get_int(gd->fdt_blob, pin_node, "direction", -1); in ich6_pinctrl_cfg_pin()
89 val = fdtdec_get_int(gd->fdt_blob, pin_node, "output-value", in ich6_pinctrl_cfg_pin()
114 pad_offset = fdtdec_get_int(gd->fdt_blob, pin_node, in ich6_pinctrl_cfg_pin()
127 val = fdtdec_get_int(gd->fdt_blob, pin_node, "mode-func", -1); in ich6_pinctrl_cfg_pin()
132 val = fdtdec_get_int(gd->fdt_blob, pin_node, "pull-assign", -1); in ich6_pinctrl_cfg_pin()
138 val = fdtdec_get_int(gd->fdt_blob, pin_node, "pull-strength", in ich6_pinctrl_cfg_pin()
/external/u-boot/drivers/phy/marvell/
Dcomphy_core.c89 chip_cfg->comphy_lanes_count = fdtdec_get_int(blob, node, in comphy_probe()
96 chip_cfg->comphy_mux_bitcount = fdtdec_get_int(blob, node, in comphy_probe()
128 comphy_map_data[lane].speed = fdtdec_get_int( in comphy_probe()
130 comphy_map_data[lane].type = fdtdec_get_int( in comphy_probe()
132 comphy_map_data[lane].invert = fdtdec_get_int( in comphy_probe()
/external/u-boot/drivers/video/
Divybridge_igd.c501 reg32 = (unsigned)fdtdec_get_int(blob, node, in gma_pm_init_post_vbios()
503 reg32 |= fdtdec_get_int(blob, node, "panel-power-up-delay", 0) in gma_pm_init_post_vbios()
505 reg32 |= fdtdec_get_int(blob, node, in gma_pm_init_post_vbios()
513 reg32 = fdtdec_get_int(blob, node, "panel-power-down-delay", 0) in gma_pm_init_post_vbios()
515 reg32 |= fdtdec_get_int(blob, node, in gma_pm_init_post_vbios()
521 cycle_delay = fdtdec_get_int(blob, node, in gma_pm_init_post_vbios()
531 reg32 = fdtdec_get_int(blob, node, "intel,cpu-backlight", 0); in gma_pm_init_post_vbios()
536 reg32 = fdtdec_get_int(blob, node, "intel,pch-backlight", 0); in gma_pm_init_post_vbios()
Dbroadwell_igd.c714 plat->port_select = fdtdec_get_int(blob, node, "intel,port-select", 0); in broadwell_igd_ofdata_to_platdata()
715 plat->power_cycle_delay = fdtdec_get_int(blob, node, in broadwell_igd_ofdata_to_platdata()
717 plat->power_up_delay = fdtdec_get_int(blob, node, in broadwell_igd_ofdata_to_platdata()
719 plat->power_down_delay = fdtdec_get_int(blob, node, in broadwell_igd_ofdata_to_platdata()
721 plat->power_backlight_on_delay = fdtdec_get_int(blob, node, in broadwell_igd_ofdata_to_platdata()
723 plat->power_backlight_off_delay = fdtdec_get_int(blob, node, in broadwell_igd_ofdata_to_platdata()
725 plat->cpu_backlight = fdtdec_get_int(blob, node, in broadwell_igd_ofdata_to_platdata()
727 plat->pch_backlight = fdtdec_get_int(blob, node, in broadwell_igd_ofdata_to_platdata()
729 plat->pre_graphics_delay = fdtdec_get_int(blob, node, in broadwell_igd_ofdata_to_platdata()
Dsandbox_sdl.c51 plat->xres = fdtdec_get_int(blob, node, "xres", LCD_MAX_WIDTH); in sandbox_sdl_bind()
52 plat->yres = fdtdec_get_int(blob, node, "yres", LCD_MAX_HEIGHT); in sandbox_sdl_bind()
/external/u-boot/arch/x86/cpu/broadwell/
Dpinctrl_broadwell.c68 if (fdtdec_get_int(blob, node, "direction", -1) == PIN_INPUT) in broadwell_pinctrl_read_configs()
71 if (fdtdec_get_int(blob, node, "trigger", -1) == TRIGGER_LEVEL) in broadwell_pinctrl_read_configs()
73 if (fdtdec_get_int(blob, node, "output-value", -1) == 1) in broadwell_pinctrl_read_configs()
77 if (fdtdec_get_int(blob, node, "owner", -1) == OWNER_GPIO) in broadwell_pinctrl_read_configs()
79 if (fdtdec_get_int(blob, node, "route", -1) == ROUTE_SMI) in broadwell_pinctrl_read_configs()
84 if (fdtdec_get_int(blob, node, "pirq-apic", -1) == in broadwell_pinctrl_read_configs()
/external/u-boot/arch/x86/cpu/ivybridge/
Dsata.c50 port_map = fdtdec_get_int(blob, node, "intel,sata-port-map", 0); in bd82x6x_sata_init()
51 speed_support = fdtdec_get_int(blob, node, in bd82x6x_sata_init()
155 port_tx = fdtdec_get_int(blob, node, "intel,sata-port0-gen3-tx", 0); in bd82x6x_sata_init()
159 port_tx = fdtdec_get_int(blob, node, "intel,sata-port1-gen3-tx", 0); in bd82x6x_sata_init()
205 port_map = fdtdec_get_int(blob, node, "intel,sata-port-map", 0); in bd82x6x_sata_enable()
/external/u-boot/drivers/mmc/
Dexynos_dw_mmc.c164 host->dev_index = fdtdec_get_int(blob, node, "index", host->dev_id); in exynos_dwmci_get_config()
175 host->buswidth = fdtdec_get_int(blob, node, "samsung,bus-width", 4); in exynos_dwmci_get_config()
207 host->fifoth_val = fdtdec_get_int(blob, node, "fifoth_val", 0); in exynos_dwmci_get_config()
208 host->bus_hz = fdtdec_get_int(blob, node, "bus_hz", 0); in exynos_dwmci_get_config()
209 host->div = fdtdec_get_int(blob, node, "div", 0); in exynos_dwmci_get_config()
/external/u-boot/drivers/usb/musb-new/
Dti-musb.c104 platdata->musb_config.multipoint = fdtdec_get_int(fdt, node, in ti_musb_ofdata_to_platdata()
114 platdata->musb_config.num_eps = fdtdec_get_int(fdt, node, in ti_musb_ofdata_to_platdata()
121 platdata->musb_config.ram_bits = fdtdec_get_int(fdt, node, in ti_musb_ofdata_to_platdata()
132 platdata->plat.power = fdtdec_get_int(fdt, node, "mentor,power", -1); in ti_musb_ofdata_to_platdata()
/external/u-boot/drivers/pinctrl/exynos/
Dpinctrl-exynos.c86 pinfunc = fdtdec_get_int(fdt, node, "samsung,pin-function", -1); in exynos_pinctrl_set_state()
87 pinpud = fdtdec_get_int(fdt, node, "samsung,pin-pud", -1); in exynos_pinctrl_set_state()
88 pindrv = fdtdec_get_int(fdt, node, "samsung,pin-drv", -1); in exynos_pinctrl_set_state()
/external/u-boot/drivers/i2c/muxes/
Di2c-arb-gpio-challenge.c95 priv->slew_delay_us = fdtdec_get_int(blob, node, "slew-delay-us", 0); in i2c_arbitrator_probe()
96 priv->wait_retry_ms = fdtdec_get_int(blob, node, "wait-retry-us", 0) / in i2c_arbitrator_probe()
98 priv->wait_free_ms = fdtdec_get_int(blob, node, "wait-free-us", 0) / in i2c_arbitrator_probe()
/external/u-boot/drivers/pinctrl/mvebu/
Dpinctrl-mvebu.c88 function = fdtdec_get_int(blob, node, "marvell,function", 0xff); in mvebu_pinctrl_set_state()
200 priv->pin_cnt = fdtdec_get_int(blob, node, "pin-count", in mvebu_pinctl_probe()
202 priv->max_func = fdtdec_get_int(blob, node, "max-func", in mvebu_pinctl_probe()
/external/u-boot/drivers/video/rockchip/
Drk_lvds.c181 ret = fdtdec_get_int(blob, node, "rockchip,output", -1); in rk_lvds_ofdata_to_platdata()
190 ret = fdtdec_get_int(blob, node, "rockchip,data-mapping", -1); in rk_lvds_ofdata_to_platdata()
199 ret = fdtdec_get_int(blob, node, "rockchip,data-width", -1); in rk_lvds_ofdata_to_platdata()
/external/u-boot/drivers/pinctrl/
Dpinctrl-single.c103 pdata->width = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), in single_ofdata_to_platdata()
119 pdata->mask = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), in single_ofdata_to_platdata()
/external/u-boot/arch/arm/mach-tegra/tegra20/
Demc.c149 if (fdtdec_get_int(blob, offset, "nvidia,ram-code", -1) in find_emc_tables()
213 node_rate = fdtdec_get_int(blob, node, "clock-frequency", -1); in decode_emc()

12345