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() local870 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()
57 .can_switch = i915_switcheroo_can_switch,
146 bool (*can_switch)(struct pci_dev *dev); member
83 .can_switch = nouveau_switcheroo_can_switch,
935 bool can_switch; in rtw_usb_switch_mode_new() local948 can_switch = !!(pad_ctrl2 & (BIT_MASK_USB23_SW_MODE_V1 | in rtw_usb_switch_mode_new()951 if (!can_switch) { in rtw_usb_switch_mode_new()
1263 .can_switch = radeon_switcheroo_can_switch,
1305 .can_switch = azx_vs_can_switch,
2049 .can_switch = amdgpu_switcheroo_can_switch,