3 * (C) COPYRIGHT 2014-2015 ARM Limited. All rights reserved.
5 * This program is free software and is provided to you under the terms of the
6 * GNU General Public License version 2 as published by the Free Software
7 * Foundation, and any use by you of this program is subject to the terms
10 * A copy of the licence is included with the program, and can also be obtained
11 * from Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
12 * Boston, MA 02110-1301, USA.
20 * GPU will be clocked at.
22 * This must be specified
23 * as there is no default value.
25 * Attached value: number in kHz
28 #define GPU_FREQ_KHZ_MAX (5000)
31 * Minimum frequency GPU will be clocked at.
33 * This must be specified
34 * as there is no default value.
36 * Attached value: number in kHz
39 #define GPU_FREQ_KHZ_MIN (5000)
43 * - A pointer to a function that calculates the CPU clock
45 * CPU clock speed of the platform is in MHz
46 * - see kbase_cpu_clk_speed_func
47 * for the function prototype.
49 * Attached value: A kbase_cpu_clk_speed_func.
52 #define CPU_SPEED_FUNC (NULL)
56 * - A pointer to a function
57 * that calculates the GPU clock
59 * GPU clock speed of the platform in MHz
60 * - see kbase_gpu_clk_speed_func for the function prototype.
62 * Attached value: A kbase_gpu_clk_speed_func.
65 #define GPU_SPEED_FUNC (NULL)
68 * Power management configuration
71 * pointer to @ref kbase_pm_callback_conf
73 * See @ref kbase_pm_callback_conf
75 #define POWER_MANAGEMENT_CALLBACKS (&pm_callbacks)
76 extern struct kbase_pm_callback_conf pm_callbacks;
79 * Platform specific configuration functions
82 * pointer to @ref kbase_platform_funcs_conf
84 * See @ref kbase_platform_funcs_conf
86 #define PLATFORM_FUNCS (&platform_funcs)
87 extern struct kbase_platform_funcs_conf platform_funcs;
89 /** Power model for IPA
91 * Attached value: pointer to @ref mali_pa_model_ops
93 #define POWER_MODEL_CALLBACKS (NULL)
99 * Attached value: pointer to @ref kbase_secure_ops
101 #define SECURE_CALLBACKS (NULL)