1 | /* SPDX-License-Identifier: GPL-2.0 OR MIT */ |
2 | /* Copyright 2018-2019 Qiang Yu <yuq825@gmail.com> */ |
3 | |
4 | #ifndef __LIMA_DLBU_H__ |
5 | #define __LIMA_DLBU_H__ |
6 | |
7 | struct lima_ip; |
8 | struct lima_device; |
9 | |
10 | void lima_dlbu_enable(struct lima_device *dev, int num_pp); |
11 | void lima_dlbu_disable(struct lima_device *dev); |
12 | |
13 | void lima_dlbu_set_reg(struct lima_ip *ip, u32 *reg); |
14 | |
15 | int lima_dlbu_resume(struct lima_ip *ip); |
16 | void lima_dlbu_suspend(struct lima_ip *ip); |
17 | int lima_dlbu_init(struct lima_ip *ip); |
18 | void lima_dlbu_fini(struct lima_ip *ip); |
19 | |
20 | #endif |
21 | |