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

Data Fields

struct amba_deviceadev
 
struct vendor_datavendor
 
resource_size_t phybase
 
void __iomemvirtbase
 
struct clkclk
 
struct pinctrlpinctrl
 
struct pinctrl_statepins_default
 
struct pinctrl_statepins_sleep
 
struct spi_mastermaster
 
struct pl022_ssp_controllermaster_info
 
struct tasklet_struct pump_transfers
 
struct spi_messagecur_msg
 
struct spi_transfercur_transfer
 
struct chip_data * cur_chip
 
bool next_msg_cs_active
 
voidtx
 
voidtx_end
 
voidrx
 
voidrx_end
 
enum ssp_reading read
 
enum ssp_writing write
 
u32 exp_fifo_level
 
enum ssp_rx_level_trig rx_lev_trig
 
enum ssp_tx_level_trig tx_lev_trig
 
int cur_cs
 
intchipselects
 

Detailed Description

struct pl022 - This is the private SSP driver data structure : AMBA device model hookup : vendor data for the IP block : the physical memory where the SSP device resides : the virtual memory where the SSP is mapped : outgoing clock "SPICLK" for the SPI bus : SPI framework hookup : controller-specific data from machine setup : thread struct for message pump : pointer to task for message pump kworker thread : work struct for scheduling work to the message pump : spinlock to syncronise access to message queue : message queue : message pump is busy : message pump is running : Tasklet used in Interrupt Transfer mode : Pointer to current spi_message being processed : Pointer to current spi_transfer : pointer to current clients chip(assigned from controller_state) : the next message in the queue has been examined and it was found that it uses the same chip select as the previous message, so we left it active after the previous transfer, and it's active already. : current position in TX buffer to be read : end position in TX buffer to be read : current position in RX buffer to be written : end position in RX buffer to be written : the type of read currently going on : the type of write currently going on : expected FIFO level : optional channel for RX DMA : optional channel for TX DMA : scattertable for the RX transfer : scattertable for the TX transfer : a dummy page used for driving data on the bus with DMA : current chip select (gpio) : list of chipselects (gpios)

Definition at line 365 of file spi-pl022.c.

Field Documentation

Definition at line 366 of file spi-pl022.c.

int* chipselects

Definition at line 402 of file spi-pl022.c.

Definition at line 370 of file spi-pl022.c.

struct chip_data* cur_chip

Definition at line 381 of file spi-pl022.c.

int cur_cs

Definition at line 401 of file spi-pl022.c.

struct spi_message* cur_msg

Definition at line 379 of file spi-pl022.c.

struct spi_transfer* cur_transfer

Definition at line 380 of file spi-pl022.c.

u32 exp_fifo_level

Definition at line 389 of file spi-pl022.c.

struct spi_master* master

Definition at line 375 of file spi-pl022.c.

Definition at line 376 of file spi-pl022.c.

bool next_msg_cs_active

Definition at line 382 of file spi-pl022.c.

resource_size_t phybase

Definition at line 368 of file spi-pl022.c.

Definition at line 372 of file spi-pl022.c.

struct pinctrl_state* pins_default

Definition at line 373 of file spi-pl022.c.

struct pinctrl_state* pins_sleep

Definition at line 374 of file spi-pl022.c.

struct tasklet_struct pump_transfers

Definition at line 378 of file spi-pl022.c.

enum ssp_reading read

Definition at line 387 of file spi-pl022.c.

void* rx

Definition at line 385 of file spi-pl022.c.

void* rx_end

Definition at line 386 of file spi-pl022.c.

enum ssp_rx_level_trig rx_lev_trig

Definition at line 390 of file spi-pl022.c.

void* tx

Definition at line 383 of file spi-pl022.c.

void* tx_end

Definition at line 384 of file spi-pl022.c.

enum ssp_tx_level_trig tx_lev_trig

Definition at line 391 of file spi-pl022.c.

Definition at line 367 of file spi-pl022.c.

void __iomem* virtbase

Definition at line 369 of file spi-pl022.c.

enum ssp_writing write

Definition at line 388 of file spi-pl022.c.


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