Lines Matching refs:irq_base
183 return ucb->irq_base > 0 ? ucb->irq_base + offset : -ENXIO; in ucb1x00_to_irq()
294 generic_handle_irq(ucb->irq_base + i); in ucb1x00_irq()
317 unsigned mask = 1 << (data->irq - ucb->irq_base); in ucb1x00_irq_mask()
328 unsigned mask = 1 << (data->irq - ucb->irq_base); in ucb1x00_irq_unmask()
339 unsigned mask = 1 << (data->irq - ucb->irq_base); in ucb1x00_irq_set_type()
366 unsigned mask = 1 << (data->irq - ucb->irq_base); in ucb1x00_irq_set_wake()
497 unsigned id, i, irq_base; in ucb1x00_probe() local
544 irq_base = pdata ? pdata->irq_base : 0; in ucb1x00_probe()
545 ucb->irq_base = irq_alloc_descs(-1, irq_base, 16, -1); in ucb1x00_probe()
546 if (ucb->irq_base < 0) { in ucb1x00_probe()
548 ucb->irq_base); in ucb1x00_probe()
549 ret = ucb->irq_base; in ucb1x00_probe()
554 unsigned irq = ucb->irq_base + i; in ucb1x00_probe()
599 if (ucb->irq_base > 0) in ucb1x00_probe()
600 irq_free_descs(ucb->irq_base, 16); in ucb1x00_probe()
629 irq_free_descs(ucb->irq_base, 16); in ucb1x00_remove()