Home
last modified time | relevance | path

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

/optee_os/core/kernel/
A Ddt_driver.c57 uint32_t phandle; member
125 uint32_t phandle = 0; in dt_driver_register_provider() local
135 phandle = fdt_get_phandle(fdt, nodeoffset); in dt_driver_register_provider()
136 if (!phandle || phandle == (uint32_t)-1) { in dt_driver_register_provider()
148 prv->phandle = phandle; in dt_driver_register_provider()
207 dt_driver_get_provider_by_phandle(uint32_t phandle, enum dt_driver_type type) in dt_driver_get_provider_by_phandle() argument
212 if (prv->phandle == phandle && prv->type == type) in dt_driver_get_provider_by_phandle()
254 uint32_t phandle = 0; in dt_driver_device_from_node_idx_prop() local
268 phandle = fdt32_to_cpu(prop[idx32]); in dt_driver_device_from_node_idx_prop()
270 prv = dt_driver_get_provider_by_phandle(phandle, type); in dt_driver_device_from_node_idx_prop()
[all …]
/optee_os/core/lib/libfdt/
A Dfdt_overlay.c61 uint32_t phandle; in overlay_get_target() local
66 phandle = overlay_get_target_phandle(fdto, fragment); in overlay_get_target()
67 if (phandle == (uint32_t)-1) in overlay_get_target()
71 if (!phandle) { in overlay_get_target()
79 ret = fdt_node_offset_by_phandle(fdt, phandle); in overlay_get_target()
374 uint32_t phandle; in overlay_fixup_one_phandle() local
391 phandle = fdt_get_phandle(fdt, symbol_off); in overlay_fixup_one_phandle()
392 if (!phandle) in overlay_fixup_one_phandle()
401 phandle_prop = cpu_to_fdt32(phandle); in overlay_fixup_one_phandle()
A Dfdt_ro.c103 int fdt_find_max_phandle(const void *fdt, uint32_t *phandle) in fdt_find_max_phandle() argument
125 if (phandle) in fdt_find_max_phandle()
126 *phandle = max; in fdt_find_max_phandle()
131 int fdt_generate_phandle(const void *fdt, uint32_t *phandle) in fdt_generate_phandle() argument
143 if (phandle) in fdt_generate_phandle()
144 *phandle = max + 1; in fdt_generate_phandle()
657 int fdt_node_offset_by_phandle(const void *fdt, uint32_t phandle) in fdt_node_offset_by_phandle() argument
661 if ((phandle == 0) || (phandle == -1)) in fdt_node_offset_by_phandle()
675 if (fdt_get_phandle(fdt, offset) == phandle) in fdt_node_offset_by_phandle()
/optee_os/core/drivers/clk/
A Dclk_dt.c57 uint32_t phandle = 0; in parse_clock_property() local
67 phandle = fdt32_to_cpu(prop[idx]); in parse_clock_property()
69 parent_node = fdt_node_offset_by_phandle(fdt, phandle); in parse_clock_property()
/optee_os/core/lib/libfdt/include/
A Dlibfdt.h363 int fdt_find_max_phandle(const void *fdt, uint32_t *phandle);
382 uint32_t phandle; in fdt_get_max_phandle() local
385 err = fdt_find_max_phandle(fdt, &phandle); in fdt_get_max_phandle()
389 return phandle; in fdt_get_max_phandle()
405 int fdt_generate_phandle(const void *fdt, uint32_t *phandle);
999 int fdt_node_offset_by_phandle(const void *fdt, uint32_t phandle);
/optee_os/core/include/kernel/
A Ddt_driver.h113 dt_driver_get_provider_by_phandle(uint32_t phandle, enum dt_driver_type type);

Completed in 14 milliseconds