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

Data Fields

unsigned int tx_ready_int_en
 
unsigned int dma_in_flight
 
struct msm_dmov_cmd xfer
 
dmov_boxcommand_ptr
 
u32command_ptr_ptr
 
dma_addr_t mapped_cmd_ptr
 
dma_addr_t mapped_cmd_ptr_ptr
 
int tx_count
 
dma_addr_t dma_base
 

Detailed Description

struct msm_hs_tx : ok to dma more tx? : tx dma in progress : top level DMA command pointer structure : third level command struct pointer : second level command list struct pointer : DMA view of third level command struct : DMA view of second level command list struct : number of bytes to transfer in DMA transfer : DMA view of UART xmit buffer

This structure describes a single Tx DMA transaction. MSM DMA commands have two levels of indirection. The top level command ptr points to a list of command ptr which in turn points to a single DMA 'command'. In our case each Tx transaction consists of a single second level pointer pointing to a 'box type' command.

Definition at line 249 of file msm_serial_hs.c.

Field Documentation

dmov_box* command_ptr

Definition at line 253 of file msm_serial_hs.c.

u32* command_ptr_ptr

Definition at line 254 of file msm_serial_hs.c.

dma_addr_t dma_base

Definition at line 258 of file msm_serial_hs.c.

unsigned int dma_in_flight

Definition at line 251 of file msm_serial_hs.c.

dma_addr_t mapped_cmd_ptr

Definition at line 255 of file msm_serial_hs.c.

dma_addr_t mapped_cmd_ptr_ptr

Definition at line 256 of file msm_serial_hs.c.

int tx_count

Definition at line 257 of file msm_serial_hs.c.

unsigned int tx_ready_int_en

Definition at line 250 of file msm_serial_hs.c.

Definition at line 252 of file msm_serial_hs.c.


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