Lines Matching full:conflict
124 * In this case, I assume it will not conflict with any PCI card. If this
215 struct vga_device *conflict; in __vga_tryget() local
249 list_for_each_entry(conflict, &vga_list, list) { in __vga_tryget()
253 /* Don't conflict with myself */ in __vga_tryget()
254 if (vgadev == conflict) in __vga_tryget()
258 * We have a possible conflict. Before we go further, we must in __vga_tryget()
264 if (vgadev->pdev->bus != conflict->pdev->bus) { in __vga_tryget()
273 if (conflict->locks & lwants) in __vga_tryget()
274 return conflict; in __vga_tryget()
281 match = lwants & conflict->owns; in __vga_tryget()
297 if (!conflict->bridge_has_one_vga) { in __vga_tryget()
298 if ((match & conflict->decodes) & VGA_RSRC_LEGACY_MEM) in __vga_tryget()
300 if ((match & conflict->decodes) & VGA_RSRC_LEGACY_IO) in __vga_tryget()
310 pci_set_vga_state(conflict->pdev, false, pci_bits, flags); in __vga_tryget()
311 conflict->owns &= ~match; in __vga_tryget()
315 conflict->owns &= ~VGA_RSRC_NORMAL_MEM; in __vga_tryget()
317 conflict->owns &= ~VGA_RSRC_NORMAL_IO; in __vga_tryget()
412 * The arbiter will first look for all VGA cards that might conflict and disable
436 struct vga_device *vgadev, *conflict; in vga_get() local
456 conflict = __vga_tryget(vgadev, rsrc); in vga_get()
458 if (conflict == NULL) in vga_get()
462 * We have a conflict; we wait until somebody kicks the in vga_get()