.. | .. |
---|
25 | 25 | int kbase_devfreq_init(struct kbase_device *kbdev); |
---|
26 | 26 | |
---|
27 | 27 | void kbase_devfreq_term(struct kbase_device *kbdev); |
---|
28 | | -int kbase_platform_rk_init_opp_table(struct kbase_device *kbdev); |
---|
| 28 | +int kbase_devfreq_opp_helper(struct dev_pm_set_opp_data *data); |
---|
29 | 29 | |
---|
30 | 30 | /** |
---|
31 | 31 | * kbase_devfreq_force_freq - Set GPU frequency on L2 power on/off. |
---|
.. | .. |
---|
49 | 49 | * core mask |
---|
50 | 50 | * @kbdev: Device pointer |
---|
51 | 51 | * @freq: Nominal frequency |
---|
52 | | - * @volt: Target voltage in microvolts corresponding to this frequency |
---|
53 | 52 | * @core_mask: Pointer to u64 to store core mask to |
---|
54 | 53 | * @freqs: Pointer to array of frequencies |
---|
55 | 54 | * @volts: Pointer to array of voltages |
---|
.. | .. |
---|
57 | 56 | * This function will only perform translation if an operating-points-v2-mali |
---|
58 | 57 | * table is present in devicetree. If one is not present then it will return an |
---|
59 | 58 | * untranslated frequency (and corresponding voltage) and all cores enabled. |
---|
| 59 | + * The voltages returned are in micro Volts (uV). |
---|
60 | 60 | */ |
---|
61 | 61 | void kbase_devfreq_opp_translate(struct kbase_device *kbdev, unsigned long freq, |
---|
62 | | - unsigned long volt, u64 *core_mask, unsigned long *freqs, unsigned long *volts); |
---|
| 62 | + u64 *core_mask, unsigned long *freqs, unsigned long *volts); |
---|
63 | 63 | #endif /* _BASE_DEVFREQ_H_ */ |
---|