Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_acpi.c51 acpi_handle dhandle; member
176 return nouveau_dsm_switch_mux(nouveau_dsm_priv.dhandle, NOUVEAU_DSM_LED_STAMINA); in nouveau_dsm_switchto()
178 return nouveau_dsm_switch_mux(nouveau_dsm_priv.dhandle, NOUVEAU_DSM_LED_SPEED); in nouveau_dsm_switchto()
192 return nouveau_dsm_set_discrete_state(nouveau_dsm_priv.dhandle, state); in nouveau_dsm_power_state()
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()
242 supports_mux = acpi_check_dsm(dhandle, &nouveau_dsm_muid, 0x00000102, in nouveau_dsm_pci_probe()
244 optimus_funcs = nouveau_dsm_get_optimus_functions(dhandle); in nouveau_dsm_pci_probe()
[all …]
/linux/drivers/gpu/drm/i915/display/
H A Dintel_acpi.c84 static void intel_dsm_platform_mux_info(acpi_handle dhandle) in intel_dsm_platform_mux_info() argument
89 pkg = acpi_evaluate_dsm_typed(dhandle, &intel_dsm_guid, in intel_dsm_platform_mux_info()
140 acpi_handle dhandle; in intel_dsm_pci_probe() local
142 dhandle = ACPI_HANDLE(&pdev->dev); in intel_dsm_pci_probe()
143 if (!dhandle) in intel_dsm_pci_probe()
146 if (!acpi_check_dsm(dhandle, &intel_dsm_guid, INTEL_DSM_REVISION_ID, in intel_dsm_pci_probe()
152 intel_dsm_platform_mux_info(dhandle); in intel_dsm_pci_probe()
154 return dhandle; in intel_dsm_pci_probe()
159 acpi_handle dhandle = NULL; in intel_dsm_detect() local
167 dhandle = intel_dsm_pci_probe(pdev) ?: dhandle; in intel_dsm_detect()
[all …]
/linux/sound/soc/codecs/
H A Des83xx-dsm-common.c19 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/nouveau/nvkm/subdev/bios/
H 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()
/linux/drivers/gpu/drm/radeon/
H 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()
/linux/sound/hda/controllers/
H A Dintel.c1434 acpi_handle dhandle, atpx_handle; in atpx_present() local
1442 dhandle = ACPI_HANDLE(&pdev->dev); in atpx_present()
1443 if (dhandle) { in atpx_present()
1444 status = acpi_get_handle(dhandle, "ATPX", &atpx_handle); in atpx_present()