2 * Copyright (C) 2009 Google, Inc.
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.
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.
14 #ifndef __ASM_ARCH_BCM_BT_LPM_H
15 #define __ASM_ARCH_BCM_BT_LPM_H
17 #include <linux/serial_core.h>
19 /* Uart driver must call this every time it beings TX, to ensure
20 * this driver keeps WAKE asserted during TX. Called with uart
22 extern void bcm_bt_lpm_exit_lpm_locked(struct uart_port *uport);
24 /* Uart driver must call this when the rx is done.*/
25 extern void bcm_bt_rx_done_locked(struct uart_port *uport);