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

#include <spi_bitbang.h>

Data Fields

struct workqueue_structworkqueue
 
struct work_struct work
 
spinlock_t lock
 
struct list_head queue
 
u8 busy
 
u8 use_dma
 
u8 flags
 
struct spi_mastermaster
 
int(* setup_transfer )(struct spi_device *spi, struct spi_transfer *t)
 
void(* chipselect )(struct spi_device *spi, int is_on)
 
int(* txrx_bufs )(struct spi_device *spi, struct spi_transfer *t)
 
u32(* txrx_word [4])(struct spi_device *spi, unsigned nsecs, u32 word, u8 bits)
 

Detailed Description

Definition at line 6 of file spi_bitbang.h.

Field Documentation

u8 busy

Definition at line 12 of file spi_bitbang.h.

void(* chipselect)(struct spi_device *spi, int is_on)

Definition at line 24 of file spi_bitbang.h.

u8 flags

Definition at line 14 of file spi_bitbang.h.

spinlock_t lock

Definition at line 10 of file spi_bitbang.h.

struct spi_master* master

Definition at line 16 of file spi_bitbang.h.

Definition at line 11 of file spi_bitbang.h.

int(* setup_transfer)(struct spi_device *spi, struct spi_transfer *t)

Definition at line 21 of file spi_bitbang.h.

Definition at line 31 of file spi_bitbang.h.

u32(* txrx_word[4])(struct spi_device *spi, unsigned nsecs, u32 word, u8 bits)

Definition at line 34 of file spi_bitbang.h.

u8 use_dma

Definition at line 13 of file spi_bitbang.h.

Definition at line 8 of file spi_bitbang.h.

Definition at line 7 of file spi_bitbang.h.


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