xref: /linux/drivers/gpu/drm/panthor/panthor_pwr.h (revision 3f1c07fc21c68bd3bd2df9d2c9441f6485e934d9)
1 /* SPDX-License-Identifier: GPL-2.0 or MIT */
2 /* Copyright 2025 ARM Limited. All rights reserved. */
3 
4 #ifndef __PANTHOR_PWR_H__
5 #define __PANTHOR_PWR_H__
6 
7 struct panthor_device;
8 
9 void panthor_pwr_unplug(struct panthor_device *ptdev);
10 
11 int panthor_pwr_init(struct panthor_device *ptdev);
12 
13 int panthor_pwr_reset_soft(struct panthor_device *ptdev);
14 
15 void panthor_pwr_l2_power_off(struct panthor_device *ptdev);
16 
17 int panthor_pwr_l2_power_on(struct panthor_device *ptdev);
18 
19 void panthor_pwr_suspend(struct panthor_device *ptdev);
20 
21 void panthor_pwr_resume(struct panthor_device *ptdev);
22 
23 #endif /* __PANTHOR_PWR_H__ */
24