Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
include
linux
platform_data
msm_serial_hs.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2008 Google, Inc.
3
* Author: Nick Pelly <
[email protected]
>
4
*
5
* This software is licensed under the terms of the GNU General Public
6
* License version 2, as published by the Free Software Foundation, and
7
* may be copied, distributed, and modified under those terms.
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*/
14
15
#ifndef __ASM_ARCH_MSM_SERIAL_HS_H
16
#define __ASM_ARCH_MSM_SERIAL_HS_H
17
18
#include <linux/serial_core.h>
19
20
/* API to request the uart clock off or on for low power management
21
* Clients should call request_clock_off() when no uart data is expected,
22
* and must call request_clock_on() before any further uart data can be
23
* received. */
24
extern
void
msm_hs_request_clock_off
(
struct
uart_port
*uport);
25
extern
void
msm_hs_request_clock_on
(
struct
uart_port
*uport);
26
42
struct
msm_serial_hs_platform_data
{
43
int
rx_wakeup_irq
;
44
unsigned
char
inject_rx_on_wakeup
;
45
char
rx_to_inject
;
46
void
(*
exit_lpm_cb
)(
struct
uart_port
*);
47
};
48
49
#endif
Generated on Thu Jan 10 2013 14:52:20 for Linux Kernel by
1.8.2