xref: /openbmc/linux/drivers/gpu/drm/lima/lima_bcast.h (revision 586b4106)
1 /* SPDX-License-Identifier: GPL-2.0 OR MIT */
2 /* Copyright 2018-2019 Qiang Yu <yuq825@gmail.com> */
3 
4 #ifndef __LIMA_BCAST_H__
5 #define __LIMA_BCAST_H__
6 
7 struct lima_ip;
8 
9 int lima_bcast_resume(struct lima_ip *ip);
10 void lima_bcast_suspend(struct lima_ip *ip);
11 int lima_bcast_init(struct lima_ip *ip);
12 void lima_bcast_fini(struct lima_ip *ip);
13 
14 void lima_bcast_enable(struct lima_device *dev, int num_pp);
15 
16 int lima_bcast_mask_irq(struct lima_ip *ip);
17 int lima_bcast_reset(struct lima_ip *ip);
18 
19 #endif
20