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

#include <hsi.h>

Data Fields

struct device device
 
struct hsi_config tx_cfg
 
struct hsi_config rx_cfg
 
unsigned int num
 
unsigned int shared:1
 
int claimed
 
struct mutex lock
 
int(* async )(struct hsi_msg *msg)
 
int(* setup )(struct hsi_client *cl)
 
int(* flush )(struct hsi_client *cl)
 
int(* start_tx )(struct hsi_client *cl)
 
int(* stop_tx )(struct hsi_client *cl)
 
int(* release )(struct hsi_client *cl)
 
struct atomic_notifier_head n_head
 

Detailed Description

struct hsi_port - HSI port device : Driver model representation of the device : Current TX path configuration : Current RX path configuration : Port number : Set when port can be shared by different clients : Reference count of clients which claimed the port : Serialize port claim : Asynchronous transfer callback : Callback to set the HSI client configuration : Callback to clean the HW state and destroy all pending transfers : Callback to inform that a client wants to TX data : Callback to inform that a client no longer wishes to TX data : Callback to inform that a client no longer uses the port : Notifier chain for signaling port events to the clients.

Definition at line 223 of file hsi.h.

Field Documentation

Definition at line 231 of file hsi.h.

int claimed

Definition at line 229 of file hsi.h.

Definition at line 224 of file hsi.h.

int(* flush)(struct hsi_client *cl)

Definition at line 233 of file hsi.h.

struct mutex lock

Definition at line 230 of file hsi.h.

Definition at line 238 of file hsi.h.

unsigned int num

Definition at line 227 of file hsi.h.

int(* release)(struct hsi_client *cl)

Definition at line 236 of file hsi.h.

Definition at line 226 of file hsi.h.

Definition at line 232 of file hsi.h.

unsigned int shared

Definition at line 228 of file hsi.h.

int(* start_tx)(struct hsi_client *cl)

Definition at line 234 of file hsi.h.

int(* stop_tx)(struct hsi_client *cl)

Definition at line 235 of file hsi.h.

Definition at line 225 of file hsi.h.


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