Home | History | Annotate | Download | only in radeon

Lines Matching refs:atif

118 /* Call the ATIF method
121 * radeon_atif_call - call an ATIF method
124 * @function: the ATIF function to execute
125 * @params: ATIF function params
127 * Executes the requested ATIF function (all asics).
154 status = acpi_evaluate_object(handle, "ATIF", &atif_arg, &buffer);
156 /* Fail only if calling the method fails and ATIF is supported */
158 DRM_DEBUG_DRIVER("failed to evaluate ATIF got %s\n",
171 * @mask: supported notifications mask from ATIF
173 * Use the supported notifications mask from ATIF function
194 * @mask: supported functions mask from ATIF
196 * Use the supported functions mask from ATIF function
215 * radeon_atif_verify_interface - verify ATIF
218 * @atif: radeon atif struct
220 * Execute the ATIF_FUNCTION_VERIFY_INTERFACE ATIF function
221 * to initialize ATIF and determine what features are supported
226 struct radeon_atif *atif)
241 DRM_INFO("ATIF buffer is too small: %zu\n", size);
250 DRM_DEBUG_DRIVER("ATIF version %u\n", output.version);
252 radeon_atif_parse_notification(&atif->notifications, output.notification_mask);
253 radeon_atif_parse_functions(&atif->functions, output.function_bits);
264 * @n: atif notification configuration struct
266 * Execute the ATIF_FUNCTION_GET_SYSTEM_PARAMETERS ATIF function
329 * @req: atif sbios request struct
331 * Execute the ATIF_FUNCTION_GET_SYSTEM_BIOS_REQUESTS ATIF function
366 * radeon_atif_handler - handle ATIF notify requests
369 * @event: atif sbios request struct
371 * Checks the acpi event and if it matches an atif event,
378 struct radeon_atif *atif = &rdev->atif;
389 if (!atif->notification_cfg.enabled ||
390 event->type != atif->notification_cfg.command_code)
401 DRM_DEBUG_DRIVER("ATIF: %d pending SBIOS requests\n", count);
404 struct radeon_encoder *enc = atif->encoder_for_bl;
485 /* Fail only if calling the method fails and ATIF is supported */
754 struct radeon_atif *atif = &rdev->atif;
771 /* No need to proceed if we're sure that ATIF is not supported */
781 /* Call the ATIF method */
782 ret = radeon_atif_verify_interface(handle, atif);
784 DRM_DEBUG_DRIVER("Call to ATIF verify_interface failed: %d\n", ret);
788 if (atif->notifications.brightness_change) {
815 atif->encoder_for_bl = target;
818 if (atif->functions.sbios_requests && !atif->functions.system_params) {
823 atif->functions.system_params = true;
826 if (atif->functions.system_params) {
828 &atif->notification_cfg);
833 atif->notification_cfg.enabled = false;