Home
last modified time | relevance | path

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

/linux-4.1.27/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.1.27/drivers/gpu/drm/i915/
Dintel_acpi.c16 acpi_handle dhandle; member
84 pkg = acpi_evaluate_dsm_typed(intel_dsm_priv.dhandle, intel_dsm_guid, in intel_dsm_platform_mux_info()
116 acpi_handle dhandle; in intel_dsm_pci_probe() local
118 dhandle = ACPI_HANDLE(&pdev->dev); in intel_dsm_pci_probe()
119 if (!dhandle) in intel_dsm_pci_probe()
122 if (!acpi_check_dsm(dhandle, intel_dsm_guid, INTEL_DSM_REVISION_ID, in intel_dsm_pci_probe()
128 intel_dsm_priv.dhandle = dhandle; in intel_dsm_pci_probe()
148 acpi_get_name(intel_dsm_priv.dhandle, ACPI_FULL_PATHNAME, &buffer); in intel_dsm_detect()
/linux-4.1.27/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.c183 acpi_handle dhandle, atrm_handle; in radeon_atrm_get_bios() local
192 dhandle = ACPI_HANDLE(&pdev->dev); in radeon_atrm_get_bios()
193 if (!dhandle) in radeon_atrm_get_bios()
196 status = acpi_get_handle(dhandle, "ATRM", &atrm_handle); in radeon_atrm_get_bios()
205 dhandle = ACPI_HANDLE(&pdev->dev); in radeon_atrm_get_bios()
206 if (!dhandle) in radeon_atrm_get_bios()
209 status = acpi_get_handle(dhandle, "ATRM", &atrm_handle); in radeon_atrm_get_bios()
/linux-4.1.27/drivers/platform/x86/
Dapple-gmux.c39 acpi_handle dhandle; member
559 gmux_data->dhandle = ACPI_HANDLE(&pnp->dev); in gmux_probe()
560 if (!gmux_data->dhandle) { in gmux_probe()
567 status = acpi_evaluate_integer(gmux_data->dhandle, "GMGP", NULL, &gpe); in gmux_probe()
571 status = acpi_install_notify_handler(gmux_data->dhandle, in gmux_probe()
608 acpi_remove_notify_handler(gmux_data->dhandle, in gmux_probe()
632 acpi_remove_notify_handler(gmux_data->dhandle, in gmux_remove()