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

#include <ti_wilink_st.h>

Data Fields

long uim_pid
 
struct platform_devicekim_pdev
 
struct completion kim_rcvd ldisc_installed
 
char resp_buffer [30]
 
struct firmwarefw_entry
 
long nshutdown
 
unsigned long rx_state
 
unsigned long rx_count
 
struct sk_buffrx_skb
 
struct st_data_score_data
 
struct chip_version version
 
unsigned char ldisc_install
 
unsigned char dev_name [UART_DEV_NAME_LEN]
 
unsigned char flow_cntrl
 
unsigned long baud_rate
 

Detailed Description

struct kim_data_s - the KIM internal data, embedded as the platform's drv data. One for each ST device in the system. : KIM needs to communicate with UIM to request to install the ldisc by opening UART when protocol drivers register. : the platform device added in one of the board-XX.c file in arch/XX/ directory, 1 for each ST device. : completion handler to notify when data was received, mainly used during fw download, which involves multiple send/wait for each of the HCI-VS commands. : completion handler to notify that the UIM accepted the request to install ldisc, notify from tty_open which suggests the ldisc was properly installed. : data buffer for the .bts fw file name. : firmware class struct to request/release the fw. : the rx state for kim's receive func during fw download. : the rx count for the kim's receive func during fw download. : all of fw data might not come at once, and hence data storage for whole of the fw response, only HCI_EVENTs and hence diff from ST's response. : ST core's data, which mainly is the tty's disc_data

Version
: chip version available via a sysfs entry.

Definition at line 258 of file ti_wilink_st.h.

Field Documentation

unsigned long baud_rate

Definition at line 273 of file ti_wilink_st.h.

Definition at line 268 of file ti_wilink_st.h.

unsigned char dev_name[UART_DEV_NAME_LEN]

Definition at line 271 of file ti_wilink_st.h.

unsigned char flow_cntrl

Definition at line 272 of file ti_wilink_st.h.

struct firmware* fw_entry

Definition at line 263 of file ti_wilink_st.h.

Definition at line 260 of file ti_wilink_st.h.

unsigned char ldisc_install

Definition at line 270 of file ti_wilink_st.h.

struct completion kim_rcvd ldisc_installed

Definition at line 261 of file ti_wilink_st.h.

long nshutdown

Definition at line 264 of file ti_wilink_st.h.

char resp_buffer[30]

Definition at line 262 of file ti_wilink_st.h.

unsigned long rx_count

Definition at line 266 of file ti_wilink_st.h.

struct sk_buff* rx_skb

Definition at line 267 of file ti_wilink_st.h.

unsigned long rx_state

Definition at line 265 of file ti_wilink_st.h.

long uim_pid

Definition at line 259 of file ti_wilink_st.h.

Definition at line 269 of file ti_wilink_st.h.


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