Home
last modified time | relevance | path

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

/drivers/gpu/drm/nouveau/
A Dnouveau_acpi.c51 acpi_handle dhandle; member
218 acpi_handle dhandle; in nouveau_dsm_pci_probe() local
235 dhandle = ACPI_HANDLE(&pdev->dev); in nouveau_dsm_pci_probe()
236 if (!dhandle) in nouveau_dsm_pci_probe()
239 if (!acpi_has_method(dhandle, "_DSM")) in nouveau_dsm_pci_probe()
244 optimus_funcs = nouveau_dsm_get_optimus_functions(dhandle); in nouveau_dsm_pci_probe()
250 *dhandle_out = dhandle; in nouveau_dsm_pci_probe()
257 nouveau_optimus_dsm(dhandle, NOUVEAU_DSM_OPTIMUS_CAPS, 0, in nouveau_dsm_pci_probe()
271 acpi_handle dhandle = NULL; in nouveau_dsm_detect() local
300 nouveau_dsm_priv.dhandle = dhandle; in nouveau_dsm_detect()
[all …]
/drivers/gpu/drm/i915/display/
A Dintel_acpi.c139 acpi_handle dhandle; in intel_dsm_pci_probe() local
141 dhandle = ACPI_HANDLE(&pdev->dev); in intel_dsm_pci_probe()
142 if (!dhandle) in intel_dsm_pci_probe()
151 intel_dsm_platform_mux_info(dhandle); in intel_dsm_pci_probe()
153 return dhandle; in intel_dsm_pci_probe()
158 acpi_handle dhandle = NULL; in intel_dsm_detect() local
166 dhandle = intel_dsm_pci_probe(pdev) ?: dhandle; in intel_dsm_detect()
169 if (vga_count == 2 && dhandle) { in intel_dsm_detect()
192 acpi_handle dhandle; in intel_dsm_get_bios_data_funcs_supported() local
195 dhandle = ACPI_HANDLE(&pdev->dev); in intel_dsm_get_bios_data_funcs_supported()
[all …]
/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_atpx_handler.c50 acpi_handle dhandle; member
504 acpi_handle dhandle, atpx_handle; in amdgpu_atpx_pci_probe_handle() local
507 dhandle = ACPI_HANDLE(&pdev->dev); in amdgpu_atpx_pci_probe_handle()
508 if (!dhandle) in amdgpu_atpx_pci_probe_handle()
511 status = acpi_get_handle(dhandle, "ATPX", &atpx_handle); in amdgpu_atpx_pci_probe_handle()
513 amdgpu_atpx_priv.other_handle = dhandle; in amdgpu_atpx_pci_probe_handle()
516 amdgpu_atpx_priv.dhandle = dhandle; in amdgpu_atpx_pci_probe_handle()
554 if (amdgpu_atpx_priv.dhandle == ACPI_HANDLE(&pdev->dev)) in amdgpu_atpx_get_client_id()
A Damdgpu_bios.c294 acpi_handle dhandle, atrm_handle; in amdgpu_atrm_get_bios() local
307 dhandle = ACPI_HANDLE(&pdev->dev); in amdgpu_atrm_get_bios()
308 if (!dhandle) in amdgpu_atrm_get_bios()
311 status = acpi_get_handle(dhandle, "ATRM", &atrm_handle); in amdgpu_atrm_get_bios()
A Damdgpu_acpi.c1311 acpi_handle dhandle, atif_handle; in amdgpu_atif_pci_probe_handle() local
1315 dhandle = ACPI_HANDLE(&pdev->dev); in amdgpu_atif_pci_probe_handle()
1316 if (!dhandle) in amdgpu_atif_pci_probe_handle()
1319 status = acpi_get_handle(dhandle, "ATIF", &atif_handle); in amdgpu_atif_pci_probe_handle()
1346 acpi_handle dhandle, atcs_handle; in amdgpu_atcs_pci_probe_handle() local
1350 dhandle = ACPI_HANDLE(&pdev->dev); in amdgpu_atcs_pci_probe_handle()
1351 if (!dhandle) in amdgpu_atcs_pci_probe_handle()
1354 status = acpi_get_handle(dhandle, "ATCS", &atcs_handle); in amdgpu_atcs_pci_probe_handle()
/drivers/gpu/drm/radeon/
A Dradeon_atpx_handler.c38 acpi_handle dhandle; member
485 acpi_handle dhandle, atpx_handle; in radeon_atpx_pci_probe_handle() local
488 dhandle = ACPI_HANDLE(&pdev->dev); in radeon_atpx_pci_probe_handle()
489 if (!dhandle) in radeon_atpx_pci_probe_handle()
492 status = acpi_get_handle(dhandle, "ATPX", &atpx_handle); in radeon_atpx_pci_probe_handle()
496 radeon_atpx_priv.dhandle = dhandle; in radeon_atpx_pci_probe_handle()
534 if (radeon_atpx_priv.dhandle == ACPI_HANDLE(&pdev->dev)) in radeon_atpx_get_client_id()
A Dradeon_bios.c194 acpi_handle dhandle, atrm_handle; in radeon_atrm_get_bios() local
207 dhandle = ACPI_HANDLE(&pdev->dev); in radeon_atrm_get_bios()
208 if (!dhandle) in radeon_atrm_get_bios()
211 status = acpi_get_handle(dhandle, "ATRM", &atrm_handle); in radeon_atrm_get_bios()
/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
A Dshadowacpi.c109 acpi_handle dhandle, rom_handle; in acpi_init() local
111 dhandle = ACPI_HANDLE(bios->subdev.device->dev); in acpi_init()
112 if (!dhandle) in acpi_init()
115 status = acpi_get_handle(dhandle, "_ROM", &rom_handle); in acpi_init()
/drivers/platform/x86/
A Dapple-gmux.c69 acpi_handle dhandle; member
660 acpi_execute_simple_method(gmux_data->dhandle, "GMSP", 0); in gmux_clear_interrupts()
901 gmux_data->dhandle = ACPI_HANDLE(&pnp->dev); in gmux_probe()
902 if (!gmux_data->dhandle) { in gmux_probe()
909 status = acpi_evaluate_integer(gmux_data->dhandle, "GMGP", NULL, &gpe); in gmux_probe()
913 status = acpi_install_notify_handler(gmux_data->dhandle, in gmux_probe()
972 acpi_remove_notify_handler(gmux_data->dhandle, in gmux_probe()
999 acpi_remove_notify_handler(gmux_data->dhandle, in gmux_remove()

Completed in 25 milliseconds