Lines Matching refs:zpci_ibv
36 static struct airq_iv **zpci_ibv; variable
122 struct airq_iv *dibv = zpci_ibv[smp_processor_id()]; in zpci_handle_cpu_local_irq()
221 aibv = zpci_ibv[si]; in zpci_floating_irq_handler()
251 bit = airq_iv_alloc(zpci_ibv[0], msi_vecs); in arch_setup_msi_irqs()
267 zpci_ibv[bit] = zdev->aibv; in arch_setup_msi_irqs()
294 airq_iv_set_data(zpci_ibv[cpu], hwirq, irq); in arch_setup_msi_irqs()
349 zpci_ibv[zdev->aisb] = NULL; in arch_teardown_msi_irqs()
359 airq_iv_free(zpci_ibv[0], zdev->msi_first_bit, zdev->msi_nr_irqs); in arch_teardown_msi_irqs()
371 iib.cdiib.dibv_addr = (u64) zpci_ibv[smp_processor_id()]->vector; in cpu_enable_directed_irq()
391 zpci_ibv = kcalloc(num_possible_cpus(), sizeof(*zpci_ibv), in zpci_directed_irq_init()
393 if (!zpci_ibv) in zpci_directed_irq_init()
401 zpci_ibv[cpu] = airq_iv_create(cache_line_size() * BITS_PER_BYTE, in zpci_directed_irq_init()
405 if (!zpci_ibv[cpu]) in zpci_directed_irq_init()
417 zpci_ibv = kcalloc(ZPCI_NR_DEVICES, sizeof(*zpci_ibv), GFP_KERNEL); in zpci_floating_irq_init()
418 if (!zpci_ibv) in zpci_floating_irq_init()
428 kfree(zpci_ibv); in zpci_floating_irq_init()
480 airq_iv_release(zpci_ibv[cpu]); in zpci_irq_exit()
483 kfree(zpci_ibv); in zpci_irq_exit()