Lines Matching refs:zpci_ibv
30 static struct airq_iv **zpci_ibv; variable
154 struct airq_iv *dibv = zpci_ibv[smp_processor_id()]; in zpci_handle_cpu_local_irq()
258 aibv = zpci_ibv[si]; in zpci_floating_irq_handler()
289 bit = airq_iv_alloc(zpci_ibv[0], msi_vecs); in arch_setup_msi_irqs()
305 zpci_ibv[bit] = zdev->aibv; in arch_setup_msi_irqs()
338 airq_iv_set_data(zpci_ibv[cpu], hwirq, irq); in arch_setup_msi_irqs()
381 zpci_ibv[zdev->aisb] = NULL; in arch_teardown_msi_irqs()
391 airq_iv_free(zpci_ibv[0], zdev->msi_first_bit, zdev->msi_nr_irqs); in arch_teardown_msi_irqs()
413 iib.cdiib.dibv_addr = (u64) zpci_ibv[smp_processor_id()]->vector; in cpu_enable_directed_irq()
433 zpci_ibv = kcalloc(num_possible_cpus(), sizeof(*zpci_ibv), in zpci_directed_irq_init()
435 if (!zpci_ibv) in zpci_directed_irq_init()
443 zpci_ibv[cpu] = airq_iv_create(cache_line_size() * BITS_PER_BYTE, in zpci_directed_irq_init()
447 if (!zpci_ibv[cpu]) in zpci_directed_irq_init()
459 zpci_ibv = kcalloc(ZPCI_NR_DEVICES, sizeof(*zpci_ibv), GFP_KERNEL); in zpci_floating_irq_init()
460 if (!zpci_ibv) in zpci_floating_irq_init()
470 kfree(zpci_ibv); in zpci_floating_irq_init()
523 airq_iv_release(zpci_ibv[cpu]); in zpci_irq_exit()
526 kfree(zpci_ibv); in zpci_irq_exit()