| 347 | } |
| 348 | |
| 349 | rt_err_t rt_ofw_parse_irq_map(struct rt_ofw_node *np, struct rt_ofw_cell_args *irq_args) |
| 350 | { |
| 351 | rt_err_t err; |
| 352 | |
| 353 | if (np && irq_args && irq_args->data) |
| 354 | { |
| 355 | err = ofw_parse_irq_map(np, irq_args); |
| 356 | } |
| 357 | else |
| 358 | { |
| 359 | err = -RT_EINVAL; |
| 360 | } |
| 361 | |
| 362 | return err; |
| 363 | } |
| 364 | |
| 365 | static rt_err_t ofw_parse_irq_cells(struct rt_ofw_node *np, int index, struct rt_ofw_cell_args *out_irq_args) |
| 366 | { |
no test coverage detected