Lines Matching full:owns
46 unsigned int owns; /* what it owns */ member
231 vgaarb_dbg(dev, "%s: owns: %d\n", __func__, vgadev->owns); in __vga_tryget()
234 wants = rsrc & ~vgadev->owns; in __vga_tryget()
277 * Ok, now check if it owns the resource we want. We can in __vga_tryget()
281 match = lwants & conflict->owns; in __vga_tryget()
311 conflict->owns &= ~match; in __vga_tryget()
313 /* If we disabled normal decoding, reflect it in owns */ in __vga_tryget()
315 conflict->owns &= ~VGA_RSRC_NORMAL_MEM; in __vga_tryget()
317 conflict->owns &= ~VGA_RSRC_NORMAL_IO; in __vga_tryget()
323 * enable us. Mark any bits in "owns" regardless of whether we in __vga_tryget()
325 * we must track them via "owns". in __vga_tryget()
342 vgadev->owns |= wants; in __vga_tryget()
425 * already owns the resources, the function succeeds. Nested calls are
613 * Legacy VGA device (owns VGA_RSRC_LEGACY_MASK) in vga_is_boot_device()
641 (boot_vga->owns & VGA_RSRC_LEGACY_MASK) == VGA_RSRC_LEGACY_MASK) in vga_is_boot_device()
644 if ((vgadev->owns & VGA_RSRC_LEGACY_MASK) == VGA_RSRC_LEGACY_MASK) in vga_is_boot_device()
799 vgadev->owns |= VGA_RSRC_LEGACY_IO; in vga_arbiter_add_pci_device()
801 vgadev->owns |= VGA_RSRC_LEGACY_MEM; in vga_arbiter_add_pci_device()
812 vgadev->owns = 0; in vga_arbiter_add_pci_device()
831 vgaarb_info(&pdev->dev, "VGA device added: decodes=%s,owns=%s,locks=%s\n", in vga_arbiter_add_pci_device()
833 vga_iostate_to_str(vgadev->owns), in vga_arbiter_add_pci_device()
886 vgaarb_info(dev, "VGA decodes changed: olddecodes=%s,decodes=%s:owns=%s\n", in vga_update_device_decodes()
889 vga_iostate_to_str(vgadev->owns)); in vga_update_device_decodes()
1012 * card currently decodes, "owns" indicates what is currently
1018 * "<card_ID>,decodes=<io_state>,owns=<io_state>,locks=<io_state> (ic,mc)"
1131 "count:%d,PCI:%s,decodes=%s,owns=%s,locks=%s(%u:%u)\n", in vga_arb_read()
1134 vga_iostate_to_str(vgadev->owns), in vga_arb_read()