fdt_path_offset
The interface has the following parameters.
- Synopsis:
int fdt_path_offset(const void *fdt, const char *path);
- Description: The interface is used to find a tree node by its full path.
- Parameter:
- fdt: The pointer to the DTB file.
- path: The full path to the node.
- error_code: optional, only used if status is FDT_STATUS_FAIL_ERROR_CODE.
- Return:
- Success: The structure block offset of the node with the requested path (>= 0).
- Failure: Any value < 0.