Home
last modified time | relevance | path

Searched refs:atif (Results 1 – 3 of 3) sorted by relevance

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_acpi.c89 struct amdgpu_atif atif; member
105 static union acpi_object *amdgpu_atif_call(struct amdgpu_atif *atif, in amdgpu_atif_call() argument
130 status = acpi_evaluate_object(atif->handle, NULL, &atif_arg, in amdgpu_atif_call()
195 static int amdgpu_atif_verify_interface(struct amdgpu_atif *atif) in amdgpu_atif_verify_interface() argument
202 info = amdgpu_atif_call(atif, ATIF_FUNCTION_VERIFY_INTERFACE, NULL); in amdgpu_atif_verify_interface()
221 amdgpu_atif_parse_notification(&atif->notifications, output.notification_mask); in amdgpu_atif_verify_interface()
222 amdgpu_atif_parse_functions(&atif->functions, output.function_bits); in amdgpu_atif_verify_interface()
240 static int amdgpu_atif_get_notification_params(struct amdgpu_atif *atif) in amdgpu_atif_get_notification_params() argument
243 struct amdgpu_atif_notification_cfg *n = &atif->notification_cfg; in amdgpu_atif_get_notification_params()
248 info = amdgpu_atif_call(atif, ATIF_FUNCTION_GET_SYSTEM_PARAMETERS, in amdgpu_atif_get_notification_params()
[all …]
/drivers/gpu/drm/radeon/
Dradeon_acpi.c210 struct radeon_atif *atif) in radeon_atif_verify_interface() argument
236 radeon_atif_parse_notification(&atif->notifications, output.notification_mask); in radeon_atif_verify_interface()
237 radeon_atif_parse_functions(&atif->functions, output.function_bits); in radeon_atif_verify_interface()
360 struct radeon_atif *atif = &rdev->atif; in radeon_atif_handler() local
371 if (!atif->notification_cfg.enabled || in radeon_atif_handler()
372 event->type != atif->notification_cfg.command_code) in radeon_atif_handler()
386 struct radeon_encoder *enc = atif->encoder_for_bl; in radeon_atif_handler()
710 struct radeon_atif *atif = &rdev->atif; in radeon_acpi_init() local
728 ret = radeon_atif_verify_interface(handle, atif); in radeon_acpi_init()
734 if (atif->notifications.brightness_change) { in radeon_acpi_init()
[all …]
Dradeon.h2467 struct radeon_atif atif; member