Lines Matching refs:decodes
57 unsigned int decodes; /* what does it decodes */ member
172 (vgadev->decodes & VGA_RSRC_LEGACY_IO)) in __vga_tryget()
175 (vgadev->decodes & VGA_RSRC_LEGACY_MEM)) in __vga_tryget()
232 WARN_ON(conflict->owns & ~conflict->decodes); in __vga_tryget()
272 vgadev->owns |= (wants & vgadev->decodes); in __vga_tryget()
298 if (vgadev->decodes & VGA_RSRC_LEGACY_IO) in __vga_put()
303 if (vgadev->decodes & VGA_RSRC_LEGACY_MEM) in __vga_put()
464 vgadev->decodes = VGA_RSRC_LEGACY_IO | VGA_RSRC_LEGACY_MEM | in vga_arbiter_add_pci_device()
508 vga_iostate_to_str(vgadev->decodes), in vga_arbiter_add_pci_device()
538 if (vgadev->decodes & (VGA_RSRC_LEGACY_IO | VGA_RSRC_LEGACY_MEM)) in vga_arbiter_del_pci_device()
564 old_decodes = vgadev->decodes; in vga_update_device_decodes()
565 vgadev->decodes = new_decodes; in vga_update_device_decodes()
570 vga_iostate_to_str(vgadev->decodes), in vga_update_device_decodes()
581 (new_vgadev->decodes & VGA_RSRC_LEGACY_MASK)) { in vga_update_device_decodes()
601 static void __vga_set_legacy_decoding(struct pci_dev *pdev, unsigned int decodes, bool userspace) in __vga_set_legacy_decoding() argument
606 decodes &= VGA_RSRC_LEGACY_MASK; in __vga_set_legacy_decoding()
618 vga_update_device_decodes(vgadev, decodes); in __vga_set_legacy_decoding()
628 void vga_set_legacy_decoding(struct pci_dev *pdev, unsigned int decodes) in vga_set_legacy_decoding() argument
630 __vga_set_legacy_decoding(pdev, decodes, false); in vga_set_legacy_decoding()
802 vga_iostate_to_str(vgadev->decodes), in vga_arb_read()