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

#include <mcfqspi.h>

Data Fields

int(* setup )(struct mcfqspi_cs_control *)
 
void(* teardown )(struct mcfqspi_cs_control *)
 
void(* select )(struct mcfqspi_cs_control *, u8, bool)
 
void(* deselect )(struct mcfqspi_cs_control *, u8, bool)
 

Detailed Description

struct mcfqspi_cs_control - chip select control for the coldfire qspi driver : setup the control; allocate gpio's, etc. May be NULL. : finish with the control; free gpio's, etc. May be NULL. : output the signals to select the device. Can not be NULL. : output the signals to deselect the device. Can not be NULL.

The QSPI module has 4 hardware chip selects. We don't use them. Instead platforms are required to supply a mcfqspi_cs_control as a part of the platform data for each QSPI master controller. Only the select and deselect functions are required.

Definition at line 36 of file mcfqspi.h.

Field Documentation

void(* deselect)(struct mcfqspi_cs_control *, u8, bool)

Definition at line 40 of file mcfqspi.h.

Definition at line 39 of file mcfqspi.h.

Definition at line 37 of file mcfqspi.h.

void(* teardown)(struct mcfqspi_cs_control *)

Definition at line 38 of file mcfqspi.h.


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