Merge remote-tracking branch 'kernel-2.6.32/develop' into develop-2.6.36
[firefly-linux-kernel-4.4.55.git] / arch / arm / mach-tegra / include / mach / bcm_bt_lpm.h
1 /*
2  * Copyright (C) 2009 Google, Inc.
3  *
4  * This software is licensed under the terms of the GNU General Public
5  * License version 2, as published by the Free Software Foundation, and
6  * may be copied, distributed, and modified under those terms.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11  * GNU General Public License for more details.
12  */
13
14 #ifndef __ASM_ARCH_BCM_BT_LPM_H
15 #define __ASM_ARCH_BCM_BT_LPM_H
16
17 #include <linux/serial_core.h>
18
19 /* Uart driver must call this every time it beings TX, to ensure
20  * this driver keeps WAKE asserted during TX. Called with uart
21  * spinlock held. */
22 extern void bcm_bt_lpm_exit_lpm_locked(struct uart_port *uport);
23
24 /* Uart driver must call this when the rx is done.*/
25 extern void bcm_bt_rx_done_locked(struct uart_port *uport);
26
27 #endif