156 const char *propname,
213 const char *propname,
236 const char *propname,
257 const char *propname,
279 const char *propname,
300 const char *propname,
321 const char *propname,
353 const char *previous,
370int rtems_ofw_set_prop(
ISR_Vector_number rtems_vector_number
This integer type represents interrupt vector numbers.
Definition: intr.h:102
bool rtems_ofw_is_node_compatible(phandle_t node, const char *compat)
check a nodes compatible property.
Definition: ofw.c:704
ssize_t rtems_ofw_get_enc_prop(phandle_t node, const char *prop, pcell_t *buf, size_t len)
Gets the value of property mentioned in prop.
Definition: ofw.c:238
ssize_t rtems_ofw_get_prop_alloc(phandle_t node, const char *propname, void **buf)
Gets the value of property mentioned in propname.
Definition: ofw.c:308
phandle_t rtems_ofw_peer(phandle_t node)
Gets the node that is next to node.
Definition: ofw.c:98
bool rtems_ofw_node_status(phandle_t node)
Queries the node's status.
Definition: ofw.c:681
ssize_t rtems_ofw_instance_to_path(ihandle_t instance, char *buf, size_t len)
Find the node's path from ihandle.
Definition: ofw.c:584
phandle_t rtems_ofw_instance_to_package(ihandle_t instance)
Converts instance handle to phandle.
Definition: ofw.c:561
uint32_t phandle_t
Definition: ofw.h:56
ssize_t rtems_ofw_get_prop_alloc_multi(phandle_t node, const char *propname, int elsz, void **buf)
Gets multiple values of the property propname.
Definition: ofw.c:337
int rtems_ofw_next_prop(phandle_t node, const char *previous, char *buf, size_t len)
Finds the next property of node.
Definition: ofw.c:433
int rtems_ofw_get_reg(phandle_t node, rtems_ofw_memory_area *buf, size_t size)
Queries the node's reg value.
Definition: ofw.c:603
ssize_t rtems_ofw_get_enc_prop_alloc_multi(phandle_t node, const char *propname, int elsz, void **buf)
Gets multiple values of the property propname.
Definition: ofw.c:397
phandle_t rtems_ofw_find_device(const char *path)
Finds the node at the given path.
Definition: ofw.c:498
phandle_t rtems_ofw_find_device_by_compat(const char *compat)
Gets node phandle from compatible property.
Definition: ofw.c:696
uint32_t pcell_t
Definition: ofw.h:64
uint32_t ihandle_t
Definition: ofw.h:60
void rtems_ofw_free(void *buf)
Free's the buffers allocated by the rtems_ofw_*_alloc functions.
Definition: ofw.c:428
ssize_t rtems_ofw_search_prop(phandle_t node, const char *propname, void *buf, size_t len)
Searches for property propname in node.
Definition: ofw.c:272
ssize_t rtems_ofw_canon(const char *dev, char *buf, size_t len)
Converts a device specifier to a fully qualified path name.
phandle_t rtems_ofw_node_from_xref(phandle_t xref)
This routine converts effective phandle xref to node offset.
Definition: ofw.c:537
int rtems_ofw_has_prop(phandle_t node, const char *propname)
Checks if the property propname is present in node.
Definition: ofw.c:261
ssize_t rtems_ofw_get_prop_len(phandle_t node, const char *propname)
Gets the length of the property mentioned in propname.
Definition: ofw.c:144
ssize_t rtems_ofw_search_enc_prop(phandle_t node, const char *propname, pcell_t *buf, size_t len)
Searches for property propname in node.
Definition: ofw.c:290
int rtems_ofw_get_interrupts(phandle_t node, rtems_vector_number *buf, size_t size)
Queries the node's interrupt value.
Definition: ofw.c:664
phandle_t rtems_ofw_child(phandle_t node)
Gets the node that is the child of node.
Definition: ofw.c:116
ssize_t rtems_ofw_package_to_path(phandle_t node, char *buf, size_t len)
Find the node's path from phandle.
Definition: ofw.c:566
ssize_t rtems_ofw_get_prop(phandle_t node, const char *propname, void *buf, size_t len)
Gets the value of property mentioned in propname.
Definition: ofw.c:180
ssize_t rtems_ofw_get_enc_prop_alloc(phandle_t node, const char *propname, void **buf)
Gets the value of property mentioned in propname.
Definition: ofw.c:368
phandle_t rtems_ofw_parent(phandle_t node)
Gets the node that is the parent of node.
Definition: ofw.c:130
phandle_t rtems_ofw_xref_from_node(phandle_t node)
This routine converts node offset to effective phandle of node.
Definition: ofw.c:547
This header file defines the RTEMS Classic API.
uint32_t size
Definition: ofw.h:76
uint32_t start
Definition: ofw.h:74
uint32_t size
Definition: ofw.h:90
uint32_t parent_bus
Definition: ofw.h:88
uint32_t child_bus
Definition: ofw.h:86