Home
last modified time | relevance | path

Searched refs:dhandle (Results 1 - 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/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()
271 acpi_handle dhandle = NULL; nouveau_dsm_detect() local
[all...]
/kernel/linux/linux-6.6/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()
271 acpi_handle dhandle = NULL; nouveau_dsm_detect() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/
H A Dintel_acpi.c81 static void intel_dsm_platform_mux_info(acpi_handle dhandle) in intel_dsm_platform_mux_info() argument
86 pkg = acpi_evaluate_dsm_typed(dhandle, &intel_dsm_guid, in intel_dsm_platform_mux_info()
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()
142 if (!acpi_check_dsm(dhandle, &intel_dsm_guid, INTEL_DSM_REVISION_ID, 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 in intel_dsm_detect()
189 acpi_handle dhandle; intel_dsm_get_bios_data_funcs_supported() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
H A Dintel_acpi.c74 static void intel_dsm_platform_mux_info(acpi_handle dhandle) in intel_dsm_platform_mux_info() argument
79 pkg = acpi_evaluate_dsm_typed(dhandle, &intel_dsm_guid, in intel_dsm_platform_mux_info()
129 acpi_handle dhandle; in intel_dsm_pci_probe() local
131 dhandle = ACPI_HANDLE(&pdev->dev); in intel_dsm_pci_probe()
132 if (!dhandle) in intel_dsm_pci_probe()
135 if (!acpi_check_dsm(dhandle, &intel_dsm_guid, INTEL_DSM_REVISION_ID, in intel_dsm_pci_probe()
141 intel_dsm_platform_mux_info(dhandle); in intel_dsm_pci_probe()
143 return dhandle; in intel_dsm_pci_probe()
148 acpi_handle dhandle = NULL; in intel_dsm_detect() local
156 dhandle in intel_dsm_detect()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_atpx_handler.c49 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 in amdgpu_atpx_get_client_id()
[all...]
H A Damdgpu_bios.c281 acpi_handle dhandle, atrm_handle; in amdgpu_atrm_get_bios() local
294 dhandle = ACPI_HANDLE(&pdev->dev); in amdgpu_atrm_get_bios()
295 if (!dhandle) in amdgpu_atrm_get_bios()
298 status = acpi_get_handle(dhandle, "ATRM", &atrm_handle); in amdgpu_atrm_get_bios()
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()
H A Damdgpu_acpi.c210 static acpi_handle amdgpu_atif_probe_handle(acpi_handle dhandle) in amdgpu_atif_probe_handle() argument
220 status = acpi_get_handle(dhandle, "ATIF", &handle); in amdgpu_atif_probe_handle()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_atpx_handler.c50 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 in amdgpu_atpx_get_client_id()
[all...]
H A Damdgpu_bios.c283 acpi_handle dhandle, atrm_handle; in amdgpu_atrm_get_bios() local
296 dhandle = ACPI_HANDLE(&pdev->dev); in amdgpu_atrm_get_bios()
297 if (!dhandle) in amdgpu_atrm_get_bios()
300 status = acpi_get_handle(dhandle, "ATRM", &atrm_handle); in amdgpu_atrm_get_bios()
309 dhandle = ACPI_HANDLE(&pdev->dev); in amdgpu_atrm_get_bios()
310 if (!dhandle) in amdgpu_atrm_get_bios()
313 status = acpi_get_handle(dhandle, "ATRM", &atrm_handle); in amdgpu_atrm_get_bios()
H A Damdgpu_acpi.c1293 acpi_handle dhandle, atif_handle; in amdgpu_atif_pci_probe_handle() local
1297 dhandle = ACPI_HANDLE(&pdev->dev); in amdgpu_atif_pci_probe_handle()
1298 if (!dhandle) in amdgpu_atif_pci_probe_handle()
1301 status = acpi_get_handle(dhandle, "ATIF", &atif_handle); in amdgpu_atif_pci_probe_handle()
1328 acpi_handle dhandle, atcs_handle; in amdgpu_atcs_pci_probe_handle() local
1332 dhandle = ACPI_HANDLE(&pdev->dev); in amdgpu_atcs_pci_probe_handle()
1333 if (!dhandle) in amdgpu_atcs_pci_probe_handle()
1336 status = acpi_get_handle(dhandle, "ATCS", &atcs_handle); in amdgpu_atcs_pci_probe_handle()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
H A Dradeon_atpx_handler.c38 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()
H A Dradeon_bios.c194 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()
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/
H A Dradeon_atpx_handler.c38 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()
H A Dradeon_bios.c194 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()
/kernel/linux/linux-5.10/drivers/platform/x86/
H A Dapple-gmux.c56 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()
/kernel/linux/linux-6.6/drivers/platform/x86/
H 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()
/kernel/linux/linux-5.10/sound/pci/hda/
H A Dhda_intel.c1460 acpi_handle dhandle, atpx_handle; in atpx_present() local
1464 dhandle = ACPI_HANDLE(&pdev->dev); in atpx_present()
1465 if (dhandle) { in atpx_present()
1466 status = acpi_get_handle(dhandle, "ATPX", &atpx_handle); in atpx_present()
1474 dhandle = ACPI_HANDLE(&pdev->dev); in atpx_present()
1475 if (dhandle) { in atpx_present()
1476 status = acpi_get_handle(dhandle, "ATPX", &atpx_handle); in atpx_present()
/kernel/linux/linux-6.6/sound/pci/hda/
H A Dhda_intel.c1417 acpi_handle dhandle, atpx_handle; in atpx_present() local
1421 dhandle = ACPI_HANDLE(&pdev->dev); in atpx_present()
1422 if (dhandle) { in atpx_present()
1423 status = acpi_get_handle(dhandle, "ATPX", &atpx_handle); in atpx_present()
1431 dhandle = ACPI_HANDLE(&pdev->dev); in atpx_present()
1432 if (dhandle) { in atpx_present()
1433 status = acpi_get_handle(dhandle, "ATPX", &atpx_handle); in atpx_present()

Completed in 21 milliseconds