Home
last modified time | relevance | path

Searched refs:ofnode_read_u32_default (Results 1 – 25 of 35) sorted by relevance

12

/u-boot/drivers/spi/
A Dcadence_qspi.c311 plat->max_hz = ofnode_read_u32_default(subnode, "spi-max-frequency", in cadence_spi_of_to_plat()
315 plat->page_size = ofnode_read_u32_default(subnode, "page-size", 256); in cadence_spi_of_to_plat()
316 plat->block_size = ofnode_read_u32_default(subnode, "block-size", 16); in cadence_spi_of_to_plat()
317 plat->tshsl_ns = ofnode_read_u32_default(subnode, "cdns,tshsl-ns", in cadence_spi_of_to_plat()
319 plat->tsd2d_ns = ofnode_read_u32_default(subnode, "cdns,tsd2d-ns", in cadence_spi_of_to_plat()
321 plat->tchsh_ns = ofnode_read_u32_default(subnode, "cdns,tchsh-ns", 20); in cadence_spi_of_to_plat()
322 plat->tslch_ns = ofnode_read_u32_default(subnode, "cdns,tslch-ns", 20); in cadence_spi_of_to_plat()
/u-boot/drivers/ram/stm32mp1/
A Dstm32mp1_ram.c120 config.info.speed = ofnode_read_u32_default(node, "st,mem-speed", 0); in stm32mp1_ddr_setup()
121 config.info.size = ofnode_read_u32_default(node, "st,mem-size", 0); in stm32mp1_ddr_setup()
213 priv->info.size = ofnode_read_u32_default(node, "st,mem-size", 0); in stm32mp1_ddr_probe()
/u-boot/drivers/net/
A Deth-phy-uclass.c108 reg = ofnode_read_u32_default(phandle_args.node, "reg", 0); in eth_phy_get_addr()
A Dbcm6368-eth.c597 p = ofnode_read_u32_default(node, "reg", ETH_MAX_PORT); in bcm6368_eth_probe()
608 phy_id = ofnode_read_u32_default(node, "brcm,phy-id", -1); in bcm6368_eth_probe()
618 speed = ofnode_read_u32_default(node, "speed", 0); in bcm6368_eth_probe()
A Dzynq_gem.c786 priv->phyaddr = ofnode_read_u32_default(phandle_args.node, in zynq_gem_of_to_plat()
789 priv->max_speed = ofnode_read_u32_default(phandle_args.node, in zynq_gem_of_to_plat()
A Dbcm6348-eth.c438 priv->phy_id = ofnode_read_u32_default(phy.node, "reg", -1); in bcm6348_eth_probe()
/u-boot/drivers/ram/
A Dmpc83xx_sdram.c162 auto_precharge = ofnode_read_u32_default(node, "auto_precharge", 0); in mpc83xx_sdram_static_init()
173 odt_rd_cfg = ofnode_read_u32_default(node, "odt_rd_cfg", 0); in mpc83xx_sdram_static_init()
204 odt_wr_cfg = ofnode_read_u32_default(node, "odt_wr_cfg", 0); in mpc83xx_sdram_static_init()
235 bank_bits = ofnode_read_u32_default(node, "bank_bits", 0); in mpc83xx_sdram_static_init()
249 row_bits = ofnode_read_u32_default(node, "row_bits", 0); in mpc83xx_sdram_static_init()
266 col_bits = ofnode_read_u32_default(node, "col_bits", 0); in mpc83xx_sdram_static_init()
A Dstm32_sdram.c347 bank_params->sdram_ref_count = ofnode_read_u32_default(bank_node, in stm32_fmc_of_to_plat()
/u-boot/drivers/net/phy/
A Dxilinx_phy.c110 phytype = ofnode_read_u32_default(node, "xlnx,phy-type", -1); in xilinxphy_of_init()
A Datheros.c223 min_uV = ofnode_read_u32_default(vddio_reg_node, in ar803x_of_init()
225 max_uV = ofnode_read_u32_default(vddio_reg_node, in ar803x_of_init()
A Ddp83867.c239 dp83867->fifo_depth = ofnode_read_u32_default(node, "ti,fifo-depth", in dp83867_of_init()
A Dmicrel_ksz90x1.c136 val[i] = ofnode_read_u32_default(node, ofcfg->grp[i].name, ~0); in ksz90x1_of_config_group()
/u-boot/drivers/core/
A Dofnode.c26 u32 ofnode_read_u32_default(ofnode node, const char *propname, u32 def) in ofnode_read_u32_default() function
539 result->typ = ofnode_read_u32_default(node, name, 0); in decode_timing_property()
583 val = ofnode_read_u32_default(node, "vsync-active", -1); in ofnode_decode_display_timing()
588 val = ofnode_read_u32_default(node, "hsync-active", -1); in ofnode_decode_display_timing()
593 val = ofnode_read_u32_default(node, "de-active", -1); in ofnode_decode_display_timing()
598 val = ofnode_read_u32_default(node, "pixelclk-active", -1); in ofnode_decode_display_timing()
A Dread.c24 return ofnode_read_u32_default(dev_ofnode(dev), propname, def); in dev_read_u32_default()
48 return ofnode_read_u32_default(dev_ofnode(dev), propname, def); in dev_read_s32_default()
/u-boot/drivers/gpio/
A Ddwapb_gpio.c186 plat->pins = ofnode_read_u32_default(node, "snps,nr-gpios", 0); in gpio_dwapb_bind()
A Docteon_gpio.c193 uc_priv->gpio_count = ofnode_read_u32_default(dev_ofnode(dev), in octeon_gpio_probe()
/u-boot/drivers/thermal/
A Dimx_tmu.c424 pdata->critical = ofnode_read_u32_default(trips_np, "temperature", 85); in imx_tmu_parse_fdt()
426 pdata->alert = ofnode_read_u32_default(trips_np, "temperature", 80); in imx_tmu_parse_fdt()
/u-boot/arch/arm/mach-tegra/
A Dxusb-padctl-common.c111 group->iddq = ofnode_read_u32_default(node, "nvidia,iddq", -1); in tegra_xusb_padctl_group_parse_dt()
/u-boot/drivers/phy/
A Dphy-uclass.c73 args.args[0] = ofnode_read_u32_default(args.node, "reg", -1); in generic_phy_get_by_index_nodev()
/u-boot/include/dm/
A Dofnode.h278 u32 ofnode_read_u32_default(ofnode ref, const char *propname, u32 def);
A Dread.h724 return ofnode_read_u32_default(dev_ofnode(dev), propname, def); in dev_read_u32_default()
/u-boot/drivers/video/rockchip/
A Drk_mipi.c126 val = ofnode_read_u32_default(node, "bits-per-pixel", -1); in rk_mipi_dsi_enable()
A Drk_vop.c252 remote_vop_id = ofnode_read_u32_default(remote, "reg", -1); in rk_display_init()
/u-boot/drivers/pinctrl/
A Dpinctrl_stm32.c335 gpio_ctl->speed = ofnode_read_u32_default(node, "slew-rate", 0); in prep_gpio_ctl()
/u-boot/drivers/mmc/
A Docteontx_hsmmc.c3545 bus_width = ofnode_read_u32_default(node, "bus-width", 1); in octeontx_mmc_get_config()
3594 ofnode_read_u32_default(node, in octeontx_mmc_get_config()
3600 ofnode_read_u32_default(node, in octeontx_mmc_get_config()
3606 ofnode_read_u32_default(node, in octeontx_mmc_get_config()
3612 ofnode_read_u32_default(node, in octeontx_mmc_get_config()
3622 slot->cmd_clk_skew = ofnode_read_u32_default(node, in octeontx_mmc_get_config()
3624 slot->dat_clk_skew = ofnode_read_u32_default(node, in octeontx_mmc_get_config()
3768 ofnode_read_u32_default(dev_ofnode(dev), in octeontx_mmc_host_probe()

Completed in 54 milliseconds

12