Searched refs:can_switch (Results 1 – 5 of 5) sorted by relevance
780 if (!client->ops->can_switch(client->pdev)) { in check_can_switch()795 bool delay = false, can_switch;885 can_switch = check_can_switch();887 if (can_switch == false && delay == false)890 if (can_switch) {1081 bool can_switch; in vga_switcheroo_write() local1195 can_switch = check_can_switch(); in vga_switcheroo_write()1197 if (can_switch == false && delay == false) in vga_switcheroo_write()1200 if (can_switch) { in vga_switcheroo_write()
144 bool (*can_switch)(struct pci_dev *dev); member
1291 .can_switch = radeon_switcheroo_can_switch,
627 .can_switch = i915_switcheroo_can_switch,
1079 .can_switch = amdgpu_switcheroo_can_switch,