Lines Matching defs:isr
445 struct virtio_pci_cap common, isr, device;
450 struct virtio_pci_cap *caps[] = { &common, &isr, &device, ¬ify.cap };
458 if (virtio_pci_find_cap(sc, VIRTIO_PCI_CAP_ISR_CFG, &isr, sizeof(isr)) != 0)
525 i = bars_idx[isr.bar];
527 isr.offset, isr.length, &sc->sc_isr_ioh) != 0) {
528 printf("%s: can't map isr i/o space\n",
533 sc->sc_isr_iosize = isr.length;
579 printf("%s: can't map isr i/o space\n",
1140 int isr, r = 0;
1143 isr = bus_space_read_1(sc->sc_isr_iot, sc->sc_isr_ioh, 0);
1144 if (isr == 0)
1147 if ((isr & VIRTIO_CONFIG_ISR_CONFIG_CHANGE) &&
1162 int isr, r = 0;
1165 isr = bus_space_read_1(sc->sc_isr_iot, sc->sc_isr_ioh, 0);
1166 if (isr == 0)
1168 if ((isr & VIRTIO_CONFIG_ISR_CONFIG_CHANGE) &&
1211 * We cannot use isr here because it is not defined in MSI-X mode.