| 817 | } |
| 818 | |
| 819 | struct rt_ofw_node *rt_ofw_get_next_available_child(const struct rt_ofw_node *parent, struct rt_ofw_node *prev) |
| 820 | { |
| 821 | struct rt_ofw_node *next = RT_NULL; |
| 822 | |
| 823 | if (parent) |
| 824 | { |
| 825 | next = prev; |
| 826 | |
| 827 | do { |
| 828 | next = rt_ofw_get_next_child(parent, next); |
| 829 | |
| 830 | } while (next && !ofw_node_is_available(next)); |
| 831 | } |
| 832 | |
| 833 | return next; |
| 834 | } |
| 835 | |
| 836 | struct rt_ofw_node *rt_ofw_get_cpu_node(int cpu, int *thread, rt_bool_t (*match_cpu_hwid)(int cpu, rt_uint64_t hwid)) |
| 837 | { |
nothing calls this directly
no test coverage detected