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

#include <pl022.h>

Data Fields

u16 bus_id
 
u8 num_chipselect
 
u8 enable_dma:1
 
bool(* dma_filter )(struct dma_chan *chan, void *filter_param)
 
voiddma_rx_param
 
voiddma_tx_param
 
int autosuspend_delay
 
bool rt
 
intchipselects
 

Detailed Description

struct pl022_ssp_master - device.platform_data for SPI controller devices. : identifier for this bus : chipselects are used to distinguish individual SPI slaves, and are numbered from zero to num_chipselects - 1. each slave has a chipselect signal, but it's common that not every chipselect is connected to a slave. : if true enables DMA driven transfers. : parameter to locate an RX DMA channel. : parameter to locate a TX DMA channel. : delay in ms following transfer completion before the runtime power management system suspends the device. A setting of 0 indicates no delay and the device will be suspended immediately. : indicates the controller should run the message pump with realtime priority to minimise the transfer latency on the bus. : list of <num_chipselects> chip select gpios

Definition at line 249 of file pl022.h.

Field Documentation

int autosuspend_delay

Definition at line 256 of file pl022.h.

u16 bus_id

Definition at line 250 of file pl022.h.

int* chipselects

Definition at line 258 of file pl022.h.

bool(* dma_filter)(struct dma_chan *chan, void *filter_param)

Definition at line 253 of file pl022.h.

void* dma_rx_param

Definition at line 254 of file pl022.h.

void* dma_tx_param

Definition at line 255 of file pl022.h.

u8 enable_dma

Definition at line 252 of file pl022.h.

u8 num_chipselect

Definition at line 251 of file pl022.h.

bool rt

Definition at line 257 of file pl022.h.


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