| /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 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 …]
|
| /linux/drivers/gpu/drm/i915/display/ |
| A D | intel_acpi.c | 136 acpi_handle dhandle; in intel_dsm_pci_probe() local 138 dhandle = ACPI_HANDLE(&pdev->dev); in intel_dsm_pci_probe() 139 if (!dhandle) in intel_dsm_pci_probe() 148 intel_dsm_platform_mux_info(dhandle); in intel_dsm_pci_probe() 150 return dhandle; in intel_dsm_pci_probe() 155 acpi_handle dhandle = NULL; in intel_dsm_detect() local 163 dhandle = intel_dsm_pci_probe(pdev) ?: dhandle; in intel_dsm_detect() 166 if (vga_count == 2 && dhandle) { in intel_dsm_detect() 189 acpi_handle dhandle; in intel_dsm_get_bios_data_funcs_supported() local 192 dhandle = ACPI_HANDLE(&pdev->dev); in intel_dsm_get_bios_data_funcs_supported() [all …]
|
| /linux/sound/soc/codecs/ |
| A D | es83xx-dsm-common.c | 19 acpi_handle dhandle; in es83xx_dsm() local 23 dhandle = ACPI_HANDLE(dev); in es83xx_dsm() 24 if (!dhandle) in es83xx_dsm() 27 obj = acpi_evaluate_dsm(dhandle, &es83xx_dsm_guid, ES83xx_DSM_REVID, in es83xx_dsm()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| A D | amdgpu_atpx_handler.c | 50 acpi_handle dhandle; member 100 return amdgpu_atpx_priv.dhandle; in amdgpu_atpx_get_dhandle() 516 acpi_handle dhandle, atpx_handle; in amdgpu_atpx_pci_probe_handle() local 519 dhandle = ACPI_HANDLE(&pdev->dev); in amdgpu_atpx_pci_probe_handle() 520 if (!dhandle) in amdgpu_atpx_pci_probe_handle() 523 status = acpi_get_handle(dhandle, "ATPX", &atpx_handle); in amdgpu_atpx_pci_probe_handle() 525 amdgpu_atpx_priv.other_handle = dhandle; in amdgpu_atpx_pci_probe_handle() 528 amdgpu_atpx_priv.dhandle = dhandle; in amdgpu_atpx_pci_probe_handle() 566 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 297 dhandle = ACPI_HANDLE(&pdev->dev); in amdgpu_atrm_get_bios() 298 if (!dhandle) in amdgpu_atrm_get_bios() 301 status = acpi_get_handle(dhandle, "ATRM", &atrm_handle); in amdgpu_atrm_get_bios()
|
| A D | amdgpu_acpi.c | 1310 acpi_handle dhandle, atif_handle; in amdgpu_atif_pci_probe_handle() local 1314 dhandle = ACPI_HANDLE(&pdev->dev); in amdgpu_atif_pci_probe_handle() 1315 if (!dhandle) in amdgpu_atif_pci_probe_handle() 1318 status = acpi_get_handle(dhandle, "ATIF", &atif_handle); in amdgpu_atif_pci_probe_handle() 1345 acpi_handle dhandle, atcs_handle; in amdgpu_atcs_pci_probe_handle() local 1349 dhandle = ACPI_HANDLE(&pdev->dev); in amdgpu_atcs_pci_probe_handle() 1350 if (!dhandle) in amdgpu_atcs_pci_probe_handle() 1353 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 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 D | radeon_bios.c | 194 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()
|
| /linux/drivers/platform/x86/ |
| A D | apple-gmux.c | 69 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()
|
| /linux/sound/pci/hda/ |
| A D | hda_intel.c | 1414 acpi_handle dhandle, atpx_handle; in atpx_present() local 1422 dhandle = ACPI_HANDLE(&pdev->dev); in atpx_present() 1423 if (dhandle) { in atpx_present() 1424 status = acpi_get_handle(dhandle, "ATPX", &atpx_handle); in atpx_present()
|