Home
last modified time | relevance | path

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

12345678

/u-boot/drivers/core/
A Dfdtaddr.c32 dev_of_offset(dev->parent)); in devfdt_get_addr_index()
38 ns = fdt_size_cells(gd->fdt_blob, dev_of_offset(dev->parent)); in devfdt_get_addr_index()
44 reg = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), "reg", in devfdt_get_addr_index()
59 dev_of_offset(dev), reg); in devfdt_get_addr_index()
70 dev_of_offset(dev->parent), dev_of_offset(dev), in devfdt_get_addr_index()
105 fdtdec_get_addr_size_auto_noparent(gd->fdt_blob, dev_of_offset(dev), in devfdt_get_addr_size_index()
123 index = fdt_stringlist_search(gd->fdt_blob, dev_of_offset(dev), in devfdt_get_addr_name()
140 index = fdt_stringlist_search(gd->fdt_blob, dev_of_offset(dev), in devfdt_get_addr_size_name()
/u-boot/drivers/thermal/
A Dimx_scu_thermal.c101 prop = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), "compatible", in imx_sc_thermal_bind()
108 reg = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), "tsens-num", 0); in imx_sc_thermal_bind()
143 ret = fdtdec_parse_phandle_with_args(gd->fdt_blob, dev_of_offset(dev), in imx_sc_thermal_of_to_plat()
150 if (args.node != dev_of_offset(dev->parent)) in imx_sc_thermal_of_to_plat()
160 pdata->polling_delay = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), in imx_sc_thermal_of_to_plat()
163 trips_np = fdt_subnode_offset(gd->fdt_blob, dev_of_offset(dev), in imx_sc_thermal_of_to_plat()
/u-boot/drivers/gpio/
A Dpcf8575_gpio.c136 uc_priv->gpio_count = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), in pcf8575_ofdata_plat()
138 uc_priv->bank_name = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), in pcf8575_ofdata_plat()
142 dev_of_offset(dev), NULL); in pcf8575_ofdata_plat()
144 n_latch = fdtdec_get_uint(gd->fdt_blob, dev_of_offset(dev), in pcf8575_ofdata_plat()
A Daltera_pio.c95 plat->gpio_count = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), in altera_pio_of_to_plat()
97 plat->bank_name = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), in altera_pio_of_to_plat()
A Dmsm_gpio.c109 uc_priv->gpio_count = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), in msm_gpio_of_to_plat()
111 uc_priv->bank_name = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), in msm_gpio_of_to_plat()
A Dintel_ich6_gpio.c108 offset = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), "reg", -1); in gpio_ich6_of_to_plat()
115 plat->bank_name = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), in gpio_ich6_of_to_plat()
134 prop = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), in ich6_gpio_probe()
/u-boot/board/qualcomm/dragonboard410c/
A Ddragonboard410c.c72 dev_of_offset(pmic_gpio), in board_usb_init()
88 dev_of_offset(pmic_gpio), in board_usb_init()
134 node = fdt_subnode_offset(gd->fdt_blob, dev_of_offset(pon), in misc_init_r()
/u-boot/drivers/mmc/
A Dsocfpga_dw_mmc.c121 fifo_depth = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), in socfpga_dwmmc_of_to_plat()
130 host->buswidth = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), in socfpga_dwmmc_of_to_plat()
141 priv->drvsel = fdtdec_get_uint(gd->fdt_blob, dev_of_offset(dev), in socfpga_dwmmc_of_to_plat()
143 priv->smplsel = fdtdec_get_uint(gd->fdt_blob, dev_of_offset(dev), in socfpga_dwmmc_of_to_plat()
A Dmsm_sdhci.c54 int node = dev_of_offset(dev); in msm_sdc_clk_init()
176 int node = dev_of_offset(dev); in msm_of_to_plat()
183 dev_of_offset(parent), node, "reg", 1, NULL, false); in msm_of_to_plat()
A Dftsdc010_mci.c400 chip->buswidth = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), in ftsdc010_mmc_of_to_plat()
403 priv->fifo_depth = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), in ftsdc010_mmc_of_to_plat()
405 priv->fifo_mode = fdtdec_get_bool(gd->fdt_blob, dev_of_offset(dev), in ftsdc010_mmc_of_to_plat()
407 if (fdtdec_get_int_array(gd->fdt_blob, dev_of_offset(dev), in ftsdc010_mmc_of_to_plat()
409 int val = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), in ftsdc010_mmc_of_to_plat()
/u-boot/drivers/pinctrl/mvebu/
A Dpinctrl-mvebu.c45 int node = dev_of_offset(dev); in mvebu_pinctl_emmc_set_mux()
73 int node = dev_of_offset(config); in mvebu_pinctrl_set_state()
134 int node = dev_of_offset(config); in mvebu_pinctrl_set_state_all()
188 int node = dev_of_offset(dev); in mvebu_pinctl_probe()
/u-boot/drivers/video/
A Dsimplefb.c19 const int node = dev_of_offset(dev); in simple_video_probe()
24 base = fdtdec_get_addr_size_auto_parent(blob, dev_of_offset(dev->parent), in simple_video_probe()
/u-boot/drivers/spmi/
A Dspmi-msm.c155 int node = dev_of_offset(dev); in msm_spmi_probe()
162 dev_of_offset(parent), node, "reg", 1, NULL, false); in msm_spmi_probe()
164 dev_of_offset(parent), node, "reg", 2, NULL, false); in msm_spmi_probe()
/u-boot/drivers/pci/
A Dpcie_layerscape_ep.c261 ret = fdt_get_named_resource(gd->fdt_blob, dev_of_offset(dev), in ls_pcie_ep_probe()
272 pcie->big_endian = fdtdec_get_bool(gd->fdt_blob, dev_of_offset(dev), in ls_pcie_ep_probe()
294 dev_of_offset(dev), in ls_pcie_ep_probe()
296 pcie_ep->num_ib_wins = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), in ls_pcie_ep_probe()
298 pcie_ep->num_ob_wins = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), in ls_pcie_ep_probe()
/u-boot/include/dm/
A Dread.h909 int parent = fdt_parent_offset(gd->fdt_blob, dev_of_offset(dev)); in dev_read_addr_cells()
916 int parent = fdt_parent_offset(gd->fdt_blob, dev_of_offset(dev)); in dev_read_size_cells()
923 return fdt_address_cells(gd->fdt_blob, dev_of_offset(dev)); in dev_read_simple_addr_cells()
928 return fdt_size_cells(gd->fdt_blob, dev_of_offset(dev)); in dev_read_simple_size_cells()
933 return fdt_get_phandle(gd->fdt_blob, dev_of_offset(dev)); in dev_read_phandle()
963 dev_of_offset(dev), devnump); in dev_read_alias_seq()
995 return fdtdec_get_is_enabled(gd->fdt_blob, dev_of_offset(dev)); in dev_read_enabled()
/u-boot/drivers/power/domain/
A Dimx8m-power-domain.c80 offset = dev_of_offset(dev); in imx8m_power_domain_bind()
112 pdata->resource_id = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), in imx8m_power_domain_of_to_plat()
/u-boot/drivers/serial/
A Dserial_msm.c159 uint clk_rate = fdtdec_get_uint(gd->fdt_blob, dev_of_offset(dev), in msm_uart_clk_init()
167 ret = fdtdec_get_int_array(gd->fdt_blob, dev_of_offset(dev), "clock", in msm_uart_clk_init()
228 priv->clk_bit_rate = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), in msm_serial_of_to_plat()
/u-boot/drivers/video/sunxi/
A Dsunxi_lcd.c119 if (fdtdec_decode_display_timing(gd->fdt_blob, dev_of_offset(cdev), in sunxi_lcd_probe()
124 timing_node = fdt_subnode_offset(gd->fdt_blob, dev_of_offset(cdev), in sunxi_lcd_probe()
/u-boot/drivers/i2c/
A Dcros_ec_tunnel.c37 int node = dev_of_offset(dev); in cros_ec_i2c_of_to_plat()
/u-boot/drivers/usb/musb-new/
A Dti-musb.c85 int node = dev_of_offset(dev); in ti_musb_of_to_plat()
184 int node = dev_of_offset(dev); in ti_musb_host_of_to_plat()
222 int node = dev_of_offset(dev); in ti_musb_peripheral_of_to_plat()
/u-boot/drivers/timer/
A Darc_timer.c52 id = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), "reg", -1); in arc_timer_probe()
/u-boot/drivers/misc/
A Dtest_drv.c130 pdata->ping_add = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), in testfdt_of_to_plat()
132 pdata->base = fdtdec_get_addr(gd->fdt_blob, dev_of_offset(dev), in testfdt_of_to_plat()
/u-boot/drivers/demo/
A Ddemo-uclass.c70 int dn = dev_of_offset(dev); in demo_parse_dt()
/u-boot/drivers/sysreset/
A Dsysreset_sti.c40 ret = fdtdec_parse_phandle_with_args(gd->fdt_blob, dev_of_offset(dev), in sti_sysreset_probe()
/u-boot/drivers/pci_endpoint/
A Dpcie-cadence-ep.c152 pdata->max_functions = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), in cdns_pci_ep_probe()
154 pdata->max_regions = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), in cdns_pci_ep_probe()

Completed in 32 milliseconds

12345678