Lines Matching refs:conflict
166 struct vga_device *conflict; in __vga_tryget() local
198 list_for_each_entry(conflict, &vga_list, list) { in __vga_tryget()
203 if (vgadev == conflict) in __vga_tryget()
209 if (!vga_conflicts(vgadev->pdev, conflict->pdev)) in __vga_tryget()
218 if (vgadev->pdev->bus != conflict->pdev->bus) { in __vga_tryget()
226 if (conflict->locks & lwants) in __vga_tryget()
227 return conflict; in __vga_tryget()
234 WARN_ON(conflict->owns & ~conflict->decodes); in __vga_tryget()
235 match = lwants & conflict->owns; in __vga_tryget()
246 if (!conflict->bridge_has_one_vga) { in __vga_tryget()
247 vga_irq_set_state(conflict, false); in __vga_tryget()
258 pci_set_vga_state(conflict->pdev, false, pci_bits, flags); in __vga_tryget()
259 conflict->owns &= ~lwants; in __vga_tryget()
262 conflict->owns &= ~VGA_RSRC_NORMAL_MEM; in __vga_tryget()
264 conflict->owns &= ~VGA_RSRC_NORMAL_IO; in __vga_tryget()
347 struct vga_device *vgadev, *conflict; in vga_get() local
367 conflict = __vga_tryget(vgadev, rsrc); in vga_get()
369 if (conflict == NULL) in vga_get()
637 struct vga_device *new_vgadev, *conflict; in vga_update_device_decodes() local
658 conflict = __vga_tryget(new_vgadev, VGA_RSRC_LEGACY_MASK); in vga_update_device_decodes()
659 if (!conflict) in vga_update_device_decodes()