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

#include <ti_wilink_st.h>

Data Fields

long nshutdown_gpio
 
unsigned char dev_name [UART_DEV_NAME_LEN]
 
unsigned char flow_cntrl
 
unsigned long baud_rate
 
int(* suspend )(struct platform_device *, pm_message_t)
 
int(* resume )(struct platform_device *)
 
int(* chip_enable )(struct kim_data_s *)
 
int(* chip_disable )(struct kim_data_s *)
 
int(* chip_asleep )(struct kim_data_s *)
 
int(* chip_awake )(struct kim_data_s *)
 

Detailed Description

struct ti_st_plat_data - platform data shared between ST driver and platform specific board file which adds the ST device. : Host's GPIO line to which chip's BT_EN is connected. : The UART/TTY name to which chip is interfaced. (eg: /dev/ttyS1) : Should always be 1, since UART's CTS/RTS is used for PM purposes. : The baud rate supported by the Host UART controller, this will be shared across with the chip via a HCI VS command from User-Space Init Mgr application. : : legacy PM routines hooked to platform specific board file, so as to take chip-host interface specific action. : : Platform/Interface specific mux mode setting, GPIO configuring, Host side PM disabling etc.. can be done here. : : Chip specific deep sleep states is communicated to Host specific board-xx.c to take actions such as cut UART clocks when chip asleep or run host faster when chip awake etc..

Definition at line 438 of file ti_wilink_st.h.

Field Documentation

unsigned long baud_rate

Definition at line 442 of file ti_wilink_st.h.

int(* chip_asleep)(struct kim_data_s *)

Definition at line 447 of file ti_wilink_st.h.

int(* chip_awake)(struct kim_data_s *)

Definition at line 448 of file ti_wilink_st.h.

int(* chip_disable)(struct kim_data_s *)

Definition at line 446 of file ti_wilink_st.h.

int(* chip_enable)(struct kim_data_s *)

Definition at line 445 of file ti_wilink_st.h.

unsigned char dev_name[UART_DEV_NAME_LEN]

Definition at line 440 of file ti_wilink_st.h.

unsigned char flow_cntrl

Definition at line 441 of file ti_wilink_st.h.

long nshutdown_gpio

Definition at line 439 of file ti_wilink_st.h.

int(* resume)(struct platform_device *)

Definition at line 444 of file ti_wilink_st.h.

Definition at line 443 of file ti_wilink_st.h.


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