Mac Lin | 38e64ba | 2010-11-23 00:32:43 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2000 Deep Blue Solutions Ltd |
| 3 | * Copyright 2004 ARM Limited |
| 4 | * Copyright 2008 Cavium Networks |
| 5 | * |
| 6 | * This file is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License, Version 2, as |
| 8 | * published by the Free Software Foundation. |
| 9 | */ |
| 10 | |
| 11 | #ifndef __CNS3XXX_PM_H |
| 12 | #define __CNS3XXX_PM_H |
| 13 | |
Arun Sharma | 60063497 | 2011-07-26 16:09:06 -0700 | [diff] [blame] | 14 | #include <linux/atomic.h> |
Mac Lin | cf36797 | 2010-11-23 00:32:44 +0800 | [diff] [blame] | 15 | |
Mac Lin | 38e64ba | 2010-11-23 00:32:43 +0800 | [diff] [blame] | 16 | void cns3xxx_pwr_clk_en(unsigned int block); |
| 17 | void cns3xxx_pwr_clk_dis(unsigned int block); |
| 18 | void cns3xxx_pwr_power_up(unsigned int block); |
| 19 | void cns3xxx_pwr_power_down(unsigned int block); |
| 20 | |
Mac Lin | cf36797 | 2010-11-23 00:32:44 +0800 | [diff] [blame] | 21 | extern atomic_t usb_pwr_ref; |
| 22 | |
Mac Lin | 38e64ba | 2010-11-23 00:32:43 +0800 | [diff] [blame] | 23 | #endif /* __CNS3XXX_PM_H */ |