Lines Matching refs:VGA_RSRC_LEGACY_MEM
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()
74 case VGA_RSRC_LEGACY_MEM: in vga_iostate_to_str()
98 *io_state = VGA_RSRC_LEGACY_IO | VGA_RSRC_LEGACY_MEM; in vga_str_to_iostate()
226 (vgadev->decodes & VGA_RSRC_LEGACY_MEM)) in __vga_tryget()
227 rsrc |= VGA_RSRC_LEGACY_MEM; in __vga_tryget()
263 lwants = VGA_RSRC_LEGACY_IO | VGA_RSRC_LEGACY_MEM; in __vga_tryget()
291 if ((match & conflict->decodes) & VGA_RSRC_LEGACY_MEM) in __vga_tryget()
324 if (wants & (VGA_RSRC_LEGACY_MEM|VGA_RSRC_NORMAL_MEM)) in __vga_tryget()
339 if (rsrc & VGA_RSRC_LEGACY_MEM) in __vga_tryget()
366 if (vgadev->decodes & VGA_RSRC_LEGACY_MEM) in __vga_put()
367 rsrc |= VGA_RSRC_LEGACY_MEM; in __vga_put()
371 if ((rsrc & VGA_RSRC_LEGACY_MEM) && vgadev->mem_lock_cnt > 0) in __vga_put()
380 vgadev->locks &= ~VGA_RSRC_LEGACY_MEM; in __vga_put()
788 vgadev->decodes = VGA_RSRC_LEGACY_IO | VGA_RSRC_LEGACY_MEM | in vga_arbiter_add_pci_device()
800 vgadev->owns |= VGA_RSRC_LEGACY_MEM; in vga_arbiter_add_pci_device()
859 if (vgadev->decodes & (VGA_RSRC_LEGACY_IO | VGA_RSRC_LEGACY_MEM)) in vga_arbiter_del_pci_device()
895 if (decodes_unlocked & VGA_RSRC_LEGACY_MEM) in vga_update_device_decodes()
1212 if (io_state & VGA_RSRC_LEGACY_MEM) in vga_arb_write()
1227 io_state = VGA_RSRC_LEGACY_IO | VGA_RSRC_LEGACY_MEM; in vga_arb_write()
1262 if (io_state & VGA_RSRC_LEGACY_MEM && uc->mem_cnt == 0) { in vga_arb_write()
1271 if (io_state & VGA_RSRC_LEGACY_MEM) in vga_arb_write()
1305 if (io_state & VGA_RSRC_LEGACY_MEM) in vga_arb_write()
1465 vga_put(uc->pdev, VGA_RSRC_LEGACY_MEM); in vga_arb_release()