Home
last modified time | relevance | path

Searched refs:dev_ofnode (Results 1 – 25 of 29) sorted by relevance

12

/external/u-boot/drivers/core/
Dread.c16 return ofnode_read_u32(dev_ofnode(dev), propname, outp); in dev_read_u32()
21 return ofnode_read_u32_default(dev_ofnode(dev), propname, def); in dev_read_u32_default()
26 return ofnode_read_string(dev_ofnode(dev), propname); in dev_read_string()
31 return ofnode_read_bool(dev_ofnode(dev), propname); in dev_read_bool()
36 return ofnode_find_subnode(dev_ofnode(dev), subnode_name); in dev_read_subnode()
41 return ofnode_first_subnode(dev_ofnode(dev)); in dev_read_first_subnode()
51 return ofnode_read_size(dev_ofnode(dev), propname); in dev_read_size()
56 if (ofnode_is_np(dev_ofnode(dev))) in dev_read_addr_index()
57 return ofnode_get_addr_index(dev_ofnode(dev), index); in dev_read_addr_index()
92 return ofnode_get_addr_size(dev_ofnode(dev), property, sizep); in dev_read_addr_size()
[all …]
Dsyscon-uclass.c52 return regmap_init_mem(dev_ofnode(dev), &priv->regmap); in syscon_pre_probe()
Duclass.c319 if (ofnode_equal(dev_ofnode(dev), node)) { in uclass_find_device_by_ofnode()
Ddevice.c711 return ofnode_device_is_compatible(dev_ofnode(dev), compat); in device_is_compatible()
/external/u-boot/include/dm/
Dread.h36 static inline ofnode dev_ofnode(struct udevice *dev) in dev_ofnode() function
43 return ofnode_valid(dev_ofnode(dev)); in dev_of_valid()
461 return ofnode_read_u32(dev_ofnode(dev), propname, outp); in dev_read_u32()
467 return ofnode_read_u32_default(dev_ofnode(dev), propname, def); in dev_read_u32_default()
473 return ofnode_read_string(dev_ofnode(dev), propname); in dev_read_string()
478 return ofnode_read_bool(dev_ofnode(dev), propname); in dev_read_bool()
484 return ofnode_find_subnode(dev_ofnode(dev), subbnode_name); in dev_read_subnode()
489 return ofnode_read_size(dev_ofnode(dev), propname); in dev_read_size()
521 return ofnode_get_addr_size(dev_ofnode(dev), propname, sizep); in dev_read_addr_size()
526 return ofnode_get_name(dev_ofnode(dev)); in dev_read_name()
[all …]
/external/u-boot/drivers/misc/
Dtegra_car.c24 dev_ofnode(dev), &child); in tegra_car_bpmp_bind()
29 "tegra_car_reset", dev_ofnode(dev), in tegra_car_bpmp_bind()
Dstm32_rcc.c51 dev_ofnode(dev), &child); in stm32_rcc_bind()
58 dev_ofnode(dev), &child); in stm32_rcc_bind()
Dtegra186_bpmp.c114 dev_ofnode(dev), &child); in tegra186_bpmp_bind()
119 "tegra186_reset", dev_ofnode(dev), in tegra186_bpmp_bind()
126 dev_ofnode(dev), &child); in tegra186_bpmp_bind()
Dcros_ec_sandbox.c530 node = dev_ofnode(keyb_dev); in cros_ec_probe()
/external/u-boot/drivers/usb/host/
Dehci-generic.c88 clock_nb = ofnode_count_phandle_with_args(dev_ofnode(dev), "clocks", in ehci_usb_probe()
118 reset_nb = ofnode_count_phandle_with_args(dev_ofnode(dev), "resets", in ehci_usb_probe()
/external/u-boot/drivers/power/pmic/
Dsandbox.c51 if (!pmic_bind_children(dev, dev_ofnode(dev), pmic_children_info)) in sandbox_pmic_bind()
/external/u-boot/drivers/reset/
Dreset-meson.c79 return regmap_init_mem(dev_ofnode(dev), &priv->regmap); in meson_reset_probe()
Dreset-rockchip.c113 dev_ofnode(pdev), &rst_dev); in rockchip_reset_bind()
/external/u-boot/drivers/ram/stm32mp1/
Dstm32mp1_ram.c149 ret = regmap_init_mem(dev_ofnode(dev), &map); in stm32mp1_ddr_probe()
/external/u-boot/drivers/phy/
Dmeson-gxl-usb3.c166 ret = regmap_init_mem(dev_ofnode(dev), &priv->regmap); in meson_gxl_usb3_phy_probe()
Dmeson-gxl-usb2.c195 ret = regmap_init_mem(dev_ofnode(dev), &priv->regmap); in meson_gxl_usb2_phy_probe()
/external/u-boot/drivers/gpio/
Dgpio-uclass.c715 return gpio_request_tail(ret, dev_ofnode(dev), &args, list_name, in gpio_request_by_name()
753 return gpio_request_list_by_name_nodev(dev_ofnode(dev), list_name, desc, in gpio_request_list_by_name()
/external/u-boot/drivers/pci/
Dpci-uclass.c928 decode_regions(hose, dev_ofnode(bus->parent), dev_ofnode(bus)); in pci_uclass_pre_probe()
995 ret = ofnode_read_pci_addr(dev_ofnode(dev), FDT_PCI_SPACE_CONFIG, "reg", in pci_uclass_child_post_bind()
Dpci_tegra.c558 err = tegra_pcie_get_xbar_config(dev_ofnode(dev), lanes, id, in tegra_pcie_parse_dt()
/external/u-boot/arch/arm/mach-aspeed/ast2500/
Dsdram_ast2500.c394 ret = regmap_init_mem(dev_ofnode(dev), &map); in ast2500_sdrammc_ofdata_to_platdata()
/external/u-boot/drivers/adc/
Dmeson-saradc.c657 ret = regmap_init_mem(dev_ofnode(dev), &priv->regmap); in meson_saradc_probe()
/external/u-boot/drivers/net/
Dpic32_eth.c563 gpio_request_by_name_nodev(dev_ofnode(dev), "reset-gpios", 0, in pic32_eth_probe()
/external/u-boot/drivers/video/tegra124/
Ddisplay.c362 if (ofnode_decode_display_timing(dev_ofnode(dev), 0, timing)) { in display_init()
/external/u-boot/drivers/ram/rockchip/
Dsdram_rk322x.c746 ret = regmap_init_mem(dev_ofnode(dev), &params->map); in rk322x_dmc_ofdata_to_platdata()
/external/u-boot/doc/driver-model/
Dlivetree.txt120 ofnode_for_each_subnode(subnode, dev_ofnode(dev)) {

12