|
My Project
|
#include <mali_kbase_config.h>
Public Attributes | |
| int(* | platform_init_func )(struct kbase_device *kbdev) |
| void(* | platform_term_func )(struct kbase_device *kbdev) |
kbase_platform_funcs_conf - Specifies platform init/term function pointers
Specifies the functions pointers for platform specific initialization and termination. By default no functions are required. No additional platform specific control is necessary.
| int(* kbase_platform_funcs_conf::platform_init_func) (struct kbase_device *kbdev) |
platform_init_func - platform specific init function pointer - kbase_device pointer
Returns 0 on success, negative error code otherwise.
Function pointer for platform specific initialization or NULL if no initialization function is required. At the point this the GPU is not active and its power and clocks are in unknown (platform specific state) as kbase doesn't yet have control of power and clocks.
The platform specific private pointer kbase_device::platform_context can be accessed (and possibly initialized) in here.
| void(* kbase_platform_funcs_conf::platform_term_func) (struct kbase_device *kbdev) |
platform_term_func - platform specific termination function pointer - kbase_device pointer
Function pointer for platform specific termination or NULL if no termination function is required. At the point this the GPU will be idle but still powered and clocked.
The platform specific private pointer kbase_device::platform_context can be accessed (and possibly terminated) in here.
1.8.13