Home
last modified time | relevance | path

Searched refs:gpu_clk_handle (Results 1 - 9 of 9) sorted by relevance

/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/platform/devicetree/
H A Dmali_kbase_clk_rate_trace.c46 void *gpu_clk_handle) in get_gpu_clk_rate()
66 return clk_get_rate((struct clk *)gpu_clk_handle); in get_gpu_clk_rate()
70 void *gpu_clk_handle, struct notifier_block *nb) in gpu_clk_notifier_register()
73 offsetof(struct kbase_gpu_clk_notifier_data, gpu_clk_handle), in gpu_clk_notifier_register()
77 sizeof(((struct kbase_gpu_clk_notifier_data *)0)->gpu_clk_handle), in gpu_clk_notifier_register()
86 return clk_notifier_register((struct clk *)gpu_clk_handle, nb); in gpu_clk_notifier_register()
90 void *gpu_clk_handle, struct notifier_block *nb) in gpu_clk_notifier_unregister()
97 clk_notifier_unregister((struct clk *)gpu_clk_handle, nb); in gpu_clk_notifier_unregister()
45 get_gpu_clk_rate(struct kbase_device *kbdev, void *gpu_clk_handle) get_gpu_clk_rate() argument
69 gpu_clk_notifier_register(struct kbase_device *kbdev, void *gpu_clk_handle, struct notifier_block *nb) gpu_clk_notifier_register() argument
89 gpu_clk_notifier_unregister(struct kbase_device *kbdev, void *gpu_clk_handle, struct notifier_block *nb) gpu_clk_notifier_unregister() argument
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/backend/gpu/
H A Dmali_kbase_clk_rate_trace_mgr.c50 if (WARN_ON_ONCE(clk_data->gpu_clk_handle != ndata->gpu_clk_handle)) { in gpu_clk_rate_change_notifier()
67 static int gpu_clk_data_init(struct kbase_device *kbdev, void *gpu_clk_handle, unsigned int index) in gpu_clk_data_init() argument
74 if (WARN_ON(!callbacks) || WARN_ON(!gpu_clk_handle) || WARN_ON(index >= BASE_MAX_NR_CLOCKS_REGULATORS)) { in gpu_clk_data_init()
85 clk_data->gpu_clk_handle = gpu_clk_handle; in gpu_clk_data_init()
87 clk_data->clock_val = callbacks->get_gpu_clk_rate(kbdev, gpu_clk_handle); in gpu_clk_data_init()
103 ret = callbacks->gpu_clk_notifier_register(kbdev, gpu_clk_handle, &clk_data->clk_rate_change_nb); in gpu_clk_data_init()
130 void *gpu_clk_handle = callbacks->enumerate_gpu_clk(kbdev, i); in kbase_clk_rate_trace_manager_init() local
132 if (!gpu_clk_handle) { in kbase_clk_rate_trace_manager_init()
[all...]
H A Dmali_kbase_clk_rate_trace_mgr.h38 * @gpu_clk_handle: Handle unique to the enumerated GPU clock.
48 void *gpu_clk_handle; member
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/backend/gpu/
H A Dmali_kbase_clk_rate_trace_mgr.c127 if (WARN_ON_ONCE(clk_data->gpu_clk_handle != ndata->gpu_clk_handle)) in gpu_clk_rate_change_notifier()
146 void *gpu_clk_handle, unsigned int index) in gpu_clk_data_init()
156 WARN_ON(!gpu_clk_handle) || in gpu_clk_data_init()
167 clk_data->gpu_clk_handle = gpu_clk_handle; in gpu_clk_data_init()
170 callbacks->get_gpu_clk_rate(kbdev, gpu_clk_handle); in gpu_clk_data_init()
190 gpu_clk_handle, &clk_data->clk_rate_change_nb); in gpu_clk_data_init()
220 void *gpu_clk_handle = in kbase_clk_rate_trace_manager_init() local
223 if (!gpu_clk_handle) in kbase_clk_rate_trace_manager_init()
145 gpu_clk_data_init(struct kbase_device *kbdev, void *gpu_clk_handle, unsigned int index) gpu_clk_data_init() argument
[all...]
H A Dmali_kbase_clk_rate_trace_mgr.h37 * @gpu_clk_handle: Handle unique to the enumerated GPU clock.
47 void *gpu_clk_handle; member
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
H A Dmali_kbase_config.h233 * @gpu_clk_handle: Handle of the GPU clock for which notifier was registered.
238 void *gpu_clk_handle; member
266 * @gpu_clk_handle - Handle unique to the enumerated GPU clock
270 unsigned long (*get_gpu_clk_rate)(struct kbase_device *kbdev, void *gpu_clk_handle);
275 * @gpu_clk_handle - Handle unique to the enumerated GPU clock
283 * to @gpu_clk_handle changes.
288 int (*gpu_clk_notifier_register)(struct kbase_device *kbdev, void *gpu_clk_handle, struct notifier_block *nb);
293 * @gpu_clk_handle - Handle unique to the enumerated GPU clock
299 * of clock corresponding to @gpu_clk_handle.
301 void (*gpu_clk_notifier_unregister)(struct kbase_device *kbdev, void *gpu_clk_handle, struc
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase_config.h350 * @gpu_clk_handle: Handle of the GPU clock for which notifier was registered.
355 void *gpu_clk_handle; member
385 * @gpu_clk_handle - Handle unique to the enumerated GPU clock
390 void *gpu_clk_handle);
395 * @gpu_clk_handle - Handle unique to the enumerated GPU clock
403 * to @gpu_clk_handle changes.
409 void *gpu_clk_handle, struct notifier_block *nb);
414 * @gpu_clk_handle - Handle unique to the enumerated GPU clock
420 * of clock corresponding to @gpu_clk_handle.
423 void *gpu_clk_handle, struc
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/platform/rk/
H A Dmali_kbase_config_rk.c581 void *gpu_clk_handle) in get_gpu_clk_rate()
583 return clk_get_rate((struct clk *)gpu_clk_handle); in get_gpu_clk_rate()
587 void *gpu_clk_handle, struct notifier_block *nb) in gpu_clk_notifier_register()
590 offsetof(struct kbase_gpu_clk_notifier_data, gpu_clk_handle), in gpu_clk_notifier_register()
594 sizeof(((struct kbase_gpu_clk_notifier_data *)0)->gpu_clk_handle), in gpu_clk_notifier_register()
597 return clk_notifier_register((struct clk *)gpu_clk_handle, nb); in gpu_clk_notifier_register()
601 void *gpu_clk_handle, struct notifier_block *nb) in gpu_clk_notifier_unregister()
603 clk_notifier_unregister((struct clk *)gpu_clk_handle, nb); in gpu_clk_notifier_unregister()
580 get_gpu_clk_rate(struct kbase_device *kbdev, void *gpu_clk_handle) get_gpu_clk_rate() argument
586 gpu_clk_notifier_register(struct kbase_device *kbdev, void *gpu_clk_handle, struct notifier_block *nb) gpu_clk_notifier_register() argument
600 gpu_clk_notifier_unregister(struct kbase_device *kbdev, void *gpu_clk_handle, struct notifier_block *nb) gpu_clk_notifier_unregister() argument
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/arbiter/
H A Dmali_kbase_arbiter_pm.c1058 ndata.gpu_clk_handle = arb_freq; in kbase_arbiter_pm_update_gpu_freq()
1093 void *gpu_clk_handle) in get_arb_gpu_clk_rate()
1097 (struct kbase_arbiter_freq *) gpu_clk_handle; in get_arb_gpu_clk_rate()
1109 * @gpu_clk_handle: Handle unique to the enumerated GPU clock
1115 * frequency of the clock corresponding to @gpu_clk_handle changes.
1118 void *gpu_clk_handle, struct notifier_block *nb) in arb_gpu_clk_notifier_register()
1122 (struct kbase_arbiter_freq *)gpu_clk_handle; in arb_gpu_clk_notifier_register()
1135 * @gpu_clk_handle: Handle unique to the enumerated GPU clock
1140 * clock corresponding to @gpu_clk_handle.
1143 void *gpu_clk_handle, struc in arb_gpu_clk_notifier_unregister()
1092 get_arb_gpu_clk_rate(struct kbase_device *kbdev, void *gpu_clk_handle) get_arb_gpu_clk_rate() argument
1117 arb_gpu_clk_notifier_register(struct kbase_device *kbdev, void *gpu_clk_handle, struct notifier_block *nb) arb_gpu_clk_notifier_register() argument
1142 arb_gpu_clk_notifier_unregister(struct kbase_device *kbdev, void *gpu_clk_handle, struct notifier_block *nb) arb_gpu_clk_notifier_unregister() argument
[all...]

Completed in 6 milliseconds