summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/panthor/panthor_pwr.h
blob: adf1f6136abcf91f2eb9826f52b7762913768de9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* SPDX-License-Identifier: GPL-2.0 or MIT */
/* Copyright 2025 ARM Limited. All rights reserved. */

#ifndef __PANTHOR_PWR_H__
#define __PANTHOR_PWR_H__

struct panthor_device;

void panthor_pwr_unplug(struct panthor_device *ptdev);

int panthor_pwr_init(struct panthor_device *ptdev);

int panthor_pwr_reset_soft(struct panthor_device *ptdev);

void panthor_pwr_l2_power_off(struct panthor_device *ptdev);

int panthor_pwr_l2_power_on(struct panthor_device *ptdev);

void panthor_pwr_suspend(struct panthor_device *ptdev);

void panthor_pwr_resume(struct panthor_device *ptdev);

#endif /* __PANTHOR_PWR_H__ */