blob: c571b87f64869a6c96e51d3b3649082af92bed37 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright 2020 Google LLC.
*
* Author: Vinay Kalia <vinaykalia@google.com>
*/
#ifndef _BIGO_PM_H_
#define _BIGO_PM_H_
#include <linux/device.h>
#include <linux/pm.h>
#include <linux/pm_runtime.h>
#include "bigo_priv.h"
int bigo_pm_init(struct bigo_core *core);
#if IS_ENABLED(CONFIG_PM)
int bigo_runtime_suspend(struct device *dev);
int bigo_runtime_resume(struct device *dev);
#endif
void bigo_update_qos(struct bigo_core *core);
#endif //_BIGO_PM_H_
|