Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/i915/display/
Dintel_acpi.c73 static void intel_dsm_platform_mux_info(acpi_handle dhandle) in intel_dsm_platform_mux_info() argument
78 pkg = acpi_evaluate_dsm_typed(dhandle, &intel_dsm_guid, in intel_dsm_platform_mux_info()
110 acpi_handle dhandle; in intel_dsm_pci_probe() local
112 dhandle = ACPI_HANDLE(&pdev->dev); in intel_dsm_pci_probe()
113 if (!dhandle) in intel_dsm_pci_probe()
116 if (!acpi_check_dsm(dhandle, &intel_dsm_guid, INTEL_DSM_REVISION_ID, in intel_dsm_pci_probe()
122 intel_dsm_platform_mux_info(dhandle); in intel_dsm_pci_probe()
124 return dhandle; in intel_dsm_pci_probe()
129 acpi_handle dhandle = NULL; in intel_dsm_detect() local
137 dhandle = intel_dsm_pci_probe(pdev) ?: dhandle; in intel_dsm_detect()
[all …]
/Linux-v5.4/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-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atpx_handler.c49 acpi_handle dhandle; member
94 return amdgpu_atpx_priv.dhandle; in amdgpu_atpx_get_dhandle()
510 acpi_handle dhandle, atpx_handle; in amdgpu_atpx_pci_probe_handle() local
513 dhandle = ACPI_HANDLE(&pdev->dev); in amdgpu_atpx_pci_probe_handle()
514 if (!dhandle) in amdgpu_atpx_pci_probe_handle()
517 status = acpi_get_handle(dhandle, "ATPX", &atpx_handle); in amdgpu_atpx_pci_probe_handle()
519 amdgpu_atpx_priv.other_handle = dhandle; in amdgpu_atpx_pci_probe_handle()
522 amdgpu_atpx_priv.dhandle = dhandle; in amdgpu_atpx_pci_probe_handle()
560 if (amdgpu_atpx_priv.dhandle == ACPI_HANDLE(&pdev->dev)) in amdgpu_atpx_get_client_id()
Damdgpu_bios.c275 acpi_handle dhandle, atrm_handle; in amdgpu_atrm_get_bios() local
284 dhandle = ACPI_HANDLE(&pdev->dev); in amdgpu_atrm_get_bios()
285 if (!dhandle) in amdgpu_atrm_get_bios()
288 status = acpi_get_handle(dhandle, "ATRM", &atrm_handle); in amdgpu_atrm_get_bios()
297 dhandle = ACPI_HANDLE(&pdev->dev); in amdgpu_atrm_get_bios()
298 if (!dhandle) in amdgpu_atrm_get_bios()
301 status = acpi_get_handle(dhandle, "ATRM", &atrm_handle); in amdgpu_atrm_get_bios()
Damdgpu_acpi.c208 static acpi_handle amdgpu_atif_probe_handle(acpi_handle dhandle) in amdgpu_atif_probe_handle() argument
218 status = acpi_get_handle(dhandle, "ATIF", &handle); in amdgpu_atif_probe_handle()
/Linux-v5.4/drivers/gpu/drm/radeon/
Dradeon_atpx_handler.c38 acpi_handle dhandle; member
481 acpi_handle dhandle, atpx_handle; in radeon_atpx_pci_probe_handle() local
484 dhandle = ACPI_HANDLE(&pdev->dev); in radeon_atpx_pci_probe_handle()
485 if (!dhandle) in radeon_atpx_pci_probe_handle()
488 status = acpi_get_handle(dhandle, "ATPX", &atpx_handle); in radeon_atpx_pci_probe_handle()
492 radeon_atpx_priv.dhandle = dhandle; in radeon_atpx_pci_probe_handle()
530 if (radeon_atpx_priv.dhandle == ACPI_HANDLE(&pdev->dev)) in radeon_atpx_get_client_id()
Dradeon_bios.c186 acpi_handle dhandle, atrm_handle; in radeon_atrm_get_bios() local
195 dhandle = ACPI_HANDLE(&pdev->dev); in radeon_atrm_get_bios()
196 if (!dhandle) in radeon_atrm_get_bios()
199 status = acpi_get_handle(dhandle, "ATRM", &atrm_handle); in radeon_atrm_get_bios()
208 dhandle = ACPI_HANDLE(&pdev->dev); in radeon_atrm_get_bios()
209 if (!dhandle) in radeon_atrm_get_bios()
212 status = acpi_get_handle(dhandle, "ATRM", &atrm_handle); in radeon_atrm_get_bios()
/Linux-v5.4/drivers/platform/x86/
Dapple-gmux.c56 acpi_handle dhandle; member
705 gmux_data->dhandle = ACPI_HANDLE(&pnp->dev); in gmux_probe()
706 if (!gmux_data->dhandle) { in gmux_probe()
713 status = acpi_evaluate_integer(gmux_data->dhandle, "GMGP", NULL, &gpe); in gmux_probe()
717 status = acpi_install_notify_handler(gmux_data->dhandle, in gmux_probe()
779 acpi_remove_notify_handler(gmux_data->dhandle, in gmux_probe()
799 acpi_remove_notify_handler(gmux_data->dhandle, in gmux_remove()