Home
last modified time | relevance | path

Searched refs:dev_of_offset (Results 1 – 25 of 207) sorted by relevance

123456789

/external/u-boot/drivers/core/
Dfdtaddr.c30 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/
Dread.h568 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/
Dpinctrl-single.c81 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/
Dpcf8575_gpio.c133 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()
Dintel_ich6_gpio.c106 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()
Daltera_pio.c94 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()
Dmsm_gpio.c108 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()
Ddwapb_gpio.c114 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/
Dsocfpga_dw_mmc.c72 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()
Dpic32_sdhci.c40 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()
Dmsm_sdhci.c52 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()
Dftsdc010_mci.c397 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/
Dpinctrl-mvebu.c42 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/
Ddragonboard410c.c63 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/
Dti.c176 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/
Dspmi-msm.c153 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/
Dsimplefb.c17 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/
Dti-musb.c85 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/
Dpmc.c55 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/
Dpinctrl-imx.c21 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/
Dcpsw-common.c23 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/
Ddwc3-generic.c64 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/
Dsunxi_lcd.c117 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/
Dtest-fdt.c40 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/
Dpinctrl-meson.c287 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()

123456789