Home
last modified time | relevance | path

Searched refs:offset_to_ofnode (Results 1 – 24 of 24) sorted by relevance

/external/u-boot/board/qualcomm/dragonboard410c/
Ddragonboard410c.c69 ret = gpio_request_by_name_nodev(offset_to_ofnode(node), in board_prepare_usb()
85 ret = gpio_request_by_name_nodev(offset_to_ofnode(node), in board_prepare_usb()
132 if (gpio_request_by_name_nodev(offset_to_ofnode(node), "gpios", 0, in misc_init_r()
/external/u-boot/board/st/stm32f746-disco/
Dstm32f746-disco.c123 gpio_request_by_name_nodev(offset_to_ofnode(node), "led-gpio", 0, &gpio, in board_late_init()
137 gpio_request_by_name_nodev(offset_to_ofnode(node), "button-gpio", 0, in board_late_init()
/external/u-boot/drivers/core/
Dofnode.c123 subnode = offset_to_ofnode(ooffset); in ofnode_find_subnode()
153 return offset_to_ofnode( in ofnode_first_subnode()
163 return offset_to_ofnode( in ofnode_next_subnode()
309 out->node = offset_to_ofnode(in->node); in ofnode_from_fdtdec_phandle_args()
371 return offset_to_ofnode(fdt_path_offset(gd->fdt_blob, path)); in ofnode_path()
Droot.c177 DM_ROOT_NON_CONST->node = offset_to_ofnode(0); in dm_init()
286 err = lists_bind_fdt(parent, offset_to_ofnode(offset), NULL); in dm_scan_fdt_node()
Ddevice.c230 offset_to_ofnode(of_offset), 0, devp); in device_bind()
/external/u-boot/drivers/mmc/
Ds5p_sdhci.c186 gpio_request_by_name_nodev(offset_to_ofnode(node), "pwr-gpios", 0, in sdhci_get_config()
188 gpio_request_by_name_nodev(offset_to_ofnode(node), "cd-gpios", 0, in sdhci_get_config()
/external/u-boot/drivers/clk/at91/
Dpmc.c81 offset_to_ofnode(offset), NULL); in at91_clk_sub_device_bind()
/external/u-boot/drivers/usb/dwc3/
Ddwc3-generic.c136 offset_to_ofnode(node), &dev); in dwc3_generic_bind()
/external/u-boot/board/samsung/common/
Dexynos5-dt.c47 ret = gpio_request_by_name_nodev(offset_to_ofnode(node), in board_enable_audio_codec()
Dboard.c353 gpio_request_by_name_nodev(offset_to_ofnode(node), "reset-gpio", 0, in reset_misc()
/external/u-boot/board/qualcomm/dragonboard820c/
Ddragonboard820c.c150 if (gpio_request_by_name_nodev(offset_to_ofnode(node), "gpios", 0, in misc_init_r()
/external/u-boot/drivers/timer/
Drockchip_timer.c57 ofnode node = offset_to_ofnode(-1); in timer_get_boot_us()
/external/u-boot/include/dm/
Dofnode.h114 static inline ofnode offset_to_ofnode(int of_offset) in offset_to_ofnode() function
Ddevice.h167 dev->node = offset_to_ofnode(of_offset); in dev_set_of_offset()
/external/u-boot/drivers/usb/musb-new/
Dti-musb.c229 name, offset_to_ofnode(node), &dev); in ti_musb_wrapper_bind()
/external/u-boot/drivers/i2c/
Dmxc_i2c.c836 ret = gpio_request_by_name_nodev(offset_to_ofnode(node),
839 ret2 = gpio_request_by_name_nodev(offset_to_ofnode(node),
/external/u-boot/arch/arm/mach-tegra/tegra124/
Dxusb-padctl.c345 nodes[i] = offset_to_ofnode(node_offsets[i]); in tegra_xusb_padctl_init()
/external/u-boot/drivers/usb/host/
Dehci-vf.c254 gpio_request_by_name_nodev(offset_to_ofnode(node), in vf_usb_ofdata_to_platdata()
/external/u-boot/drivers/serial/
Dserial-uclass.c63 if (node > 0 && !lists_bind_fdt(gd->dm_root, offset_to_ofnode(node), in serial_check_stdout()
/external/u-boot/drivers/net/
Dkeystone_net.c1010 slave_name, offset_to_ofnode(slave), in ks2_eth_bind_slaves()
1031 offset_to_ofnode(slave), &sl_dev); in ks2_eth_bind_slaves()
/external/u-boot/drivers/spi/
Dpic32_spi.c416 ret = gpio_request_by_name_nodev(offset_to_ofnode(node), "cs-gpios", 0, in pic32_spi_probe()
/external/u-boot/arch/arm/mach-tegra/tegra210/
Dxusb-padctl.c451 nodes[i] = offset_to_ofnode(node_offsets[i]); in tegra_xusb_padctl_init()
/external/u-boot/doc/driver-model/
Dlivetree.txt156 offset_to_ofnode() - converts offset to ofnode
/external/u-boot/drivers/mtd/nand/
Dsunxi_nand.c1671 ret = gpio_request_by_name_nodev(offset_to_ofnode(node), in sunxi_nand_chip_init()