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()
276 *bit = airq_iv_alloc(zpci_ibv[0], msi_vecs); in __alloc_airq()
292 zpci_ibv[*bit] = zdev->aibv; in __alloc_airq()
365 airq_iv_set_data(zpci_ibv[cpu], in arch_setup_msi_irqs()
413 zpci_ibv[zdev->aisb] = NULL; in arch_teardown_msi_irqs()
423 airq_iv_free(zpci_ibv[0], zdev->msi_first_bit, zdev->msi_nr_irqs); in arch_teardown_msi_irqs()
445 iib.cdiib.dibv_addr = virt_to_phys(zpci_ibv[smp_processor_id()]->vector); in cpu_enable_directed_irq()
465 zpci_ibv = kcalloc(num_possible_cpus(), sizeof(*zpci_ibv), in zpci_directed_irq_init()
467 if (!zpci_ibv) in zpci_directed_irq_init()
475 zpci_ibv[cpu] = airq_iv_create(cache_line_size() * BITS_PER_BYTE, in zpci_directed_irq_init()
479 if (!zpci_ibv[cpu]) in zpci_directed_irq_init()
491 zpci_ibv = kcalloc(ZPCI_NR_DEVICES, sizeof(*zpci_ibv), GFP_KERNEL); in zpci_floating_irq_init()
492 if (!zpci_ibv) in zpci_floating_irq_init()
502 kfree(zpci_ibv); in zpci_floating_irq_init()
555 airq_iv_release(zpci_ibv[cpu]); in zpci_irq_exit()
558 kfree(zpci_ibv); in zpci_irq_exit()