Lines Matching refs:interrupt_cells
26 int interrupt_cells = -RT_EEMPTY; in ofw_interrupt_cells() local
28 rt_ofw_prop_read_u32(np, "#interrupt-cells", (rt_uint32_t *)&interrupt_cells); in ofw_interrupt_cells()
30 return interrupt_cells; in ofw_interrupt_cells()
397 int interrupt_cells; in ofw_parse_irq_cells() local
447 ic_np = rt_ofw_find_irq_parent(np, &interrupt_cells); in ofw_parse_irq_cells()
455 RT_ASSERT(interrupt_cells <= RT_OFW_MAX_CELL_ARGS); in ofw_parse_irq_cells()
457 if (index >= interrupt_len / (interrupt_cells * sizeof(*cell))) in ofw_parse_irq_cells()
463 cell += index * interrupt_cells; in ofw_parse_irq_cells()
466 out_irq_args->args_count = interrupt_cells; in ofw_parse_irq_cells()
468 for (int idx = 0; idx < interrupt_cells; ++idx, ++cell) in ofw_parse_irq_cells()
503 int interrupt_cells; in rt_ofw_find_irq_parent() local
506 if (ic_np && (interrupt_cells = ofw_interrupt_cells(ic_np)) >= 0) in rt_ofw_find_irq_parent()
512 *out_interrupt_cells = interrupt_cells; in rt_ofw_find_irq_parent()