Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
msm_serial_hs_platform_data Struct Reference

#include <msm_serial_hs.h>

Data Fields

int rx_wakeup_irq
 
unsigned char inject_rx_on_wakeup
 
char rx_to_inject
 
void(* exit_lpm_cb )(struct uart_port *)
 

Detailed Description

struct msm_serial_hs_platform_data : Rx activity irq : extra character to be inserted to Rx tty on wakeup : 1 = insert rx_to_inject. 0 = do not insert extra character : function called before every Tx transaction

This is an optional structure required for UART Rx GPIO IRQ based wakeup from low power state. UART wakeup can be triggered by RX activity (using a wakeup GPIO on the UART RX pin). This should only be used if there is not a wakeup GPIO on the UART CTS, and the first RX byte is known (eg., with the Bluetooth Texas Instruments HCILL protocol), since the first RX byte will always be lost. RTS will be asserted even while the UART is clocked off in this mode of operation.

Definition at line 42 of file msm_serial_hs.h.

Field Documentation

void(* exit_lpm_cb)(struct uart_port *)

Definition at line 46 of file msm_serial_hs.h.

unsigned char inject_rx_on_wakeup

Definition at line 44 of file msm_serial_hs.h.

char rx_to_inject

Definition at line 45 of file msm_serial_hs.h.

int rx_wakeup_irq

Definition at line 43 of file msm_serial_hs.h.


The documentation for this struct was generated from the following file: