/external/u-boot/drivers/core/ |
D | fdtaddr.c | 30 dev_of_offset(dev->parent)); in devfdt_get_addr_index() 36 ns = fdt_size_cells(gd->fdt_blob, dev_of_offset(dev->parent)); in devfdt_get_addr_index() 42 reg = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), "reg", in devfdt_get_addr_index() 57 dev_of_offset(dev), reg); in devfdt_get_addr_index() 68 dev_of_offset(dev->parent), dev_of_offset(dev), in devfdt_get_addr_index() 100 fdtdec_get_addr_size_auto_noparent(gd->fdt_blob, dev_of_offset(dev), in devfdt_get_addr_size_index() 118 index = fdt_stringlist_search(gd->fdt_blob, dev_of_offset(dev), in devfdt_get_addr_name()
|
/external/u-boot/include/dm/ |
D | read.h | 568 return fdt_address_cells(gd->fdt_blob, dev_of_offset(dev)); in dev_read_addr_cells() 574 return fdt_size_cells(gd->fdt_blob, dev_of_offset(dev)); in dev_read_size_cells() 579 return fdt_address_cells(gd->fdt_blob, dev_of_offset(dev)); in dev_read_simple_addr_cells() 584 return fdt_size_cells(gd->fdt_blob, dev_of_offset(dev)); in dev_read_simple_size_cells() 589 return fdt_get_phandle(gd->fdt_blob, dev_of_offset(dev)); in dev_read_phandle() 601 dev_of_offset(dev), devnump); in dev_read_alias_seq() 628 return fdtdec_get_is_enabled(gd->fdt_blob, dev_of_offset(dev)); in dev_read_enabled()
|
/external/u-boot/drivers/pinctrl/ |
D | pinctrl-single.c | 81 prop = fdt_getprop(fdt, dev_of_offset(config), "pinctrl-single,pins", in single_set_state() 103 pdata->width = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), in single_ofdata_to_platdata() 106 res = fdtdec_get_int_array(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/drivers/gpio/ |
D | pcf8575_gpio.c | 133 uc_priv->gpio_count = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), in pcf8575_ofdata_platdata() 135 uc_priv->bank_name = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), in pcf8575_ofdata_platdata() 139 dev_of_offset(dev), NULL); in pcf8575_ofdata_platdata() 141 n_latch = fdtdec_get_uint(gd->fdt_blob, dev_of_offset(dev), in pcf8575_ofdata_platdata()
|
D | intel_ich6_gpio.c | 106 offset = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), "reg", -1); in gpio_ich6_ofdata_to_platdata() 113 plat->bank_name = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), in gpio_ich6_ofdata_to_platdata() 132 prop = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), in ich6_gpio_probe()
|
D | altera_pio.c | 94 plat->gpio_count = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), in altera_pio_ofdata_to_platdata() 96 plat->bank_name = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), in altera_pio_ofdata_to_platdata()
|
D | msm_gpio.c | 108 uc_priv->gpio_count = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), in msm_gpio_ofdata_to_platdata() 110 uc_priv->bank_name = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), in msm_gpio_ofdata_to_platdata()
|
D | dwapb_gpio.c | 114 base = fdtdec_get_addr(blob, dev_of_offset(dev), "reg"); in gpio_dwapb_bind() 120 for (node = fdt_first_subnode(blob, dev_of_offset(dev)); in gpio_dwapb_bind()
|
/external/u-boot/drivers/mmc/ |
D | socfpga_dw_mmc.c | 72 fifo_depth = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), in socfpga_dwmmc_ofdata_to_platdata() 81 host->buswidth = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), in socfpga_dwmmc_ofdata_to_platdata() 94 priv->drvsel = fdtdec_get_uint(gd->fdt_blob, dev_of_offset(dev), in socfpga_dwmmc_ofdata_to_platdata() 96 priv->smplsel = fdtdec_get_uint(gd->fdt_blob, dev_of_offset(dev), in socfpga_dwmmc_ofdata_to_platdata()
|
D | pic32_sdhci.c | 40 addr = fdtdec_get_addr_size(fdt, dev_of_offset(dev), "reg", &size); in pic32_sdhci_probe() 47 host->bus_width = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), in pic32_sdhci_probe() 51 ret = fdtdec_get_int_array(gd->fdt_blob, dev_of_offset(dev), in pic32_sdhci_probe()
|
D | msm_sdhci.c | 52 int node = dev_of_offset(dev); in msm_sdc_clk_init() 170 int node = dev_of_offset(dev); in msm_ofdata_to_platdata() 177 dev_of_offset(parent), node, "reg", 1, NULL, false); in msm_ofdata_to_platdata()
|
D | ftsdc010_mci.c | 397 chip->buswidth = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), in ftsdc010_mmc_ofdata_to_platdata() 400 priv->fifo_depth = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), in ftsdc010_mmc_ofdata_to_platdata() 402 priv->fifo_mode = fdtdec_get_bool(gd->fdt_blob, dev_of_offset(dev), in ftsdc010_mmc_ofdata_to_platdata() 404 if (fdtdec_get_int_array(gd->fdt_blob, dev_of_offset(dev), in ftsdc010_mmc_ofdata_to_platdata() 406 int val = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), in ftsdc010_mmc_ofdata_to_platdata()
|
/external/u-boot/drivers/pinctrl/mvebu/ |
D | pinctrl-mvebu.c | 42 int node = dev_of_offset(dev); in mvebu_pinctl_emmc_set_mux() 70 int node = dev_of_offset(config); in mvebu_pinctrl_set_state() 131 int node = dev_of_offset(config); in mvebu_pinctrl_set_state_all() 185 int node = dev_of_offset(dev); in mvebu_pinctl_probe()
|
/external/u-boot/board/qualcomm/dragonboard410c/ |
D | dragonboard410c.c | 63 dev_of_offset(pmic_gpio), in board_prepare_usb() 79 dev_of_offset(pmic_gpio), in board_prepare_usb() 125 node = fdt_subnode_offset(gd->fdt_blob, dev_of_offset(pon), in misc_init_r()
|
/external/u-boot/drivers/net/phy/ |
D | ti.c | 176 int node = dev_of_offset(dev); in dp83867_of_init() 186 dp83867->rx_id_delay = fdtdec_get_uint(gd->fdt_blob, dev_of_offset(dev), in dp83867_of_init() 189 dp83867->tx_id_delay = fdtdec_get_uint(gd->fdt_blob, dev_of_offset(dev), in dp83867_of_init() 192 dp83867->fifo_depth = fdtdec_get_uint(gd->fdt_blob, dev_of_offset(dev), in dp83867_of_init()
|
/external/u-boot/drivers/spmi/ |
D | spmi-msm.c | 153 int node = dev_of_offset(dev); in msm_spmi_probe() 160 dev_of_offset(parent), node, "reg", 1, NULL, false); in msm_spmi_probe() 162 dev_of_offset(parent), node, "reg", 2, NULL, false); in msm_spmi_probe()
|
/external/u-boot/drivers/video/ |
D | simplefb.c | 17 const int node = dev_of_offset(dev); in simple_video_probe() 22 base = fdtdec_get_addr_size_auto_parent(blob, dev_of_offset(dev->parent), in simple_video_probe()
|
/external/u-boot/drivers/usb/musb-new/ |
D | ti-musb.c | 85 int node = dev_of_offset(dev); in ti_musb_ofdata_to_platdata() 180 int node = dev_of_offset(dev); in ti_musb_host_ofdata_to_platdata() 211 for (node = fdt_first_subnode(fdt, dev_of_offset(parent)); node > 0; in ti_musb_wrapper_bind()
|
/external/u-boot/drivers/clk/at91/ |
D | pmc.c | 55 int offset = dev_of_offset(dev); in at91_clk_sub_device_bind() 98 periph = fdtdec_get_uint(gd->fdt_blob, dev_of_offset(clk->dev), "reg", in at91_clk_of_xlate()
|
/external/u-boot/drivers/pinctrl/nxp/ |
D | pinctrl-imx.c | 21 int node = dev_of_offset(config); in imx_pinctrl_set_state() 183 int node = dev_of_offset(dev), ret; in imx_pinctrl_probe() 196 addr = fdtdec_get_addr_size(gd->fdt_blob, dev_of_offset(dev), "reg", in imx_pinctrl_probe()
|
/external/u-boot/drivers/net/ |
D | cpsw-common.c | 23 int node = dev_of_offset(dev); in davinci_emac_3517_get_macid() 63 int node = dev_of_offset(dev); in cpsw_am33xx_cm_get_macid()
|
/external/u-boot/drivers/usb/dwc3/ |
D | dwc3-generic.c | 64 int node = dev_of_offset(dev); in dwc3_generic_peripheral_ofdata_to_platdata() 107 for (node = fdt_first_subnode(fdt, dev_of_offset(parent)); node > 0; in dwc3_generic_bind()
|
/external/u-boot/drivers/video/sunxi/ |
D | sunxi_lcd.c | 117 if (fdtdec_decode_display_timing(gd->fdt_blob, dev_of_offset(cdev), in sunxi_lcd_probe() 122 timing_node = fdt_subnode_offset(gd->fdt_blob, dev_of_offset(cdev), in sunxi_lcd_probe()
|
/external/u-boot/test/dm/ |
D | test-fdt.c | 40 pdata->ping_add = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), in testfdt_ofdata_to_platdata() 42 pdata->base = fdtdec_get_addr(gd->fdt_blob, dev_of_offset(dev), in testfdt_ofdata_to_platdata() 154 base = fdtdec_get_addr(gd->fdt_blob, dev_of_offset(dev), in dm_check_devices() 157 fdt_get_name(gd->fdt_blob, dev_of_offset(dev), NULL)); in dm_check_devices()
|
/external/u-boot/drivers/pinctrl/meson/ |
D | pinctrl-meson.c | 287 na = fdt_address_cells(gd->fdt_blob, dev_of_offset(dev->parent)); in meson_pinctrl_probe() 293 ns = fdt_size_cells(gd->fdt_blob, dev_of_offset(dev->parent)); in meson_pinctrl_probe() 299 fdt_for_each_subnode(node, gd->fdt_blob, dev_of_offset(dev)) { in meson_pinctrl_probe()
|