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 * HW access backend common APIs
23 #ifndef _KBASE_HWACCESS_BACKEND_H_
24 #define _KBASE_HWACCESS_BACKEND_H_
27 * kbase_backend_early_init - Perform any backend-specific initialization.
28 * @kbdev: Device pointer
30 * Return: 0 on success, or an error code on failure.
32 int kbase_backend_early_init(struct kbase_device *kbdev);
35 * kbase_backend_late_init - Perform any backend-specific initialization.
36 * @kbdev: Device pointer
38 * Return: 0 on success, or an error code on failure.
40 int kbase_backend_late_init(struct kbase_device *kbdev);
43 * kbase_backend_early_term - Perform any backend-specific termination.
44 * @kbdev: Device pointer
46 void kbase_backend_early_term(struct kbase_device *kbdev);
49 * kbase_backend_late_term - Perform any backend-specific termination.
50 * @kbdev: Device pointer
52 void kbase_backend_late_term(struct kbase_device *kbdev);
54 #endif /* _KBASE_HWACCESS_BACKEND_H_ */