linux/scripts/dtc/libfdt/fdt_ro.c

// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause)
/*
 * libfdt - Flat Device Tree manipulation
 * Copyright (C) 2006 David Gibson, IBM Corporation.
 */
#include "libfdt_env.h"

#include <fdt.h>
#include <libfdt.h>

#include "libfdt_internal.h"

static int fdt_nodename_eq_(const void *fdt, int offset,
			    const char *s, int len)
{}

const char *fdt_get_string(const void *fdt, int stroffset, int *lenp)
{}

const char *fdt_string(const void *fdt, int stroffset)
{}

static int fdt_string_eq_(const void *fdt, int stroffset,
			  const char *s, int len)
{}

int fdt_find_max_phandle(const void *fdt, uint32_t *phandle)
{}

int fdt_generate_phandle(const void *fdt, uint32_t *phandle)
{}

static const struct fdt_reserve_entry *fdt_mem_rsv(const void *fdt, int n)
{}

int fdt_get_mem_rsv(const void *fdt, int n, uint64_t *address, uint64_t *size)
{}

int fdt_num_mem_rsv(const void *fdt)
{}

static int nextprop_(const void *fdt, int offset)
{}

int fdt_subnode_offset_namelen(const void *fdt, int offset,
			       const char *name, int namelen)
{}

int fdt_subnode_offset(const void *fdt, int parentoffset,
		       const char *name)
{}

int fdt_path_offset_namelen(const void *fdt, const char *path, int namelen)
{}

int fdt_path_offset(const void *fdt, const char *path)
{}

const char *fdt_get_name(const void *fdt, int nodeoffset, int *len)
{}

int fdt_first_property_offset(const void *fdt, int nodeoffset)
{}

int fdt_next_property_offset(const void *fdt, int offset)
{}

static const struct fdt_property *fdt_get_property_by_offset_(const void *fdt,
						              int offset,
						              int *lenp)
{}

const struct fdt_property *fdt_get_property_by_offset(const void *fdt,
						      int offset,
						      int *lenp)
{}

static const struct fdt_property *fdt_get_property_namelen_(const void *fdt,
						            int offset,
						            const char *name,
						            int namelen,
							    int *lenp,
							    int *poffset)
{}


const struct fdt_property *fdt_get_property_namelen(const void *fdt,
						    int offset,
						    const char *name,
						    int namelen, int *lenp)
{}


const struct fdt_property *fdt_get_property(const void *fdt,
					    int nodeoffset,
					    const char *name, int *lenp)
{}

const void *fdt_getprop_namelen(const void *fdt, int nodeoffset,
				const char *name, int namelen, int *lenp)
{}

const void *fdt_getprop_by_offset(const void *fdt, int offset,
				  const char **namep, int *lenp)
{}

const void *fdt_getprop(const void *fdt, int nodeoffset,
			const char *name, int *lenp)
{}

uint32_t fdt_get_phandle(const void *fdt, int nodeoffset)
{}

static const void *fdt_path_getprop_namelen(const void *fdt, const char *path,
					    const char *propname, int propnamelen,
					    int *lenp)
{}

const char *fdt_get_alias_namelen(const void *fdt,
				  const char *name, int namelen)
{}

const char *fdt_get_alias(const void *fdt, const char *name)
{}

const char *fdt_get_symbol_namelen(const void *fdt,
				   const char *name, int namelen)
{}

const char *fdt_get_symbol(const void *fdt, const char *name)
{}

int fdt_get_path(const void *fdt, int nodeoffset, char *buf, int buflen)
{}

int fdt_supernode_atdepth_offset(const void *fdt, int nodeoffset,
				 int supernodedepth, int *nodedepth)
{}

int fdt_node_depth(const void *fdt, int nodeoffset)
{}

int fdt_parent_offset(const void *fdt, int nodeoffset)
{}

int fdt_node_offset_by_prop_value(const void *fdt, int startoffset,
				  const char *propname,
				  const void *propval, int proplen)
{}

int fdt_node_offset_by_phandle(const void *fdt, uint32_t phandle)
{}

int fdt_stringlist_contains(const char *strlist, int listlen, const char *str)
{}

int fdt_stringlist_count(const void *fdt, int nodeoffset, const char *property)
{}

int fdt_stringlist_search(const void *fdt, int nodeoffset, const char *property,
			  const char *string)
{}

const char *fdt_stringlist_get(const void *fdt, int nodeoffset,
			       const char *property, int idx,
			       int *lenp)
{}

int fdt_node_check_compatible(const void *fdt, int nodeoffset,
			      const char *compatible)
{}

int fdt_node_offset_by_compatible(const void *fdt, int startoffset,
				  const char *compatible)
{}