Home
last modified time | relevance | path

Searched refs:ZPCI_NR_DEVICES (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/arch/s390/include/asm/
H A Dpci.h27 #define ZPCI_NR_DEVICES CONFIG_PCI_NR_FUNCTIONS macro
31 #if (ZPCI_NR_DEVICES > ZPCI_DOMAIN_BITMAP_SIZE)
32 # error ZPCI_NR_DEVICES can not be bigger than ZPCI_DOMAIN_BITMAP_SIZE
/openbmc/linux/arch/s390/kvm/
H A Dpci.c61 aift->sbv = airq_iv_create(ZPCI_NR_DEVICES, AIRQ_IV_ALLOC, NULL); in zpci_setup_aipb()
67 size = get_order(PAGE_ALIGN(ZPCI_NR_DEVICES * in zpci_setup_aipb()
79 zpci_aipb->aipb.faal = ZPCI_NR_DEVICES; in zpci_setup_aipb()
129 aift->kzdev = kcalloc(ZPCI_NR_DEVICES, sizeof(struct kvm_zdev *), in kvm_s390_pci_aen_init()
/openbmc/linux/arch/s390/pci/
H A Dpci_bus.c332 if (zpci_nb_devices == ZPCI_NR_DEVICES) { in zpci_bus_device_register()
334 zdev->fid, ZPCI_NR_DEVICES); in zpci_bus_device_register()
H A Dpci_irq.c459 zpci_ibv = kcalloc(ZPCI_NR_DEVICES, sizeof(*zpci_ibv), GFP_KERNEL); in zpci_floating_irq_init()
463 zpci_sbv = airq_iv_create(ZPCI_NR_DEVICES, AIRQ_IV_ALLOC, NULL); in zpci_floating_irq_init()
H A Dpci.c50 min(((unsigned long) ZPCI_NR_DEVICES * PCI_STD_NUM_BARS / 2), \
647 domain = find_first_zero_bit(zpci_domain, ZPCI_NR_DEVICES); in __zpci_alloc_domain()