Rev 1898 | Rev 1907 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1898 | Rev 1899 | ||
---|---|---|---|
Line 126... | Line 126... | ||
126 | extern void ofw_tree_init(ofw_tree_node_t *root); |
126 | extern void ofw_tree_init(ofw_tree_node_t *root); |
127 | extern void ofw_tree_print(void); |
127 | extern void ofw_tree_print(void); |
128 | extern const char *ofw_tree_node_name(const ofw_tree_node_t *node); |
128 | extern const char *ofw_tree_node_name(const ofw_tree_node_t *node); |
129 | extern ofw_tree_node_t *ofw_tree_lookup(const char *path); |
129 | extern ofw_tree_node_t *ofw_tree_lookup(const char *path); |
130 | extern ofw_tree_property_t *ofw_tree_getprop(const ofw_tree_node_t *node, const char *name); |
130 | extern ofw_tree_property_t *ofw_tree_getprop(const ofw_tree_node_t *node, const char *name); |
- | 131 | extern ofw_tree_node_t *ofw_tree_find_child(ofw_tree_node_t *node, const char *name); |
|
- | 132 | extern ofw_tree_node_t *ofw_tree_find_child_by_device_type(ofw_tree_node_t *node, const char *device_type); |
|
- | 133 | extern ofw_tree_node_t *ofw_tree_find_peer_by_device_type(ofw_tree_node_t *node, const char *device_type); |
|
131 | 134 | ||
132 | extern bool ofw_fhc_apply_ranges(ofw_tree_node_t *node, ofw_fhc_reg_t *reg, uintptr_t *pa); |
135 | extern bool ofw_fhc_apply_ranges(ofw_tree_node_t *node, ofw_fhc_reg_t *reg, uintptr_t *pa); |
133 | extern bool ofw_central_apply_ranges(ofw_tree_node_t *node, ofw_central_reg_t *reg, uintptr_t *pa); |
136 | extern bool ofw_central_apply_ranges(ofw_tree_node_t *node, ofw_central_reg_t *reg, uintptr_t *pa); |
134 | extern bool ofw_ebus_apply_ranges(ofw_tree_node_t *node, ofw_ebus_reg_t *reg, uintptr_t *pa); |
137 | extern bool ofw_ebus_apply_ranges(ofw_tree_node_t *node, ofw_ebus_reg_t *reg, uintptr_t *pa); |
135 | extern bool ofw_pci_apply_ranges(ofw_tree_node_t *node, ofw_pci_reg_t *reg, uintptr_t *pa); |
138 | extern bool ofw_pci_apply_ranges(ofw_tree_node_t *node, ofw_pci_reg_t *reg, uintptr_t *pa); |