Lines Matching refs:conflict
148 * NULL here. In this case, I assume it will not conflict with
246 struct vga_device *conflict;
278 list_for_each_entry(conflict, &vga_list, list) {
282 /* Don't conflict with myself */
283 if (vgadev == conflict)
286 /* Check if the architecture allows a conflict between those
289 if (!vga_conflicts(vgadev->pdev, conflict->pdev))
292 /* We have a possible conflict. before we go further, we must
298 if (vgadev->pdev->bus != conflict->pdev->bus) {
306 if (conflict->locks & lwants)
307 return conflict;
313 match = lwants & conflict->owns;
327 if (!conflict->bridge_has_one_vga) {
328 if ((match & conflict->decodes) & VGA_RSRC_LEGACY_MEM)
330 if ((match & conflict->decodes) & VGA_RSRC_LEGACY_IO)
334 vga_irq_set_state(conflict, false);
342 pci_set_vga_state(conflict->pdev, false, pci_bits, flags);
343 conflict->owns &= ~match;
347 conflict->owns &= ~VGA_RSRC_NORMAL_MEM;
349 conflict->owns &= ~VGA_RSRC_NORMAL_IO;
443 * The arbiter will first look for all VGA cards that might conflict and disable
467 struct vga_device *vgadev, *conflict;
487 conflict = __vga_tryget(vgadev, rsrc);
489 if (conflict == NULL)
493 /* We have a conflict, we wait until somebody kicks the