Searched refs:can_switch (Results 1 – 8 of 8) sorted by relevance
766 if (!client->ops->can_switch(client->pdev)) { in check_can_switch() 780 bool delay = false, can_switch; in vga_switcheroo_debugfs_write() local 870 can_switch = check_can_switch(); in vga_switcheroo_debugfs_write() 872 if (can_switch == false && delay == false) in vga_switcheroo_debugfs_write() 875 if (can_switch) { in vga_switcheroo_debugfs_write()
59 .can_switch = i915_switcheroo_can_switch,
133 * @can_switch: check if the device is in a position to switch now.139 * The @set_gpu_state and @can_switch methods are mandatory, @reprobe may be146 bool (*can_switch)(struct pci_dev *dev); member
83 .can_switch = nouveau_switcheroo_can_switch,
1104 bool can_switch; in rtw_usb_switch_mode_new() local 1117 can_switch = !!(pad_ctrl2 & (BIT_MASK_USB23_SW_MODE_V1 | in rtw_usb_switch_mode_new() 1120 if (!can_switch) { in rtw_usb_switch_mode_new()
1263 .can_switch = radeon_switcheroo_can_switch,
1299 .can_switch = azx_vs_can_switch,
2250 .can_switch = amdgpu_switcheroo_can_switch,