Home
last modified time | relevance | path

Searched refs:dhandle (Results 1 – 7 of 7) sorted by relevance

/drivers/gpu/drm/nouveau/
Dnouveau_acpi.c51 acpi_handle dhandle; member
177 return nouveau_dsm_switch_mux(nouveau_dsm_priv.dhandle, NOUVEAU_DSM_LED_STAMINA); in nouveau_dsm_switchto()
179 return nouveau_dsm_switch_mux(nouveau_dsm_priv.dhandle, NOUVEAU_DSM_LED_SPEED); in nouveau_dsm_switchto()
193 return nouveau_dsm_set_discrete_state(nouveau_dsm_priv.dhandle, state); in nouveau_dsm_power_state()
250 acpi_handle dhandle; in nouveau_dsm_pci_probe() local
254 dhandle = ACPI_HANDLE(&pdev->dev); in nouveau_dsm_pci_probe()
255 if (!dhandle) in nouveau_dsm_pci_probe()
258 if (!acpi_has_method(dhandle, "_DSM")) in nouveau_dsm_pci_probe()
261 supports_mux = acpi_check_dsm(dhandle, &nouveau_dsm_muid, 0x00000102, in nouveau_dsm_pci_probe()
263 optimus_funcs = nouveau_dsm_get_optimus_functions(dhandle); in nouveau_dsm_pci_probe()
[all …]
/drivers/gpu/drm/i915/
Dintel_acpi.c16 acpi_handle dhandle; member
80 pkg = acpi_evaluate_dsm_typed(intel_dsm_priv.dhandle, &intel_dsm_guid, in intel_dsm_platform_mux_info()
112 acpi_handle dhandle; in intel_dsm_pci_probe() local
114 dhandle = ACPI_HANDLE(&pdev->dev); in intel_dsm_pci_probe()
115 if (!dhandle) in intel_dsm_pci_probe()
118 if (!acpi_check_dsm(dhandle, &intel_dsm_guid, INTEL_DSM_REVISION_ID, in intel_dsm_pci_probe()
124 intel_dsm_priv.dhandle = dhandle; in intel_dsm_pci_probe()
144 acpi_get_name(intel_dsm_priv.dhandle, ACPI_FULL_PATHNAME, &buffer); in intel_dsm_detect()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atpx_handler.c50 acpi_handle dhandle; member
505 acpi_handle dhandle, atpx_handle; in amdgpu_atpx_pci_probe_handle() local
508 dhandle = ACPI_HANDLE(&pdev->dev); in amdgpu_atpx_pci_probe_handle()
509 if (!dhandle) in amdgpu_atpx_pci_probe_handle()
512 status = acpi_get_handle(dhandle, "ATPX", &atpx_handle); in amdgpu_atpx_pci_probe_handle()
514 amdgpu_atpx_priv.other_handle = dhandle; in amdgpu_atpx_pci_probe_handle()
517 amdgpu_atpx_priv.dhandle = dhandle; in amdgpu_atpx_pci_probe_handle()
555 if (amdgpu_atpx_priv.dhandle == ACPI_HANDLE(&pdev->dev)) in amdgpu_atpx_get_client_id()
Damdgpu_bios.c274 acpi_handle dhandle, atrm_handle; in amdgpu_atrm_get_bios() local
283 dhandle = ACPI_HANDLE(&pdev->dev); in amdgpu_atrm_get_bios()
284 if (!dhandle) in amdgpu_atrm_get_bios()
287 status = acpi_get_handle(dhandle, "ATRM", &atrm_handle); in amdgpu_atrm_get_bios()
296 dhandle = ACPI_HANDLE(&pdev->dev); in amdgpu_atrm_get_bios()
297 if (!dhandle) in amdgpu_atrm_get_bios()
300 status = acpi_get_handle(dhandle, "ATRM", &atrm_handle); in amdgpu_atrm_get_bios()
/drivers/gpu/drm/radeon/
Dradeon_atpx_handler.c39 acpi_handle dhandle; member
482 acpi_handle dhandle, atpx_handle; in radeon_atpx_pci_probe_handle() local
485 dhandle = ACPI_HANDLE(&pdev->dev); in radeon_atpx_pci_probe_handle()
486 if (!dhandle) in radeon_atpx_pci_probe_handle()
489 status = acpi_get_handle(dhandle, "ATPX", &atpx_handle); in radeon_atpx_pci_probe_handle()
493 radeon_atpx_priv.dhandle = dhandle; in radeon_atpx_pci_probe_handle()
531 if (radeon_atpx_priv.dhandle == ACPI_HANDLE(&pdev->dev)) in radeon_atpx_get_client_id()
Dradeon_bios.c182 acpi_handle dhandle, atrm_handle; in radeon_atrm_get_bios() local
191 dhandle = ACPI_HANDLE(&pdev->dev); in radeon_atrm_get_bios()
192 if (!dhandle) in radeon_atrm_get_bios()
195 status = acpi_get_handle(dhandle, "ATRM", &atrm_handle); in radeon_atrm_get_bios()
204 dhandle = ACPI_HANDLE(&pdev->dev); in radeon_atrm_get_bios()
205 if (!dhandle) in radeon_atrm_get_bios()
208 status = acpi_get_handle(dhandle, "ATRM", &atrm_handle); in radeon_atrm_get_bios()
/drivers/platform/x86/
Dapple-gmux.c59 acpi_handle dhandle; member
708 gmux_data->dhandle = ACPI_HANDLE(&pnp->dev); in gmux_probe()
709 if (!gmux_data->dhandle) { in gmux_probe()
716 status = acpi_evaluate_integer(gmux_data->dhandle, "GMGP", NULL, &gpe); in gmux_probe()
720 status = acpi_install_notify_handler(gmux_data->dhandle, in gmux_probe()
782 acpi_remove_notify_handler(gmux_data->dhandle, in gmux_probe()
802 acpi_remove_notify_handler(gmux_data->dhandle, in gmux_remove()