^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0-only */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) * Copyright 2000 Deep Blue Solutions Ltd
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) * Copyright 2004 ARM Limited
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) * Copyright 2008 Cavium Networks
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) #ifndef __CNS3XXX_PM_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) #define __CNS3XXX_PM_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) #include <linux/atomic.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) void cns3xxx_pwr_clk_en(unsigned int block);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) void cns3xxx_pwr_clk_dis(unsigned int block);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) void cns3xxx_pwr_power_up(unsigned int block);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) void cns3xxx_pwr_power_down(unsigned int block);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) extern atomic_t usb_pwr_ref;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) #endif /* __CNS3XXX_PM_H */