Lines Matching refs:zpci_ibv
36 static struct airq_iv **zpci_ibv; variable
155 struct airq_iv *dibv = zpci_ibv[smp_processor_id()]; in zpci_handle_cpu_local_irq()
252 aibv = zpci_ibv[si]; in zpci_floating_irq_handler()
283 bit = airq_iv_alloc(zpci_ibv[0], msi_vecs); in arch_setup_msi_irqs()
299 zpci_ibv[bit] = zdev->aibv; in arch_setup_msi_irqs()
332 airq_iv_set_data(zpci_ibv[cpu], hwirq, irq); in arch_setup_msi_irqs()
375 zpci_ibv[zdev->aisb] = NULL; in arch_teardown_msi_irqs()
385 airq_iv_free(zpci_ibv[0], zdev->msi_first_bit, zdev->msi_nr_irqs); in arch_teardown_msi_irqs()
406 iib.cdiib.dibv_addr = (u64) zpci_ibv[smp_processor_id()]->vector; in cpu_enable_directed_irq()
426 zpci_ibv = kcalloc(num_possible_cpus(), sizeof(*zpci_ibv), in zpci_directed_irq_init()
428 if (!zpci_ibv) in zpci_directed_irq_init()
436 zpci_ibv[cpu] = airq_iv_create(cache_line_size() * BITS_PER_BYTE, in zpci_directed_irq_init()
440 if (!zpci_ibv[cpu]) in zpci_directed_irq_init()
452 zpci_ibv = kcalloc(ZPCI_NR_DEVICES, sizeof(*zpci_ibv), GFP_KERNEL); in zpci_floating_irq_init()
453 if (!zpci_ibv) in zpci_floating_irq_init()
463 kfree(zpci_ibv); in zpci_floating_irq_init()
515 airq_iv_release(zpci_ibv[cpu]); in zpci_irq_exit()
518 kfree(zpci_ibv); in zpci_irq_exit()