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

#include <spi-fsl-lib.h>

Data Fields

struct devicedev
 
voidreg_base
 
const voidtx
 
voidrx
 
int subblock
 
struct spi_pram __iomempram
 
struct cpm_buf_desc __iomemtx_bd
 
struct cpm_buf_desc __iomemrx_bd
 
struct spi_transferxfer_in_progress
 
dma_addr_t tx_dma
 
dma_addr_t rx_dma
 
bool map_tx_dma
 
bool map_rx_dma
 
dma_addr_t dma_dummy_tx
 
dma_addr_t dma_dummy_rx
 
void(* get_rx )(u32 rx_data, struct mpc8xxx_spi *)
 
u32(* get_tx )(struct mpc8xxx_spi *)
 
void(* spi_do_one_msg )(struct spi_message *m)
 
void(* spi_remove )(struct mpc8xxx_spi *mspi)
 
unsigned int count
 
unsigned int irq
 
unsigned nsecs
 
u32 spibrg
 
u32 rx_shift
 
u32 tx_shift
 
unsigned int flags
 
struct workqueue_structworkqueue
 
struct work_struct work
 
struct list_head queue
 
spinlock_t lock
 
struct completion done
 

Detailed Description

Definition at line 24 of file spi-fsl-lib.h.

Field Documentation

unsigned int count

Definition at line 59 of file spi-fsl-lib.h.

struct device* dev

Definition at line 25 of file spi-fsl-lib.h.

dma_addr_t dma_dummy_rx

Definition at line 49 of file spi-fsl-lib.h.

dma_addr_t dma_dummy_tx

Definition at line 48 of file spi-fsl-lib.h.

Definition at line 76 of file spi-fsl-lib.h.

unsigned int flags

Definition at line 68 of file spi-fsl-lib.h.

Definition at line 52 of file spi-fsl-lib.h.

u32(* get_tx)(struct mpc8xxx_spi *)

Definition at line 53 of file spi-fsl-lib.h.

unsigned int irq

Definition at line 60 of file spi-fsl-lib.h.

spinlock_t lock

Definition at line 74 of file spi-fsl-lib.h.

bool map_rx_dma

Definition at line 46 of file spi-fsl-lib.h.

bool map_tx_dma

Definition at line 45 of file spi-fsl-lib.h.

unsigned nsecs

Definition at line 62 of file spi-fsl-lib.h.

Definition at line 36 of file spi-fsl-lib.h.

Definition at line 73 of file spi-fsl-lib.h.

void* reg_base

Definition at line 26 of file spi-fsl-lib.h.

void* rx

Definition at line 30 of file spi-fsl-lib.h.

Definition at line 38 of file spi-fsl-lib.h.

Definition at line 44 of file spi-fsl-lib.h.

u32 rx_shift

Definition at line 65 of file spi-fsl-lib.h.

void(* spi_do_one_msg)(struct spi_message *m)

Definition at line 56 of file spi-fsl-lib.h.

void(* spi_remove)(struct mpc8xxx_spi *mspi)

Definition at line 57 of file spi-fsl-lib.h.

u32 spibrg

Definition at line 64 of file spi-fsl-lib.h.

int subblock

Definition at line 35 of file spi-fsl-lib.h.

const void* tx

Definition at line 29 of file spi-fsl-lib.h.

Definition at line 37 of file spi-fsl-lib.h.

Definition at line 43 of file spi-fsl-lib.h.

u32 tx_shift

Definition at line 66 of file spi-fsl-lib.h.

Definition at line 71 of file spi-fsl-lib.h.

Definition at line 70 of file spi-fsl-lib.h.

struct spi_transfer* xfer_in_progress

Definition at line 40 of file spi-fsl-lib.h.


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