![]() |
SyterKit 0.4.0.x
SyterKit is a bare-metal framework
|

Functions | |
| static int | fdt_cells (const void *fdt, int nodeoffset, const char *name) |
| int | fdt_address_cells (const void *fdt, int nodeoffset) |
| 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 | |
| int | fdt_size_cells (const void *fdt, int nodeoffset) |
| 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 | |
| int | fdt_appendprop_addrrange (void *fdt, int parent, int nodeoffset, const char *name, uint64_t addr, uint64_t size) |
| int fdt_address_cells | ( | const void * | fdt, |
| int | nodeoffset | ||
| ) |
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
| int fdt_appendprop_addrrange | ( | void * | fdt, |
| int | parent, | ||
| int | nodeoffset, | ||
| const char * | name, | ||
| uint64_t | addr, | ||
| uint64_t | size | ||
| ) |
|
static |
| int fdt_size_cells | ( | const void * | fdt, |
| int | nodeoffset | ||
| ) |
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