Home
last modified time | relevance | path

Searched refs:can_switch (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/gpu/vga/
H A Dvga_switcheroo.c766 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()
/linux/drivers/gpu/drm/i915/
H A Di915_switcheroo.c59 .can_switch = i915_switcheroo_can_switch,
/linux/include/linux/
H A Dvga_switcheroo.h133 * @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 be
146 bool (*can_switch)(struct pci_dev *dev); member
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_vga.c83 .can_switch = nouveau_switcheroo_can_switch,
/linux/drivers/net/wireless/realtek/rtw88/
H A Dusb.c1104 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()
/linux/drivers/gpu/drm/radeon/
H A Dradeon_device.c1263 .can_switch = radeon_switcheroo_can_switch,
/linux/sound/hda/controllers/
H A Dintel.c1299 .can_switch = azx_vs_can_switch,
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_device.c2250 .can_switch = amdgpu_switcheroo_can_switch,