Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Dvga_switcheroo.h86 enum vga_switcheroo_client_id { enum
118 int (*switchto)(enum vga_switcheroo_client_id id);
119 int (*switch_ddc)(enum vga_switcheroo_client_id id);
120 int (*power_state)(enum vga_switcheroo_client_id id,
122 enum vga_switcheroo_client_id (*get_client_id)(struct pci_dev *pdev);
147 void (*gpu_bound)(struct pci_dev *dev, enum vga_switcheroo_client_id);
/openbmc/linux/drivers/gpu/vga/
H A Dvga_switcheroo.c118 enum vga_switcheroo_client_id id;
152 enum vga_switcheroo_client_id delayed_client_id;
293 enum vga_switcheroo_client_id id, in register_client()
366 enum vga_switcheroo_client_id id = VGA_SWITCHEROO_UNKNOWN_ID; in vga_switcheroo_register_audio_client()
406 enum vga_switcheroo_client_id client_id) in find_client_from_id()
561 enum vga_switcheroo_client_id id; in vga_switcheroo_lock_ddc()
593 enum vga_switcheroo_client_id id; in vga_switcheroo_unlock_ddc()
696 static void set_audio_state(enum vga_switcheroo_client_id id, in set_audio_state()
782 enum vga_switcheroo_client_id client_id = VGA_SWITCHEROO_UNKNOWN_ID; in vga_switcheroo_debugfs_write()
/openbmc/linux/drivers/platform/x86/
H A Dapple-gmux.c72 enum vga_switcheroo_client_id switch_state_display;
73 enum vga_switcheroo_client_id switch_state_ddc;
74 enum vga_switcheroo_client_id switch_state_external;
471 static int gmux_switchto(enum vga_switcheroo_client_id id) in gmux_switchto()
483 static int gmux_switch_ddc(enum vga_switcheroo_client_id id) in gmux_switch_ddc()
485 enum vga_switcheroo_client_id old_ddc_owner = in gmux_switch_ddc()
535 static int gmux_set_power_state(enum vga_switcheroo_client_id id, in gmux_set_power_state()
544 static enum vga_switcheroo_client_id gmux_get_client_id(struct pci_dev *pdev) in gmux_get_client_id()
/openbmc/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_acpi.c171 static int nouveau_dsm_switchto(enum vga_switcheroo_client_id id) in nouveau_dsm_switchto()
181 static int nouveau_dsm_power_state(enum vga_switcheroo_client_id id, in nouveau_dsm_power_state()
195 static enum vga_switcheroo_client_id nouveau_dsm_get_client_id(struct pci_dev *pdev) in nouveau_dsm_get_client_id()
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dradeon_atpx_handler.c433 static int radeon_atpx_switchto(enum vga_switcheroo_client_id id) in radeon_atpx_switchto()
460 static int radeon_atpx_power_state(enum vga_switcheroo_client_id id, in radeon_atpx_power_state()
528 static enum vga_switcheroo_client_id radeon_atpx_get_client_id(struct pci_dev *pdev) in radeon_atpx_get_client_id()
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_atpx_handler.c468 static int amdgpu_atpx_switchto(enum vga_switcheroo_client_id id) in amdgpu_atpx_switchto()
495 static int amdgpu_atpx_power_state(enum vga_switcheroo_client_id id, in amdgpu_atpx_power_state()
564 static enum vga_switcheroo_client_id amdgpu_atpx_get_client_id(struct pci_dev *pdev) in amdgpu_atpx_get_client_id()
/openbmc/linux/Documentation/gpu/
H A Dvga-switcheroo.rst50 :functions: vga_switcheroo_client_id
/openbmc/linux/sound/pci/hda/
H A Dhda_intel.c1276 enum vga_switcheroo_client_id client_id) in azx_vs_gpu_bound()