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

Data Fields

void __iomemio_remap_addr
 
unsigned long io_base_addr
 
struct spi_mastermaster
 
struct work_struct work
 
struct workqueue_structwk
 
wait_queue_head_t wait
 
u8 transfer_complete
 
u8 bcurrent_msg_processing
 
spinlock_t lock
 
struct list_head queue
 
u8 status
 
u32 bpw_len
 
u8 transfer_active
 
u32 tx_index
 
u32 rx_index
 
u16pkt_tx_buff
 
u16pkt_rx_buff
 
u8 n_curnt_chip
 
struct spi_devicecurrent_chip
 
struct spi_messagecurrent_msg
 
struct spi_transfercur_trans
 
struct pch_spi_board_databoard_dat
 
struct platform_deviceplat_dev
 
int ch
 
struct pch_spi_dma_ctrl dma
 
int use_dma
 
u8 irq_reg_sts
 
int save_total_len
 

Detailed Description

struct pch_spi_data - Holds the SPI channel specific details : The remapped PCI base address : Pointer to the SPI master structure : Reference to work queue handler : Workqueue for carrying out execution of the requests : Wait queue for waking up upon receiving an interrupt. : Status of SPI Transfer : Status flag for message processing : Lock for protecting this structure : SPI Message queue : Status of the SPI driver : Length of data to be transferred in bits per word : Flag showing active transfer : Transmit data count; for bookkeeping during transfer : Receive data count; for bookkeeping during transfer : Buffer for data to be transmitted : Buffer for Received data : The chip number that this SPI driver currently operates on : Reference to the current chip that this SPI driver currently operates on : The current message that this SPI driver is handling : The current transfer that this SPI driver is handling : Reference to the SPI device data structure : platform_device structure : SPI channel number : Status of IRQ registration

Definition at line 171 of file spi-topcliff-pch.c.

Field Documentation

u8 bcurrent_msg_processing

Definition at line 179 of file spi-topcliff-pch.c.

Definition at line 193 of file spi-topcliff-pch.c.

u32 bpw_len

Definition at line 183 of file spi-topcliff-pch.c.

int ch

Definition at line 195 of file spi-topcliff-pch.c.

struct spi_transfer* cur_trans

Definition at line 192 of file spi-topcliff-pch.c.

struct spi_device* current_chip

Definition at line 190 of file spi-topcliff-pch.c.

struct spi_message* current_msg

Definition at line 191 of file spi-topcliff-pch.c.

Definition at line 196 of file spi-topcliff-pch.c.

unsigned long io_base_addr

Definition at line 173 of file spi-topcliff-pch.c.

void __iomem* io_remap_addr

Definition at line 172 of file spi-topcliff-pch.c.

u8 irq_reg_sts

Definition at line 198 of file spi-topcliff-pch.c.

spinlock_t lock

Definition at line 180 of file spi-topcliff-pch.c.

struct spi_master* master

Definition at line 174 of file spi-topcliff-pch.c.

u8 n_curnt_chip

Definition at line 189 of file spi-topcliff-pch.c.

u16* pkt_rx_buff

Definition at line 188 of file spi-topcliff-pch.c.

u16* pkt_tx_buff

Definition at line 187 of file spi-topcliff-pch.c.

Definition at line 194 of file spi-topcliff-pch.c.

Definition at line 181 of file spi-topcliff-pch.c.

u32 rx_index

Definition at line 186 of file spi-topcliff-pch.c.

int save_total_len

Definition at line 199 of file spi-topcliff-pch.c.

Definition at line 182 of file spi-topcliff-pch.c.

u8 transfer_active

Definition at line 184 of file spi-topcliff-pch.c.

u8 transfer_complete

Definition at line 178 of file spi-topcliff-pch.c.

u32 tx_index

Definition at line 185 of file spi-topcliff-pch.c.

int use_dma

Definition at line 197 of file spi-topcliff-pch.c.

Definition at line 177 of file spi-topcliff-pch.c.

Definition at line 176 of file spi-topcliff-pch.c.

Definition at line 175 of file spi-topcliff-pch.c.


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