| 221 | struct rt_ofw_prop *rt_ofw_get_prop(const struct rt_ofw_node *np, const char *name, rt_ssize_t *out_length); |
| 222 | |
| 223 | rt_inline const void *rt_ofw_prop_read_raw(const struct rt_ofw_node *np, const char *name, rt_ssize_t *out_length) |
| 224 | { |
| 225 | struct rt_ofw_prop *prop = rt_ofw_get_prop(np, name, out_length); |
| 226 | |
| 227 | return prop ? prop->value : RT_NULL; |
| 228 | } |
| 229 | |
| 230 | int rt_ofw_prop_read_u8_array_index(const struct rt_ofw_node *np, const char *propname, |
| 231 | int index, int nr, rt_uint8_t *out_values); |
no test coverage detected