Searched refs:can_switch (Results 1 – 5 of 5) 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()
146 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() local1117 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()
1297 .can_switch = azx_vs_can_switch,