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

#include <spi-dw.h>

Data Fields

struct spi_mastermaster
 
struct spi_devicecur_dev
 
struct deviceparent_dev
 
enum dw_ssi_type type
 
char name [16]
 
void __iomemregs
 
unsigned long paddr
 
u32 iolen
 
int irq
 
u32 fifo_len
 
u32 max_freq
 
u16 bus_num
 
u16 num_cs
 
struct workqueue_structworkqueue
 
struct work_struct pump_messages
 
spinlock_t lock
 
struct list_head queue
 
int busy
 
int run
 
struct tasklet_struct pump_transfers
 
struct spi_messagecur_msg
 
struct spi_transfercur_transfer
 
struct chip_data * cur_chip
 
struct chip_data * prev_chip
 
size_t len
 
voidtx
 
voidtx_end
 
voidrx
 
voidrx_end
 
int dma_mapped
 
dma_addr_t rx_dma
 
dma_addr_t tx_dma
 
size_t rx_map_len
 
size_t tx_map_len
 
u8 n_bytes
 
u8 max_bits_per_word
 
u32 dma_width
 
int cs_change
 
irqreturn_t(* transfer_handler )(struct dw_spi *dws)
 
void(* cs_control )(u32 command)
 
int dma_inited
 
struct dma_chantxchan
 
struct scatterlist tx_sgl
 
struct dma_chanrxchan
 
struct scatterlist rx_sgl
 
int dma_chan_done
 
struct devicedma_dev
 
dma_addr_t dma_addr
 
struct dw_spi_dma_opsdma_ops
 
voiddma_priv
 
struct pci_devdmac
 
voidpriv
 

Detailed Description

Definition at line 92 of file spi-dw.h.

Field Documentation

u16 bus_num

Definition at line 106 of file spi-dw.h.

int busy

Definition at line 114 of file spi-dw.h.

int cs_change

Definition at line 138 of file spi-dw.h.

void(* cs_control)(u32 command)

Definition at line 140 of file spi-dw.h.

struct chip_data* cur_chip

Definition at line 123 of file spi-dw.h.

struct spi_device* cur_dev

Definition at line 94 of file spi-dw.h.

struct spi_message* cur_msg

Definition at line 121 of file spi-dw.h.

struct spi_transfer* cur_transfer

Definition at line 122 of file spi-dw.h.

dma_addr_t dma_addr

Definition at line 150 of file spi-dw.h.

int dma_chan_done

Definition at line 148 of file spi-dw.h.

struct device* dma_dev

Definition at line 149 of file spi-dw.h.

int dma_inited

Definition at line 143 of file spi-dw.h.

int dma_mapped

Definition at line 130 of file spi-dw.h.

Definition at line 151 of file spi-dw.h.

void* dma_priv

Definition at line 152 of file spi-dw.h.

u32 dma_width

Definition at line 137 of file spi-dw.h.

struct pci_dev* dmac

Definition at line 153 of file spi-dw.h.

u32 fifo_len

Definition at line 103 of file spi-dw.h.

u32 iolen

Definition at line 101 of file spi-dw.h.

int irq

Definition at line 102 of file spi-dw.h.

size_t len

Definition at line 125 of file spi-dw.h.

spinlock_t lock

Definition at line 112 of file spi-dw.h.

struct spi_master* master

Definition at line 93 of file spi-dw.h.

u8 max_bits_per_word

Definition at line 136 of file spi-dw.h.

u32 max_freq

Definition at line 104 of file spi-dw.h.

u8 n_bytes

Definition at line 135 of file spi-dw.h.

char name[16]

Definition at line 97 of file spi-dw.h.

u16 num_cs

Definition at line 107 of file spi-dw.h.

unsigned long paddr

Definition at line 100 of file spi-dw.h.

struct device* parent_dev

Definition at line 95 of file spi-dw.h.

struct chip_data* prev_chip

Definition at line 124 of file spi-dw.h.

Definition at line 156 of file spi-dw.h.

struct work_struct pump_messages

Definition at line 111 of file spi-dw.h.

struct tasklet_struct pump_transfers

Definition at line 118 of file spi-dw.h.

Definition at line 113 of file spi-dw.h.

Definition at line 99 of file spi-dw.h.

int run

Definition at line 115 of file spi-dw.h.

void* rx

Definition at line 128 of file spi-dw.h.

Definition at line 131 of file spi-dw.h.

void* rx_end

Definition at line 129 of file spi-dw.h.

size_t rx_map_len

Definition at line 133 of file spi-dw.h.

Definition at line 147 of file spi-dw.h.

struct dma_chan* rxchan

Definition at line 146 of file spi-dw.h.

irqreturn_t(* transfer_handler)(struct dw_spi *dws)

Definition at line 139 of file spi-dw.h.

void* tx

Definition at line 126 of file spi-dw.h.

Definition at line 132 of file spi-dw.h.

void* tx_end

Definition at line 127 of file spi-dw.h.

size_t tx_map_len

Definition at line 134 of file spi-dw.h.

Definition at line 145 of file spi-dw.h.

struct dma_chan* txchan

Definition at line 144 of file spi-dw.h.

Definition at line 96 of file spi-dw.h.

Definition at line 110 of file spi-dw.h.


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