/u-boot/drivers/spi/ |
A D | cadence_qspi.c | 311 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 D | stm32mp1_ram.c | 120 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 D | eth-phy-uclass.c | 108 reg = ofnode_read_u32_default(phandle_args.node, "reg", 0); in eth_phy_get_addr()
|
A D | bcm6368-eth.c | 597 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 D | zynq_gem.c | 786 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 D | bcm6348-eth.c | 438 priv->phy_id = ofnode_read_u32_default(phy.node, "reg", -1); in bcm6348_eth_probe()
|
/u-boot/drivers/ram/ |
A D | mpc83xx_sdram.c | 162 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 D | stm32_sdram.c | 347 bank_params->sdram_ref_count = ofnode_read_u32_default(bank_node, in stm32_fmc_of_to_plat()
|
/u-boot/drivers/net/phy/ |
A D | xilinx_phy.c | 110 phytype = ofnode_read_u32_default(node, "xlnx,phy-type", -1); in xilinxphy_of_init()
|
A D | atheros.c | 223 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 D | dp83867.c | 239 dp83867->fifo_depth = ofnode_read_u32_default(node, "ti,fifo-depth", in dp83867_of_init()
|
A D | micrel_ksz90x1.c | 136 val[i] = ofnode_read_u32_default(node, ofcfg->grp[i].name, ~0); in ksz90x1_of_config_group()
|
/u-boot/drivers/core/ |
A D | ofnode.c | 26 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 D | read.c | 24 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 D | dwapb_gpio.c | 186 plat->pins = ofnode_read_u32_default(node, "snps,nr-gpios", 0); in gpio_dwapb_bind()
|
A D | octeon_gpio.c | 193 uc_priv->gpio_count = ofnode_read_u32_default(dev_ofnode(dev), in octeon_gpio_probe()
|
/u-boot/drivers/thermal/ |
A D | imx_tmu.c | 424 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 D | xusb-padctl-common.c | 111 group->iddq = ofnode_read_u32_default(node, "nvidia,iddq", -1); in tegra_xusb_padctl_group_parse_dt()
|
/u-boot/drivers/phy/ |
A D | phy-uclass.c | 73 args.args[0] = ofnode_read_u32_default(args.node, "reg", -1); in generic_phy_get_by_index_nodev()
|
/u-boot/include/dm/ |
A D | ofnode.h | 278 u32 ofnode_read_u32_default(ofnode ref, const char *propname, u32 def);
|
A D | read.h | 724 return ofnode_read_u32_default(dev_ofnode(dev), propname, def); in dev_read_u32_default()
|
/u-boot/drivers/video/rockchip/ |
A D | rk_mipi.c | 126 val = ofnode_read_u32_default(node, "bits-per-pixel", -1); in rk_mipi_dsi_enable()
|
A D | rk_vop.c | 252 remote_vop_id = ofnode_read_u32_default(remote, "reg", -1); in rk_display_init()
|
/u-boot/drivers/pinctrl/ |
A D | pinctrl_stm32.c | 335 gpio_ctl->speed = ofnode_read_u32_default(node, "slew-rate", 0); in prep_gpio_ctl()
|
/u-boot/drivers/mmc/ |
A D | octeontx_hsmmc.c | 3545 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()
|