Home
last modified time | relevance | path

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

/drivers/gpu/drm/nouveau/
Dnouveau_acpi.c34 acpi_handle dhandle; member
197 return nouveau_dsm_switch_mux(nouveau_dsm_priv.dhandle, NOUVEAU_DSM_LED_STAMINA); in nouveau_dsm_switchto()
199 return nouveau_dsm_switch_mux(nouveau_dsm_priv.dhandle, NOUVEAU_DSM_LED_SPEED); in nouveau_dsm_switchto()
213 return nouveau_dsm_set_discrete_state(nouveau_dsm_priv.dhandle, state); in nouveau_dsm_power_state()
237 acpi_handle dhandle, nvidia_handle; in nouveau_dsm_pci_probe() local
241 dhandle = DEVICE_ACPI_HANDLE(&pdev->dev); in nouveau_dsm_pci_probe()
242 if (!dhandle) in nouveau_dsm_pci_probe()
245 status = acpi_get_handle(dhandle, "_DSM", &nvidia_handle); in nouveau_dsm_pci_probe()
250 if (nouveau_test_dsm(dhandle, nouveau_dsm, NOUVEAU_DSM_POWER)) in nouveau_dsm_pci_probe()
253 if (nouveau_test_dsm(dhandle, nouveau_optimus_dsm, in nouveau_dsm_pci_probe()
[all …]
/drivers/gpu/drm/i915/
Dintel_acpi.c20 acpi_handle dhandle; member
157 ret = acpi_evaluate_object(intel_dsm_priv.dhandle, "_DSM", &input, in intel_dsm_platform_mux_info()
194 acpi_handle dhandle, intel_handle; in intel_dsm_pci_probe() local
198 dhandle = DEVICE_ACPI_HANDLE(&pdev->dev); in intel_dsm_pci_probe()
199 if (!dhandle) in intel_dsm_pci_probe()
202 status = acpi_get_handle(dhandle, "_DSM", &intel_handle); in intel_dsm_pci_probe()
208 ret = intel_dsm(dhandle, INTEL_DSM_FN_SUPPORTED_FUNCTIONS, 0); in intel_dsm_pci_probe()
214 intel_dsm_priv.dhandle = dhandle; in intel_dsm_pci_probe()
234 acpi_get_name(intel_dsm_priv.dhandle, ACPI_FULL_PATHNAME, &buffer); in intel_dsm_detect()
/drivers/gpu/drm/radeon/
Dradeon_atpx_handler.c36 acpi_handle dhandle; member
443 acpi_handle dhandle, atpx_handle; in radeon_atpx_pci_probe_handle() local
446 dhandle = DEVICE_ACPI_HANDLE(&pdev->dev); in radeon_atpx_pci_probe_handle()
447 if (!dhandle) in radeon_atpx_pci_probe_handle()
450 status = acpi_get_handle(dhandle, "ATPX", &atpx_handle); in radeon_atpx_pci_probe_handle()
454 radeon_atpx_priv.dhandle = dhandle; in radeon_atpx_pci_probe_handle()
492 if (radeon_atpx_priv.dhandle == DEVICE_ACPI_HANDLE(&pdev->dev)) in radeon_atpx_get_client_id()
Dradeon_bios.c179 acpi_handle dhandle, atrm_handle; in radeon_atrm_get_bios() local
188 dhandle = DEVICE_ACPI_HANDLE(&pdev->dev); in radeon_atrm_get_bios()
189 if (!dhandle) in radeon_atrm_get_bios()
192 status = acpi_get_handle(dhandle, "ATRM", &atrm_handle); in radeon_atrm_get_bios()
/drivers/platform/x86/
Dapple-gmux.c37 acpi_handle dhandle; member
518 gmux_data->dhandle = DEVICE_ACPI_HANDLE(&pnp->dev); in gmux_probe()
519 if (!gmux_data->dhandle) { in gmux_probe()
526 status = acpi_evaluate_integer(gmux_data->dhandle, "GMGP", NULL, &gpe); in gmux_probe()
530 status = acpi_install_notify_handler(gmux_data->dhandle, in gmux_probe()
567 acpi_remove_notify_handler(gmux_data->dhandle, in gmux_probe()
587 acpi_remove_notify_handler(gmux_data->dhandle, in gmux_remove()