xref: /linux/drivers/gpu/drm/panthor/panthor_pwr.h (revision a34b0e4e21d6be3c3d620aa7f9dfbf0e9550c19e)
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