Lines Matching refs:VGA_RSRC_LEGACY_IO

68 	iostate &= VGA_RSRC_LEGACY_IO | VGA_RSRC_LEGACY_MEM;  in vga_iostate_to_str()
70 case VGA_RSRC_LEGACY_IO | VGA_RSRC_LEGACY_MEM: in vga_iostate_to_str()
72 case VGA_RSRC_LEGACY_IO: in vga_iostate_to_str()
98 *io_state = VGA_RSRC_LEGACY_IO | VGA_RSRC_LEGACY_MEM; in vga_str_to_iostate()
223 (vgadev->decodes & VGA_RSRC_LEGACY_IO)) in __vga_tryget()
224 rsrc |= VGA_RSRC_LEGACY_IO; in __vga_tryget()
263 lwants = VGA_RSRC_LEGACY_IO | VGA_RSRC_LEGACY_MEM; in __vga_tryget()
293 if ((match & conflict->decodes) & VGA_RSRC_LEGACY_IO) in __vga_tryget()
326 if (wants & (VGA_RSRC_LEGACY_IO|VGA_RSRC_NORMAL_IO)) in __vga_tryget()
337 if (rsrc & VGA_RSRC_LEGACY_IO) in __vga_tryget()
361 if (vgadev->decodes & VGA_RSRC_LEGACY_IO) in __vga_put()
362 rsrc |= VGA_RSRC_LEGACY_IO; in __vga_put()
369 if ((rsrc & VGA_RSRC_LEGACY_IO) && vgadev->io_lock_cnt > 0) in __vga_put()
378 vgadev->locks &= ~VGA_RSRC_LEGACY_IO; in __vga_put()
788 vgadev->decodes = VGA_RSRC_LEGACY_IO | VGA_RSRC_LEGACY_MEM | in vga_arbiter_add_pci_device()
798 vgadev->owns |= VGA_RSRC_LEGACY_IO; in vga_arbiter_add_pci_device()
859 if (vgadev->decodes & (VGA_RSRC_LEGACY_IO | VGA_RSRC_LEGACY_MEM)) in vga_arbiter_del_pci_device()
893 if (decodes_unlocked & VGA_RSRC_LEGACY_IO) in vga_update_device_decodes()
1210 if (io_state & VGA_RSRC_LEGACY_IO) in vga_arb_write()
1227 io_state = VGA_RSRC_LEGACY_IO | VGA_RSRC_LEGACY_MEM; in vga_arb_write()
1257 if (io_state & VGA_RSRC_LEGACY_IO && uc->io_cnt == 0) { in vga_arb_write()
1269 if (io_state & VGA_RSRC_LEGACY_IO) in vga_arb_write()
1303 if (io_state & VGA_RSRC_LEGACY_IO) in vga_arb_write()
1463 vga_put(uc->pdev, VGA_RSRC_LEGACY_IO); in vga_arb_release()