Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/i915/
Dintel_acpi.c71 static void intel_dsm_platform_mux_info(acpi_handle dhandle) in intel_dsm_platform_mux_info() argument
76 pkg = acpi_evaluate_dsm_typed(dhandle, &intel_dsm_guid, in intel_dsm_platform_mux_info()
108 acpi_handle dhandle; in intel_dsm_pci_probe() local
110 dhandle = ACPI_HANDLE(&pdev->dev); in intel_dsm_pci_probe()
111 if (!dhandle) in intel_dsm_pci_probe()
114 if (!acpi_check_dsm(dhandle, &intel_dsm_guid, INTEL_DSM_REVISION_ID, in intel_dsm_pci_probe()
120 intel_dsm_platform_mux_info(dhandle); in intel_dsm_pci_probe()
122 return dhandle; in intel_dsm_pci_probe()
127 acpi_handle dhandle = NULL; in intel_dsm_detect() local
135 dhandle = intel_dsm_pci_probe(pdev) ?: dhandle; in intel_dsm_detect()
[all …]
/Linux-v4.19/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 …]
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atpx_handler.c50 acpi_handle dhandle; member
95 return amdgpu_atpx_priv.dhandle; in amdgpu_atpx_get_dhandle()
511 acpi_handle dhandle, atpx_handle; in amdgpu_atpx_pci_probe_handle() local
514 dhandle = ACPI_HANDLE(&pdev->dev); in amdgpu_atpx_pci_probe_handle()
515 if (!dhandle) in amdgpu_atpx_pci_probe_handle()
518 status = acpi_get_handle(dhandle, "ATPX", &atpx_handle); in amdgpu_atpx_pci_probe_handle()
520 amdgpu_atpx_priv.other_handle = dhandle; in amdgpu_atpx_pci_probe_handle()
523 amdgpu_atpx_priv.dhandle = dhandle; in amdgpu_atpx_pci_probe_handle()
561 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()
Damdgpu_acpi.c219 static acpi_handle amdgpu_atif_probe_handle(acpi_handle dhandle) in amdgpu_atif_probe_handle() argument
229 status = acpi_get_handle(dhandle, "ATIF", &handle); in amdgpu_atif_probe_handle()
/Linux-v4.19/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()
/Linux-v4.19/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()