Lines Matching +full:0 +full:xa0000
57 return 0; \
84 return 0; \
102 ssize_t done = 0; in do_io_rw()
113 fillable = 0; in do_io_rw()
185 u8 val = 0xFF; in do_io_rw()
188 for (i = 0; i < filled; i++) in do_io_rw()
210 return 0; in vfio_pci_setup_barmap()
216 io = pci_iomap(pdev, bar, 0); in vfio_pci_setup_barmap()
224 return 0; in vfio_pci_setup_barmap()
233 size_t x_start = 0, x_end = 0; in vfio_pci_bar_rw()
243 end = 0x20000; in vfio_pci_bar_rw()
282 if (done >= 0) in vfio_pci_bar_rw()
305 if (pos > 0xbfffful) in vfio_pci_vga_rw()
309 case 0xa0000 ... 0xbffff: in vfio_pci_vga_rw()
310 count = min(count, (size_t)(0xc0000 - pos)); in vfio_pci_vga_rw()
311 iomem = ioremap(0xa0000, 0xbffff - 0xa0000 + 1); in vfio_pci_vga_rw()
312 off = pos - 0xa0000; in vfio_pci_vga_rw()
316 case 0x3b0 ... 0x3bb: in vfio_pci_vga_rw()
317 count = min(count, (size_t)(0x3bc - pos)); in vfio_pci_vga_rw()
318 iomem = ioport_map(0x3b0, 0x3bb - 0x3b0 + 1); in vfio_pci_vga_rw()
319 off = pos - 0x3b0; in vfio_pci_vga_rw()
323 case 0x3c0 ... 0x3df: in vfio_pci_vga_rw()
324 count = min(count, (size_t)(0x3e0 - pos)); in vfio_pci_vga_rw()
325 iomem = ioport_map(0x3c0, 0x3df - 0x3c0 + 1); in vfio_pci_vga_rw()
326 off = pos - 0x3c0; in vfio_pci_vga_rw()
348 done = do_io_rw(vdev, false, iomem, buf, off, count, 0, 0, iswrite); in vfio_pci_vga_rw()
354 if (done >= 0) in vfio_pci_vga_rw()
396 return 0; in vfio_pci_ioeventfd_handler()
405 return 0; in vfio_pci_ioeventfd_handler()
455 ret = 0; in vfio_pci_ioeventfd()
463 if (fd < 0) { in vfio_pci_ioeventfd()