Lines Matching refs:phandle
57 uint32_t phandle; in fdt_get_max_phandle() local
65 phandle = fdt_get_phandle(fdt, offset); in fdt_get_max_phandle()
66 if (phandle == (uint32_t)-1) in fdt_get_max_phandle()
69 if (phandle > max_phandle) in fdt_get_max_phandle()
70 max_phandle = phandle; in fdt_get_max_phandle()
504 int fdt_node_offset_by_phandle(const void *fdt, uint32_t phandle) in fdt_node_offset_by_phandle() argument
508 if ((phandle == 0) || (phandle == -1)) in fdt_node_offset_by_phandle()
522 if (fdt_get_phandle(fdt, offset) == phandle) in fdt_node_offset_by_phandle()
529 int fdt_node_offset_by_phandle_node(const void *fdt, int node, uint32_t phandle) in fdt_node_offset_by_phandle_node() argument
533 if ((phandle == 0) || (phandle == -1) || (node < 0)) in fdt_node_offset_by_phandle_node()
539 if (fdt_get_phandle(fdt, offset) == phandle) in fdt_node_offset_by_phandle_node()
545 if (fdt_get_phandle(fdt, offset) == phandle) in fdt_node_offset_by_phandle_node()