MOS Source Code
|
Go to the source code of this file.
Functions | |
static int | fdt_cells (const void *fdt, int nodeoffset, const char *name) |
int | fdt_address_cells (const void *fdt, int nodeoffset) |
int | fdt_size_cells (const void *fdt, int nodeoffset) |
int | fdt_appendprop_addrrange (void *fdt, int parent, int nodeoffset, const char *name, uint64_t addr, uint64_t size) |
Definition at line 14 of file fdt_addresses.c.
Referenced by fdt_address_cells(), and fdt_size_cells().
fdt_address_cells - retrieve address size for a bus represented in the tree @fdt: pointer to the device tree blob @nodeoffset: offset of the node to find the address size for
When the node has a valid #address-cells property, returns its value.
returns: 0 <= n < FDT_MAX_NCELLS, on success 2, if the node has no #address-cells property -FDT_ERR_BADNCELLS, if the node has a badly formatted or invalid #address-cells property -FDT_ERR_BADMAGIC, -FDT_ERR_BADVERSION, -FDT_ERR_BADSTATE, -FDT_ERR_BADSTRUCTURE, -FDT_ERR_TRUNCATED, standard meanings
Definition at line 34 of file fdt_addresses.c.
Referenced by fdt_appendprop_addrrange().
fdt_size_cells - retrieve address range size for a bus represented in the tree @fdt: pointer to the device tree blob @nodeoffset: offset of the node to find the address range size for
When the node has a valid size-cells property, returns its value.
returns: 0 <= n < FDT_MAX_NCELLS, on success 1, if the node has no size-cells property -FDT_ERR_BADNCELLS, if the node has a badly formatted or invalid size-cells property -FDT_ERR_BADMAGIC, -FDT_ERR_BADVERSION, -FDT_ERR_BADSTATE, -FDT_ERR_BADSTRUCTURE, -FDT_ERR_TRUNCATED, standard meanings
Definition at line 46 of file fdt_addresses.c.
Referenced by fdt_appendprop_addrrange().