| /linux/drivers/gpu/drm/nouveau/ |
| A D | nouveau_acpi.c | 51 acpi_handle dhandle; member 218 acpi_handle dhandle; in nouveau_dsm_pci_probe() local 232 dhandle = ACPI_HANDLE(&pdev->dev); in nouveau_dsm_pci_probe() 233 if (!dhandle) in nouveau_dsm_pci_probe() 236 if (!acpi_has_method(dhandle, "_DSM")) in nouveau_dsm_pci_probe() 241 optimus_funcs = nouveau_dsm_get_optimus_functions(dhandle); in nouveau_dsm_pci_probe() 247 *dhandle_out = dhandle; in nouveau_dsm_pci_probe() 254 nouveau_optimus_dsm(dhandle, NOUVEAU_DSM_OPTIMUS_CAPS, 0, in nouveau_dsm_pci_probe() 268 acpi_handle dhandle = NULL; in nouveau_dsm_detect() local 300 nouveau_dsm_priv.dhandle = dhandle; in nouveau_dsm_detect() [all …]
|
| /linux/drivers/gpu/drm/i915/display/ |
| A D | intel_acpi.c | 135 acpi_handle dhandle; in intel_dsm_pci_probe() local 137 dhandle = ACPI_HANDLE(&pdev->dev); in intel_dsm_pci_probe() 138 if (!dhandle) in intel_dsm_pci_probe() 147 intel_dsm_platform_mux_info(dhandle); in intel_dsm_pci_probe() 149 return dhandle; in intel_dsm_pci_probe() 154 acpi_handle dhandle = NULL; in intel_dsm_detect() local 162 dhandle = intel_dsm_pci_probe(pdev) ?: dhandle; in intel_dsm_detect() 165 if (vga_count == 2 && dhandle) { in intel_dsm_detect() 188 acpi_handle dhandle; in intel_dsm_get_bios_data_funcs_supported() local 191 dhandle = ACPI_HANDLE(&pdev->dev); in intel_dsm_get_bios_data_funcs_supported() [all …]
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| A D | amdgpu_atpx_handler.c | 49 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()
|
| A D | amdgpu_bios.c | 284 acpi_handle dhandle, atrm_handle; in amdgpu_atrm_get_bios() local 293 dhandle = ACPI_HANDLE(&pdev->dev); in amdgpu_atrm_get_bios() 294 if (!dhandle) in amdgpu_atrm_get_bios() 297 status = acpi_get_handle(dhandle, "ATRM", &atrm_handle); in amdgpu_atrm_get_bios() 306 dhandle = ACPI_HANDLE(&pdev->dev); in amdgpu_atrm_get_bios() 307 if (!dhandle) in amdgpu_atrm_get_bios() 310 status = acpi_get_handle(dhandle, "ATRM", &atrm_handle); in amdgpu_atrm_get_bios()
|
| A D | amdgpu_acpi.c | 919 acpi_handle dhandle, atif_handle; in amdgpu_atif_pci_probe_handle() local 923 dhandle = ACPI_HANDLE(&pdev->dev); in amdgpu_atif_pci_probe_handle() 924 if (!dhandle) in amdgpu_atif_pci_probe_handle() 927 status = acpi_get_handle(dhandle, "ATIF", &atif_handle); in amdgpu_atif_pci_probe_handle() 954 acpi_handle dhandle, atcs_handle; in amdgpu_atcs_pci_probe_handle() local 958 dhandle = ACPI_HANDLE(&pdev->dev); in amdgpu_atcs_pci_probe_handle() 959 if (!dhandle) in amdgpu_atcs_pci_probe_handle() 962 status = acpi_get_handle(dhandle, "ATCS", &atcs_handle); in amdgpu_atcs_pci_probe_handle()
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
| A D | shadowacpi.c | 109 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()
|
| /linux/drivers/gpu/drm/radeon/ |
| A D | radeon_atpx_handler.c | 38 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()
|
| A D | radeon_bios.c | 194 acpi_handle dhandle, atrm_handle; in radeon_atrm_get_bios() local 203 dhandle = ACPI_HANDLE(&pdev->dev); in radeon_atrm_get_bios() 204 if (!dhandle) in radeon_atrm_get_bios() 207 status = acpi_get_handle(dhandle, "ATRM", &atrm_handle); in radeon_atrm_get_bios() 216 dhandle = ACPI_HANDLE(&pdev->dev); in radeon_atrm_get_bios() 217 if (!dhandle) in radeon_atrm_get_bios() 220 status = acpi_get_handle(dhandle, "ATRM", &atrm_handle); in radeon_atrm_get_bios()
|
| /linux/drivers/platform/x86/ |
| A D | apple-gmux.c | 56 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()
|
| /linux/sound/pci/hda/ |
| A D | hda_intel.c | 1416 acpi_handle dhandle, atpx_handle; in atpx_present() local 1420 dhandle = ACPI_HANDLE(&pdev->dev); in atpx_present() 1421 if (dhandle) { in atpx_present() 1422 status = acpi_get_handle(dhandle, "ATPX", &atpx_handle); in atpx_present() 1430 dhandle = ACPI_HANDLE(&pdev->dev); in atpx_present() 1431 if (dhandle) { in atpx_present() 1432 status = acpi_get_handle(dhandle, "ATPX", &atpx_handle); in atpx_present()
|