2019-06-01 15:08:33 +07:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2010-11-22 23:32:43 +07:00
|
|
|
/*
|
|
|
|
* Copyright 2000 Deep Blue Solutions Ltd
|
|
|
|
* Copyright 2004 ARM Limited
|
|
|
|
* Copyright 2008 Cavium Networks
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __CNS3XXX_PM_H
|
|
|
|
#define __CNS3XXX_PM_H
|
|
|
|
|
2011-07-27 06:09:06 +07:00
|
|
|
#include <linux/atomic.h>
|
2010-11-22 23:32:44 +07:00
|
|
|
|
2010-11-22 23:32:43 +07:00
|
|
|
void cns3xxx_pwr_clk_en(unsigned int block);
|
|
|
|
void cns3xxx_pwr_clk_dis(unsigned int block);
|
|
|
|
void cns3xxx_pwr_power_up(unsigned int block);
|
|
|
|
void cns3xxx_pwr_power_down(unsigned int block);
|
|
|
|
|
2010-11-22 23:32:44 +07:00
|
|
|
extern atomic_t usb_pwr_ref;
|
|
|
|
|
2010-11-22 23:32:43 +07:00
|
|
|
#endif /* __CNS3XXX_PM_H */
|