Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/gpu/drm/nouveau/
Dnouveau_acpi.c48 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()
217 acpi_handle dhandle; in nouveau_dsm_pci_probe() local
220 dhandle = ACPI_HANDLE(&pdev->dev); in nouveau_dsm_pci_probe()
221 if (!dhandle) in nouveau_dsm_pci_probe()
224 if (!acpi_has_method(dhandle, "_DSM")) in nouveau_dsm_pci_probe()
227 if (acpi_check_dsm(dhandle, nouveau_dsm_muid, 0x00000102, in nouveau_dsm_pci_probe()
231 if (nouveau_check_optimus_dsm(dhandle)) in nouveau_dsm_pci_probe()
[all …]
/linux-4.4.14/drivers/gpu/drm/i915/
Dintel_acpi.c15 acpi_handle dhandle; member
83 pkg = acpi_evaluate_dsm_typed(intel_dsm_priv.dhandle, intel_dsm_guid, in intel_dsm_platform_mux_info()
115 acpi_handle dhandle; in intel_dsm_pci_probe() local
117 dhandle = ACPI_HANDLE(&pdev->dev); in intel_dsm_pci_probe()
118 if (!dhandle) in intel_dsm_pci_probe()
121 if (!acpi_check_dsm(dhandle, intel_dsm_guid, INTEL_DSM_REVISION_ID, in intel_dsm_pci_probe()
127 intel_dsm_priv.dhandle = dhandle; in intel_dsm_pci_probe()
147 acpi_get_name(intel_dsm_priv.dhandle, ACPI_FULL_PATHNAME, &buffer); in intel_dsm_detect()
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atpx_handler.c35 acpi_handle dhandle; member
448 acpi_handle dhandle, atpx_handle; in amdgpu_atpx_pci_probe_handle() local
451 dhandle = ACPI_HANDLE(&pdev->dev); in amdgpu_atpx_pci_probe_handle()
452 if (!dhandle) in amdgpu_atpx_pci_probe_handle()
455 status = acpi_get_handle(dhandle, "ATPX", &atpx_handle); in amdgpu_atpx_pci_probe_handle()
457 amdgpu_atpx_priv.other_handle = dhandle; in amdgpu_atpx_pci_probe_handle()
460 amdgpu_atpx_priv.dhandle = dhandle; in amdgpu_atpx_pci_probe_handle()
498 if (amdgpu_atpx_priv.dhandle == ACPI_HANDLE(&pdev->dev)) in amdgpu_atpx_get_client_id()
Damdgpu_bios.c181 acpi_handle dhandle, atrm_handle; in amdgpu_atrm_get_bios() local
190 dhandle = ACPI_HANDLE(&pdev->dev); in amdgpu_atrm_get_bios()
191 if (!dhandle) in amdgpu_atrm_get_bios()
194 status = acpi_get_handle(dhandle, "ATRM", &atrm_handle); in amdgpu_atrm_get_bios()
203 dhandle = ACPI_HANDLE(&pdev->dev); in amdgpu_atrm_get_bios()
204 if (!dhandle) in amdgpu_atrm_get_bios()
207 status = acpi_get_handle(dhandle, "ATRM", &atrm_handle); in amdgpu_atrm_get_bios()
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_atpx_handler.c35 acpi_handle dhandle; member
447 acpi_handle dhandle, atpx_handle; in radeon_atpx_pci_probe_handle() local
450 dhandle = ACPI_HANDLE(&pdev->dev); in radeon_atpx_pci_probe_handle()
451 if (!dhandle) in radeon_atpx_pci_probe_handle()
454 status = acpi_get_handle(dhandle, "ATPX", &atpx_handle); in radeon_atpx_pci_probe_handle()
458 radeon_atpx_priv.dhandle = dhandle; in radeon_atpx_pci_probe_handle()
496 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-4.4.14/drivers/platform/x86/
Dapple-gmux.c39 acpi_handle dhandle; member
558 gmux_data->dhandle = ACPI_HANDLE(&pnp->dev); in gmux_probe()
559 if (!gmux_data->dhandle) { in gmux_probe()
566 status = acpi_evaluate_integer(gmux_data->dhandle, "GMGP", NULL, &gpe); in gmux_probe()
570 status = acpi_install_notify_handler(gmux_data->dhandle, in gmux_probe()
607 acpi_remove_notify_handler(gmux_data->dhandle, in gmux_probe()
631 acpi_remove_notify_handler(gmux_data->dhandle, in gmux_remove()