id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
fdt_add_reservemap_entry(9) | NAME fdt_add_reservemap_entry - add an entry to the memory reserve map
SYNOPSIS int fdt_add_reservemap_entry (void *fdt , uint64_t addr , uint64_t size );
ARGUMENTS fdt Pointer to the device tree blob
addr Start address of the reserve map entry
size Size of the reserved region
D... |
fdt_add_subnode(9) | NAME fdt_add_subnode - creates a new node
SYNOPSIS int fdt_add_subnode (void *fdt , int parentoffset , const char *name );
ARGUMENTS fdt pointer to the device tree blob
parentoffset
structure block offset of a node
name name of the subnode to locate
DESCRIPTION fdt_a... |
fdt_add_subnode_namelen(9) | NAME fdt_add_subnode_namelen - creates a new node based on substring
SYNOPSIS int fdt_add_subnode_namelen (void *fdt , int parentoffset , const char *name , int namelen );
ARGUMENTS fdt pointer to the device tree blob
parentoffset
structure block offset of a node
name ... |
fdt_address_cells(9) | NAME fdt_address_cells - retrieve address size for a bus represented in the tree
SYNOPSIS int fdt_address_cells (const void *fdt , int nodeoffset );
ARGUMENTS fdt pointer to the device tree blob
nodeoffset offset of the node to find the address size for
DESCRIPTION When the node has a valid #address... |
fdt_appendprop(9) | NAME fdt_appendprop - append to or create a property
SYNOPSIS int fdt_appendprop (void *fdt , int nodeoffset , const char *name , const void *val , int len );
ARGUMENTS fdt pointer to the device tree blob
nodeoffset offset of the node whose property to change
name name of the property ... |
fdt_appendprop_addrrange(9) | NAME fdt_appendprop_addrrange - append a address range property
SYNOPSIS int fdt_appendprop_addrrange (void *fdt , int parent , int nodeoffset , const char *name , uint64_t addr , uint64_t size );
ARGUMENTS fdt pointer to the device tree blob
parent offset of the parent node
nodeoffset o... |
fdt_appendprop_cell(9) | NAME fdt_appendprop_cell - append a single cell value to a property
SYNOPSIS int fdt_appendprop_cell (void *fdt , int nodeoffset , const char *name , uint32_t val );
ARGUMENTS fdt pointer to the device tree blob
nodeoffset offset of the node whose property to change
name name of the pr... |
fdt_appendprop_string(9) | NAME fdt_appendprop_string - append a string to a property
SYNOPSIS fdt_appendprop_string (fdt , nodeoffset , name , str );
ARGUMENTS fdt pointer to the device tree blob
nodeoffset offset of the node whose property to change
name name of the property to change
str strin... |
fdt_appendprop_u32(9) | NAME fdt_appendprop_u32 - append a 32-bit integer value to a property
SYNOPSIS int fdt_appendprop_u32 (void *fdt , int nodeoffset , const char *name , uint32_t val );
ARGUMENTS fdt pointer to the device tree blob
nodeoffset offset of the node whose property to change
name name of the p... |
fdt_appendprop_u64(9) | NAME fdt_appendprop_u64 - append a 64-bit integer value to a property
SYNOPSIS int fdt_appendprop_u64 (void *fdt , int nodeoffset , const char *name , uint64_t val );
ARGUMENTS fdt pointer to the device tree blob
nodeoffset offset of the node whose property to change
name name of the p... |
fdt_begin_node(9) | NAME fdt_begin_node - start creation of a new node
SYNOPSIS int fdt_begin_node (void *fdt , const char *name );
ARGUMENTS fdt Pointer to the device tree blob
name Name of the node to create
DESCRIPTION fdt_begin_node starts the creation of a new node with the given name during sequential ... |
fdt_check_full(9) | NAME fdt_check_full - check device tree validity
SYNOPSIS int fdt_check_full (const void *fdt , size_t bufsize );
ARGUMENTS fdt pointer to the device tree blob
bufsize size of the buffer containing the device tree
DESCRIPTION fdt_check_full checks that the given buffer contains a valid flattened ... |
fdt_check_header(9) | NAME fdt_check_header - sanity check a device tree header
SYNOPSIS int fdt_check_header (const void *fdt );
ARGUMENTS fdt pointer to data which might be a flattened device tree
DESCRIPTION fdt_check_header checks that the given buffer contains what appears to be a flattened device tree, and that the header c... |
fdt_create(9) | NAME fdt_create - begin creation of a new fdt
SYNOPSIS int fdt_create (void *buf , int bufsize );
ARGUMENTS buf pointer to memory allocated where fdt will be created
bufsize size of the memory space at fdt
DESCRIPTION fdt_create is equivalent to fdt_create_with_flags with flags=0.
RETURN 0, on s... |
fdt_create_empty_tree(9) | NAME fdt_create_empty_tree - create an empty device tree
SYNOPSIS int fdt_create_empty_tree (void *buf , int bufsize );
ARGUMENTS buf Buffer where the empty tree should be created
bufsize Size of the buffer at buf
DESCRIPTION fdt_create_empty_tree creates a minimal empty device tree blob in the g... |
fdt_create_with_flags(9) | NAME fdt_create_with_flags - begin creation of a new fdt
SYNOPSIS int fdt_create_with_flags (void *buf , int bufsize , uint32_t flags );
ARGUMENTS buf pointer to memory allocated where fdt will be created
bufsize size of the memory space at fdt
flags a valid combination of FDT_CREATE... |
fdt_del_mem_rsv(9) | NAME fdt_del_mem_rsv - remove a memory reserve map entry
SYNOPSIS int fdt_del_mem_rsv (void *fdt , int n );
ARGUMENTS fdt pointer to the device tree blob
n entry to remove
DESCRIPTION fdt_del_mem_rsv removes the n-th memory reserve map entry from the blob. This function will delete data fr... |
fdt_del_node(9) | NAME fdt_del_node - delete a node (subtree)
SYNOPSIS int fdt_del_node (void *fdt , int nodeoffset );
ARGUMENTS fdt pointer to the device tree blob
nodeoffset offset of the node to nop
DESCRIPTION fdt_del_node will remove the given node, including all its subnodes if any, from the blob. This functio... |
fdt_delprop(9) | NAME fdt_delprop - delete a property
SYNOPSIS int fdt_delprop (void *fdt , int nodeoffset , const char *name );
ARGUMENTS fdt pointer to the device tree blob
nodeoffset offset of the node whose property to nop
name name of the property to nop
DESCRIPTION fdt_delprop will delete the gi... |
fdt_device_is_available(9) | NAME fdt_device_is_available - check if a device is available for use
SYNOPSIS bool fdt_device_is_available (const void *fdt , int node );
ARGUMENTS fdt pointer to the device tree blob
node offset of the node whose property to find
DESCRIPTION Returns true if the status property is absent or s... |
fdt_early_match_extension_isa(9) | NAME fdt_early_match_extension_isa - check if all cpu nodes have an extension
SYNOPSIS bool fdt_early_match_extension_isa (const void *fdt , const char *ext_name );
ARGUMENTS fdt pointer to the device tree blob
ext_name the extension to search for
DESCRIPTION Returns true if the all available the ... |
fdt_end_node(9) | NAME fdt_end_node - complete the current node
SYNOPSIS int fdt_end_node (void *fdt );
ARGUMENTS fdt Pointer to the device tree blob
DESCRIPTION fdt_end_node completes the current node during sequential write. This function must be called to close each node started with fdt_begin_node. After calling this ... |
fdt_find_add_string_(9) | NAME fdt_find_add_string_ - Find or allocate a string
SYNOPSIS int fdt_find_add_string_ (void *fdt , const char *s , int slen , int *allocated );
ARGUMENTS fdt pointer to the device tree to check/adjust
s string to find/add
slen -- undescribed --
allocated Set to 0 i... |
fdt_find_and_del_mem_rsv(9) | NAME fdt_find_and_del_mem_rsv - delete memory reservation with given address and size
SYNOPSIS int fdt_find_and_del_mem_rsv (void *fdt , unsigned long start , unsigned long size );
ARGUMENTS fdt Flattened device tree for the current kernel.
start Starting address of the reserved memory.
... |
fdt_find_max_phandle(9) | NAME fdt_find_max_phandle - find and return the highest phandle in a tree
SYNOPSIS int fdt_find_max_phandle (const void *fdt , uint32_t *phandle );
ARGUMENTS fdt pointer to the device tree blob
phandle return location for the highest phandle value found in the tree
DESCRIPTION fdt_find_max_phandl... |
fdt_finish(9) | NAME fdt_finish - complete device tree creation
SYNOPSIS int fdt_finish (void *fdt );
ARGUMENTS fdt Pointer to the device tree blob
DESCRIPTION fdt_finish completes the device tree creation process started with fdt_create. This function finalizes the device tree blob and makes it ready for use. After cal... |
fdt_finish_reservemap(9) | NAME fdt_finish_reservemap - complete the memory reserve map
SYNOPSIS int fdt_finish_reservemap (void *fdt );
ARGUMENTS fdt Pointer to the device tree blob
DESCRIPTION fdt_finish_reservemap completes the memory reserve map section of the device tree blob during sequential write. After calling this functi... |
fdt_first_property_offset(9) | NAME fdt_first_property_offset - find the offset of a node's first property
SYNOPSIS int fdt_first_property_offset (const void *fdt , int nodeoffset );
ARGUMENTS fdt pointer to the device tree blob
nodeoffset structure block offset of a node
DESCRIPTION fdt_first_property_offset finds the first prop... |
fdt_first_subnode(9) | NAME fdt_first_subnode - get offset of first direct subnode
SYNOPSIS int fdt_first_subnode (const void *fdt , int offset );
ARGUMENTS fdt FDT blob
offset Offset of node to check
RETURN offset of first subnode, or -FDT_ERR_NOTFOUND if there is none
SEE ALSO Kernel file ./scripts/dtc/libfdt/lib... |
fdt_for_each_property_offset(9) | NAME fdt_for_each_property_offset - iterate over all properties of a node
SYNOPSIS fdt_for_each_property_offset (property , fdt , node );
ARGUMENTS property property offset (int, lvalue)
fdt FDT blob (const void *)
node node offset (int)
DESCRIPTION This is actually a wrapper ar... |
fdt_for_each_subnode(9) | NAME fdt_for_each_subnode - iterate over all subnodes of a parent
SYNOPSIS fdt_for_each_subnode (node , fdt , parent );
ARGUMENTS node child node (int, lvalue)
fdt FDT blob (const void *)
parent parent node (int)
DESCRIPTION This is actually a wrapper around a for loop and would b... |
fdt_generate_phandle(9) | NAME fdt_generate_phandle - return a new, unused phandle for a device tree blob
SYNOPSIS int fdt_generate_phandle (const void *fdt , uint32_t *phandle );
ARGUMENTS fdt pointer to the device tree blob
phandle return location for the new phandle
DESCRIPTION Walks the device tree blob and looks for ... |
fdt_get_alias(9) | NAME fdt_get_alias - retrieve the path referenced by a given alias
SYNOPSIS const char * fdt_get_alias (const void *fdt , const char *name );
ARGUMENTS fdt pointer to the device tree blob
name name of the alias to look up
DESCRIPTION fdt_get_alias retrieves the value of a given alias. That is... |
fdt_get_alias_namelen(9) | NAME fdt_get_alias_namelen - get alias based on substring
SYNOPSIS const char * fdt_get_alias_namelen (const void *fdt , const char *name , int namelen );
ARGUMENTS fdt pointer to the device tree blob
name name of the alias to look up
namelen number of characters of name to consider... |
fdt_get_max_phandle(9) | NAME fdt_get_max_phandle - retrieves the highest phandle in a tree
SYNOPSIS uint32_t fdt_get_max_phandle (const void *fdt );
ARGUMENTS fdt pointer to the device tree blob
DESCRIPTION fdt_get_max_phandle retrieves the highest phandle in the given device tree. This will ignore badly formatted phandles, or phan... |
fdt_get_mem_rsv(9) | NAME fdt_get_mem_rsv - retrieve one memory reserve map entry
SYNOPSIS int fdt_get_mem_rsv (const void *fdt , int n , uint64_t *address , uint64_t *size );
ARGUMENTS fdt pointer to the device tree blob
n index of reserve map entry
address pointer to 64-bit variable to hold the sta... |
fdt_get_name(9) | NAME fdt_get_name - retrieve the name of a given node
SYNOPSIS const char * fdt_get_name (const void *fdt , int nodeoffset , int *lenp );
ARGUMENTS fdt pointer to the device tree blob
nodeoffset structure block offset of the starting node
lenp pointer to an integer variable (will be ov... |
fdt_get_path(9) | NAME fdt_get_path - determine the full path of a node
SYNOPSIS int fdt_get_path (const void *fdt , int nodeoffset , char *buf , int buflen );
ARGUMENTS fdt pointer to the device tree blob
nodeoffset offset of the node whose path to find
buf character buffer to contain the returned pat... |
fdt_get_phandle(9) | NAME fdt_get_phandle - retrieve the phandle of a given node
SYNOPSIS uint32_t fdt_get_phandle (const void *fdt , int nodeoffset );
ARGUMENTS fdt pointer to the device tree blob
nodeoffset structure block offset of the node
DESCRIPTION fdt_get_phandle retrieves the phandle of the device tree node at ... |
fdt_get_property(9) | NAME fdt_get_property - find a given property in a given node
SYNOPSIS const struct fdt_property * fdt_get_property (const void *fdt , int nodeoffset , const char *name , int *lenp );
ARGUMENTS fdt pointer to the device tree blob
nodeoffset offset of the node whose property to find
name ... |
fdt_get_property_by_offset(9) | NAME fdt_get_property_by_offset - retrieve the property at a given offset
SYNOPSIS const struct fdt_property * fdt_get_property_by_offset (const void *fdt , int offset , int *lenp );
ARGUMENTS fdt pointer to the device tree blob
offset offset of the property to retrieve
lenp pointe... |
fdt_get_property_namelen(9) | NAME fdt_get_property_namelen - find a property based on substring
SYNOPSIS const struct fdt_property * fdt_get_property_namelen (const void *fdt , int nodeoffset , const char *name , int namelen , int *lenp );
ARGUMENTS fdt pointer to the device tree blob
nodeoffset offset of the node whose property... |
fdt_get_string(9) | NAME fdt_get_string - retrieve a string from the strings block of a device tree
SYNOPSIS const char * fdt_get_string (const void *fdt , int stroffset , int *lenp );
ARGUMENTS fdt pointer to the device tree blob
stroffset offset of the string within the strings block (native endian)
lenp ... |
fdt_get_symbol(9) | NAME fdt_get_symbol - retrieve the path referenced by a given symbol
SYNOPSIS const char * fdt_get_symbol (const void *fdt , const char *name );
ARGUMENTS fdt pointer to the device tree blob
name name of the symbol to look up
DESCRIPTION fdt_get_symbol retrieves the value of a given symbol.... |
fdt_get_symbol_namelen(9) | NAME fdt_get_symbol_namelen - get symbol based on substring
SYNOPSIS const char * fdt_get_symbol_namelen (const void *fdt , const char *name , int namelen );
ARGUMENTS fdt pointer to the device tree blob
name name of the symbol to look up
namelen number of characters of name to cons... |
fdt_getprop(9) | NAME fdt_getprop - retrieve the value of a given property
SYNOPSIS const void * fdt_getprop (const void *fdt , int nodeoffset , const char *name , int *lenp );
ARGUMENTS fdt pointer to the device tree blob
nodeoffset offset of the node whose property to find
name name of the property t... |
fdt_getprop_by_offset(9) | NAME fdt_getprop_by_offset - retrieve the value of a property at a given offset
SYNOPSIS const void * fdt_getprop_by_offset (const void *fdt , int offset , const char **namep , int *lenp );
ARGUMENTS fdt pointer to the device tree blob
offset offset of the property to read
namep poi... |
fdt_getprop_namelen(9) | NAME fdt_getprop_namelen - get property value based on substring
SYNOPSIS const void * fdt_getprop_namelen (const void *fdt , int nodeoffset , const char *name , int namelen , int *lenp );
ARGUMENTS fdt pointer to the device tree blob
nodeoffset offset of the node whose property to find
name ... |
fdt_header_size(9) | NAME fdt_header_size - return the size of the tree's header
SYNOPSIS size_t fdt_header_size (const void *fdt );
ARGUMENTS fdt pointer to a flattened device tree
RETURN size of DTB header in bytes
SEE ALSO Kernel file ./scripts/dtc/libfdt/libfdt.h fdt_offset_ptr(9), fdt_next_tag(9), fdt_first_subnode(9), f... |
fdt_header_size_(9) | NAME fdt_header_size_ - internal function to get header size from a version number
SYNOPSIS size_t fdt_header_size_ (uint32_t version );
ARGUMENTS version device tree version number
RETURN size of DTB header in bytes
SEE ALSO Kernel file ./scripts/dtc/libfdt/libfdt.h fdt_offset_ptr(9), fdt_next_tag(9), fdt_f... |
fdt_init_reserved_mem_node(9) | NAME fdt_init_reserved_mem_node - Initialize a reserved memory region
SYNOPSIS void fdt_init_reserved_mem_node (struct reserved_mem *rmem );
ARGUMENTS rmem reserved_mem struct of the memory region to be initialized.
DESCRIPTION This function is used to call the region specific initialization function for a re... |
fdt_move(9) | NAME fdt_move - move a device tree around in memory
SYNOPSIS int fdt_move (const void *fdt , void *buf , int bufsize );
ARGUMENTS fdt pointer to the device tree to move
buf pointer to memory where the device is to be moved
bufsize size of the memory space at buf
DESCRIPTION fdt_mo... |
fdt_next_property_offset(9) | NAME fdt_next_property_offset - step through a node's properties
SYNOPSIS int fdt_next_property_offset (const void *fdt , int offset );
ARGUMENTS fdt pointer to the device tree blob
offset structure block offset of a property
DESCRIPTION fdt_next_property_offset finds the property immediately af... |
fdt_next_subnode(9) | NAME fdt_next_subnode - get offset of next direct subnode
SYNOPSIS int fdt_next_subnode (const void *fdt , int offset );
ARGUMENTS fdt FDT blob
offset Offset of previous subnode
DESCRIPTION After first calling fdt_first_subnode, call this function repeatedly to get direct subnodes of a parent no... |
fdt_next_tag(9) | NAME fdt_next_tag - get next tag in the device tree
SYNOPSIS uint32_t fdt_next_tag (const void *fdt , int offset , int *nextoffset );
ARGUMENTS fdt Pointer to the device tree blob
offset Offset within the blob to start searching
nextoffset Pointer to variable to store the offset of the n... |
fdt_node_check_compatible(9) | NAME fdt_node_check_compatible - check a node's compatible property
SYNOPSIS int fdt_node_check_compatible (const void *fdt , int nodeoffset , const char *compatible );
ARGUMENTS fdt pointer to the device tree blob
nodeoffset offset of a tree node
compatible string to match against
DESCRIPT... |
fdt_node_depth(9) | NAME fdt_node_depth - find the depth of a given node
SYNOPSIS int fdt_node_depth (const void *fdt , int nodeoffset );
ARGUMENTS fdt pointer to the device tree blob
nodeoffset offset of the node whose parent to find
DESCRIPTION fdt_node_depth finds the depth of a given node. The root node has depth ... |
fdt_node_offset_by_compatible(9) | NAME fdt_node_offset_by_compatible - find nodes with a given 'compatible' value
SYNOPSIS int fdt_node_offset_by_compatible (const void *fdt , int startoffset , const char *compatible );
ARGUMENTS fdt pointer to the device tree blob
startoffset only find nodes after this offset
compatible
DESC... |
fdt_node_offset_by_phandle(9) | NAME fdt_node_offset_by_phandle - find the node with a given phandle
SYNOPSIS int fdt_node_offset_by_phandle (const void *fdt , uint32_t phandle );
ARGUMENTS fdt pointer to the device tree blob
phandle phandle value
DESCRIPTION fdt_node_offset_by_phandle returns the offset of the node which has t... |
fdt_node_offset_by_prop_value(9) | NAME fdt_node_offset_by_prop_value - find nodes with a given property value
SYNOPSIS int fdt_node_offset_by_prop_value (const void *fdt , int startoffset , const char *propname , const void *propval , int proplen );
ARGUMENTS fdt pointer to the device tree blob
startoffset only find nodes after this o... |
fdt_nop_node(9) | NAME fdt_nop_node - replace a node (subtree) with nop tags
SYNOPSIS int fdt_nop_node (void *fdt , int nodeoffset );
ARGUMENTS fdt pointer to the device tree blob
nodeoffset offset of the node to nop
DESCRIPTION fdt_nop_node will replace a given node's representation in the blob, including all its su... |
fdt_nop_property(9) | NAME fdt_nop_property - replace a property with nop tags
SYNOPSIS int fdt_nop_property (void *fdt , int nodeoffset , const char *name );
ARGUMENTS fdt pointer to the device tree blob
nodeoffset offset of the node whose property to nop
name name of the property to nop
DESCRIPTION fdt_n... |
fdt_num_mem_rsv(9) | NAME fdt_num_mem_rsv - retrieve the number of memory reserve map entries
SYNOPSIS int fdt_num_mem_rsv (const void *fdt );
ARGUMENTS fdt pointer to the device tree blob
DESCRIPTION Returns the number of entries in the device tree blob's memory reservation map. This does not include the terminating 0,0 entry ... |
fdt_offset_ptr(9) | NAME fdt_offset_ptr - safely get a byte range within the device tree blob
SYNOPSIS const void * fdt_offset_ptr (const void *fdt , int offset , unsigned int checklen );
ARGUMENTS fdt Pointer to the device tree blob
offset Offset within the blob to the desired byte range
checklen Require... |
fdt_open_into(9) | NAME fdt_open_into - move a device tree into a new buffer and make editable
SYNOPSIS int fdt_open_into (const void *fdt , void *buf , int bufsize );
ARGUMENTS fdt Pointer to the device tree to move
buf Buffer where the editable tree should be placed
bufsize Size of the buffer at bu... |
fdt_overlay_apply(9) | NAME fdt_overlay_apply - Applies a DT overlay on a base DT
SYNOPSIS int fdt_overlay_apply (void *fdt , void *fdto );
ARGUMENTS fdt pointer to the base device tree blob
fdto pointer to the device tree overlay blob
DESCRIPTION fdt_overlay_apply will apply the given device tree overlay on the giv... |
fdt_overlay_target_offset(9) | NAME fdt_overlay_target_offset - retrieves the offset of a fragment's target
SYNOPSIS int fdt_overlay_target_offset (const void *fdt , const void *fdto , int fragment_offset , char const **pathp );
ARGUMENTS fdt Base device tree blob
fdto Device tree overlay blob
fragment_offset
... |
fdt_pack(9) | NAME fdt_pack - pack a device tree blob
SYNOPSIS int fdt_pack (void *fdt );
ARGUMENTS fdt Pointer to the device tree blob
DESCRIPTION fdt_pack reorganizes the device tree blob to eliminate any free space and pack it into the minimum possible size. This is useful after making modifications that might have lef... |
fdt_parent_offset(9) | NAME fdt_parent_offset - find the parent of a given node
SYNOPSIS int fdt_parent_offset (const void *fdt , int nodeoffset );
ARGUMENTS fdt pointer to the device tree blob
nodeoffset offset of the node whose parent to find
DESCRIPTION fdt_parent_offset locates the parent node of a given node (that is... |
fdt_path_offset(9) | NAME fdt_path_offset - find a tree node by its full path
SYNOPSIS int fdt_path_offset (const void *fdt , const char *path );
ARGUMENTS fdt pointer to the device tree blob
path full path of the node to locate
DESCRIPTION fdt_path_offset finds a node of a given path in the device tree. Each pa... |
fdt_path_offset_namelen(9) | NAME fdt_path_offset_namelen - find a tree node by its full path
SYNOPSIS int fdt_path_offset_namelen (const void *fdt , const char *path , int namelen );
ARGUMENTS fdt pointer to the device tree blob
path full path of the node to locate
namelen number of characters of path to consi... |
fdt_property(9) | NAME fdt_property - add a property to the current node
SYNOPSIS int fdt_property (void *fdt , const char *name , const void *val , int len );
ARGUMENTS fdt Pointer to the device tree blob
name Name of the property to add
val Pointer to the property value
len Leng... |
fdt_property_placeholder(9) | NAME fdt_property_placeholder - add a new property and return a ptr to its value
SYNOPSIS int fdt_property_placeholder (void *fdt , const char *name , int len , void **valp );
ARGUMENTS fdt pointer to the device tree blob
name name of property to add
len length of property value... |
fdt_resize(9) | NAME fdt_resize - move and resize a device tree in sequential write state
SYNOPSIS int fdt_resize (void *fdt , void *buf , int bufsize );
ARGUMENTS fdt Pointer to the device tree to resize
buf Buffer where resized tree should be placed
bufsize Size of the buffer at buf
DESCRIPTION... |
fdt_scan_reserved_mem_reg_nodes(9) | NAME fdt_scan_reserved_mem_reg_nodes - Store info for the "reg" defined reserved memory regions.
SYNOPSIS void fdt_scan_reserved_mem_reg_nodes (void );
ARGUMENTS void no arguments
DESCRIPTION This function is used to scan through the DT and store the information for the reserved memory regions that are defin... |
fdt_set_name(9) | NAME fdt_set_name - change the name of a given node
SYNOPSIS int fdt_set_name (void *fdt , int nodeoffset , const char *name );
ARGUMENTS fdt pointer to the device tree blob
nodeoffset structure block offset of a node
name name to give the node
DESCRIPTION fdt_set_name replaces the ... |
fdt_setprop(9) | NAME fdt_setprop - create or change a property
SYNOPSIS int fdt_setprop (void *fdt , int nodeoffset , const char *name , const void *val , int len );
ARGUMENTS fdt pointer to the device tree blob
nodeoffset offset of the node whose property to change
name name of the property to change... |
fdt_setprop_cell(9) | NAME fdt_setprop_cell - set a property to a single cell value
SYNOPSIS int fdt_setprop_cell (void *fdt , int nodeoffset , const char *name , uint32_t val );
ARGUMENTS fdt pointer to the device tree blob
nodeoffset offset of the node whose property to change
name name of the property to... |
fdt_setprop_empty(9) | NAME fdt_setprop_empty - set a property to an empty value
SYNOPSIS fdt_setprop_empty (fdt , nodeoffset , name );
ARGUMENTS fdt pointer to the device tree blob
nodeoffset offset of the node whose property to change
name name of the property to change
DESCRIPTION fdt_setprop_empty sets... |
fdt_setprop_inplace(9) | NAME fdt_setprop_inplace - change a property's value, but not its size
SYNOPSIS int fdt_setprop_inplace (void *fdt , int nodeoffset , const char *name , const void *val , int len );
ARGUMENTS fdt pointer to the device tree blob
nodeoffset offset of the node whose property to change
name ... |
fdt_setprop_inplace_cell(9) | NAME fdt_setprop_inplace_cell - change the value of a single-cell property
SYNOPSIS int fdt_setprop_inplace_cell (void *fdt , int nodeoffset , const char *name , uint32_t val );
ARGUMENTS fdt pointer to the device tree blob
nodeoffset offset of the node containing the property
name nam... |
fdt_setprop_inplace_namelen_partial(9) | NAME fdt_setprop_inplace_namelen_partial - change a property's value, but not its size
SYNOPSIS int fdt_setprop_inplace_namelen_partial (void *fdt , int nodeoffset , const char *name , int namelen , uint32_t idx , const void *val , int len );
ARGUMENTS fdt pointer to the device tree blob
nodeoffset o... |
fdt_setprop_inplace_u32(9) | NAME fdt_setprop_inplace_u32 - change the value of a 32-bit integer property
SYNOPSIS int fdt_setprop_inplace_u32 (void *fdt , int nodeoffset , const char *name , uint32_t val );
ARGUMENTS fdt pointer to the device tree blob
nodeoffset offset of the node whose property to change
name n... |
fdt_setprop_inplace_u64(9) | NAME fdt_setprop_inplace_u64 - change the value of a 64-bit integer property
SYNOPSIS int fdt_setprop_inplace_u64 (void *fdt , int nodeoffset , const char *name , uint64_t val );
ARGUMENTS fdt pointer to the device tree blob
nodeoffset offset of the node whose property to change
name n... |
fdt_setprop_namelen(9) | NAME fdt_setprop_namelen - create or change a property
SYNOPSIS int fdt_setprop_namelen (void *fdt , int nodeoffset , const char *name , int namelen , const void *val , int len );
ARGUMENTS fdt pointer to the device tree blob
nodeoffset offset of the node whose property to change
name ... |
fdt_setprop_namelen_string(9) | NAME fdt_setprop_namelen_string - set a property to a string value
SYNOPSIS fdt_setprop_namelen_string (fdt , nodeoffset , name , namelen , str );
ARGUMENTS fdt pointer to the device tree blob
nodeoffset offset of the node whose property to change
name name of the property to change
... |
fdt_setprop_placeholder(9) | NAME fdt_setprop_placeholder - allocate space for a property
SYNOPSIS int fdt_setprop_placeholder (void *fdt , int nodeoffset , const char *name , int len , void **prop_data );
ARGUMENTS fdt pointer to the device tree blob
nodeoffset offset of the node whose property to change
name nam... |
fdt_setprop_placeholder_namelen(9) | NAME fdt_setprop_placeholder_namelen - allocate space for a property
SYNOPSIS int fdt_setprop_placeholder_namelen (void *fdt , int nodeoffset , const char *name , int namelen , int len , void **prop_data );
ARGUMENTS fdt pointer to the device tree blob
nodeoffset offset of the node whose property to ... |
fdt_setprop_string(9) | NAME fdt_setprop_string - set a property to a string value
SYNOPSIS fdt_setprop_string (fdt , nodeoffset , name , str );
ARGUMENTS fdt pointer to the device tree blob
nodeoffset offset of the node whose property to change
name name of the property to change
str string v... |
fdt_setprop_u32(9) | NAME fdt_setprop_u32 - set a property to a 32-bit integer
SYNOPSIS int fdt_setprop_u32 (void *fdt , int nodeoffset , const char *name , uint32_t val );
ARGUMENTS fdt pointer to the device tree blob
nodeoffset offset of the node whose property to change
name name of the property to chan... |
fdt_setprop_u64(9) | NAME fdt_setprop_u64 - set a property to a 64-bit integer
SYNOPSIS int fdt_setprop_u64 (void *fdt , int nodeoffset , const char *name , uint64_t val );
ARGUMENTS fdt pointer to the device tree blob
nodeoffset offset of the node whose property to change
name name of the property to chan... |
fdt_size_cells(9) | NAME fdt_size_cells - retrieve address range size for a bus represented in the tree
SYNOPSIS int fdt_size_cells (const void *fdt , int nodeoffset );
ARGUMENTS fdt pointer to the device tree blob
nodeoffset offset of the node to find the address range size for
DESCRIPTION When the node has a valid #s... |
fdt_strerror(9) | NAME fdt_strerror - return string description of error code
SYNOPSIS const char * fdt_strerror (int errval );
ARGUMENTS errval Error code returned by a libfdt function
DESCRIPTION fdt_strerror returns a string description of the error code passed in errval.
RETURN pointer to a string describing the error code
... |
fdt_string(9) | NAME fdt_string - retrieve a string from the strings block of a device tree
SYNOPSIS const char * fdt_string (const void *fdt , int stroffset );
ARGUMENTS fdt pointer to the device tree blob
stroffset offset of the string within the strings block (native endian)
DESCRIPTION fdt_string retrieves a p... |
fdt_stringlist_contains(9) | NAME fdt_stringlist_contains - check a string list property for a string
SYNOPSIS int fdt_stringlist_contains (const char *strlist , int listlen , const char *str );
ARGUMENTS strlist Property containing a list of strings to check
listlen Length of property
str String to search for
DE... |
fdt_stringlist_count(9) | NAME fdt_stringlist_count - count the number of strings in a string list
SYNOPSIS int fdt_stringlist_count (const void *fdt , int nodeoffset , const char *property );
ARGUMENTS fdt pointer to the device tree blob
nodeoffset offset of a tree node
property name of the property containing the... |
fdt_stringlist_get(9) | NAME fdt_stringlist_get - obtain the string at a given index in a string list
SYNOPSIS const char * fdt_stringlist_get (const void *fdt , int nodeoffset , const char *property , int index , int *lenp );
ARGUMENTS fdt pointer to the device tree blob
nodeoffset offset of a tree node
property ... |
fdt_stringlist_search(9) | NAME fdt_stringlist_search - find a string in a string list and return its index
SYNOPSIS int fdt_stringlist_search (const void *fdt , int nodeoffset , const char *property , const char *string );
ARGUMENTS fdt pointer to the device tree blob
nodeoffset offset of a tree node
property name ... |
fdt_subnode_offset(9) | NAME fdt_subnode_offset - find a subnode of a given node
SYNOPSIS int fdt_subnode_offset (const void *fdt , int parentoffset , const char *name );
ARGUMENTS fdt pointer to the device tree blob
parentoffset
structure block offset of a node
name name of the subnode to l... |
fdt_subnode_offset_namelen(9) | NAME fdt_subnode_offset_namelen - find a subnode based on substring
SYNOPSIS int fdt_subnode_offset_namelen (const void *fdt , int parentoffset , const char *name , int namelen );
ARGUMENTS fdt pointer to the device tree blob
parentoffset
structure block offset of a node
nam... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.