Home
last modified time | relevance | path

Searched refs:phandle (Results 1 – 14 of 14) sorted by relevance

/rk3399_ARM-atf/plat/allwinner/sun50i_h616/
H A Dsunxi_h616_dtb.c41 uint32_t phandle, ccsidr, cell; in sunxi_soc_fdt_fixup() local
49 ret = fdt_read_uint32(dtb, node, "next-level-cache", &phandle); in sunxi_soc_fdt_fixup()
54 node = fdt_node_offset_by_phandle(dtb, phandle); in sunxi_soc_fdt_fixup()
/rk3399_ARM-atf/common/
H A Dfdt_fixup.c433 uint32_t count, phandle; in fdt_add_cpu_idle_states() local
435 ret = fdt_find_max_phandle(dtb, &phandle); in fdt_add_cpu_idle_states()
436 phandle++; in fdt_add_cpu_idle_states()
457 for (count = 0U; state->name != NULL; count++, phandle++, state++) { in fdt_add_cpu_idle_states()
485 fdt_setprop_u32(dtb, idle_state_node, "phandle", phandle); in fdt_add_cpu_idle_states()
505 count * sizeof(phandle), in fdt_add_cpu_idle_states()
513 value[i] = cpu_to_fdt32(phandle - count + i); in fdt_add_cpu_idle_states()
/rk3399_ARM-atf/lib/fconf/
H A Dfconf_cot_getter.c193 uint32_t phandle; in get_oid() local
196 rc = fdt_read_uint32(dtb, node, prop, &phandle); in get_oid()
201 node = fdt_node_offset_by_phandle(dtb, phandle); in get_oid()
294 uint32_t phandle; in get_parent_img_id() local
297 err = fdt_read_uint32(dtb, node, "parent", &phandle); in get_parent_img_id()
304 node = fdt_node_offset_by_phandle(dtb, phandle); in get_parent_img_id()
/rk3399_ARM-atf/lib/libfdt/
H A Dfdt_overlay.c46 uint32_t phandle; in fdt_overlay_target_offset() local
51 phandle = overlay_get_target_phandle(fdto, fragment_offset); in fdt_overlay_target_offset()
52 if (phandle == (uint32_t)-1) in fdt_overlay_target_offset()
56 if (!phandle) { in fdt_overlay_target_offset()
64 ret = fdt_node_offset_by_phandle(fdt, phandle); in fdt_overlay_target_offset()
335 int poffset, uint32_t phandle) in overlay_fixup_one_phandle() argument
349 phandle_prop = cpu_to_fdt32(phandle); in overlay_fixup_one_phandle()
384 uint32_t phandle; in overlay_fixup_phandle() local
403 phandle = fdt_get_phandle(fdt, symbol_off); in overlay_fixup_phandle()
404 if (!phandle) in overlay_fixup_phandle()
[all …]
H A Dfdt_ro.c114 int fdt_find_max_phandle(const void *fdt, uint32_t *phandle) in fdt_find_max_phandle() argument
136 if (phandle) in fdt_find_max_phandle()
137 *phandle = max; in fdt_find_max_phandle()
142 int fdt_generate_phandle(const void *fdt, uint32_t *phandle) in fdt_generate_phandle() argument
154 if (phandle) in fdt_generate_phandle()
155 *phandle = max + 1; in fdt_generate_phandle()
710 int fdt_node_offset_by_phandle(const void *fdt, uint32_t phandle) in fdt_node_offset_by_phandle() argument
714 if ((phandle == 0) || (phandle == ~0U)) in fdt_node_offset_by_phandle()
728 if (fdt_get_phandle(fdt, offset) == phandle) in fdt_node_offset_by_phandle()
H A Dlibfdt.h381 int fdt_find_max_phandle(const void *fdt, uint32_t *phandle);
400 uint32_t phandle; in fdt_get_max_phandle() local
403 err = fdt_find_max_phandle(fdt, &phandle); in fdt_get_max_phandle()
407 return phandle; in fdt_get_max_phandle()
422 int fdt_generate_phandle(const void *fdt, uint32_t *phandle);
1098 int fdt_node_offset_by_phandle(const void *fdt, uint32_t phandle);
/rk3399_ARM-atf/plat/arm/board/arm_fpga/
H A Dfpga_bl31_setup.c221 uint32_t phandle; in fpga_dtb_update_clock() local
231 err = fdt_read_uint32(fdt, node, "clocks", &phandle); in fpga_dtb_update_clock()
238 node = fdt_node_offset_by_phandle(fdt, phandle); in fpga_dtb_update_clock()
/rk3399_ARM-atf/drivers/st/regulator/
H A Dregulator_core.c45 static struct rdev *regulator_get_by_phandle(int32_t phandle) in regulator_get_by_phandle() argument
50 if (rdev->phandle == phandle) { in regulator_get_by_phandle()
55 WARN("%s: phandle %d not found\n", __func__, phandle); in regulator_get_by_phandle()
474 rdev->phandle = fdt_get_phandle(fdt, node); in parse_dt()
/rk3399_ARM-atf/plat/st/common/
H A Dusb_dfu.c508 void usb_dfu_register(struct usb_handle *pdev, struct usb_dfu_handle *phandle) in usb_dfu_register() argument
511 pdev->class_data = phandle; in usb_dfu_register()
513 phandle->dev_state = STATE_DFU_IDLE; in usb_dfu_register()
514 phandle->dev_status = DFU_ERROR_NONE; in usb_dfu_register()
/rk3399_ARM-atf/plat/arm/common/fconf/
H A Dfconf_ethosn_getter.c28 uint32_t phandle; in fdt_node_read_reserved_memory_addr() local
32 err = fdt_read_uint32(fdt, dev_node, "memory-region", &phandle); in fdt_node_read_reserved_memory_addr()
38 mem_node = fdt_node_offset_by_phandle(fdt, phandle); in fdt_node_read_reserved_memory_addr()
/rk3399_ARM-atf/plat/arm/board/fvp/fconf/
H A Dfconf_hw_config_getter.c161 uint32_t phandle; in fconf_populate_uart_config() local
217 err = fdt_read_uint32(hw_config_dtb, uart_node, "clocks", &phandle); in fconf_populate_uart_config()
223 node = fdt_node_offset_by_phandle(hw_config_dtb, phandle); in fconf_populate_uart_config()
/rk3399_ARM-atf/plat/st/common/include/
H A Dusb_dfu.h73 void usb_dfu_register(struct usb_handle *pdev, struct usb_dfu_handle *phandle);
/rk3399_ARM-atf/docs/components/
H A Dcot-binding.rst65 Value type: <phandle>
81 Value type: <phandle>
93 Value type: <phandle>
206 Value type: <phandle>
215 Value type: <phandle>
/rk3399_ARM-atf/include/drivers/st/
H A Dregulator.h98 int32_t phandle; member