Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
arch
m68k
include
asm
mcfqspi.h
Go to the documentation of this file.
1
/*
2
* Definitions for Freescale Coldfire QSPI module
3
*
4
* Copyright 2010 Steven King <
[email protected]
>
5
*
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License version 2
8
* as published by the Free Software Foundation.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License along
16
* with this program; if not, write to the Free Software Foundation, Inc.,
17
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18
*
19
*/
20
21
#ifndef mcfqspi_h
22
#define mcfqspi_h
23
36
struct
mcfqspi_cs_control
{
37
int
(*
setup
)(
struct
mcfqspi_cs_control
*);
38
void
(*
teardown
)(
struct
mcfqspi_cs_control
*);
39
void
(*
select
)(
struct
mcfqspi_cs_control
*,
u8
,
bool
);
40
void
(*
deselect
)(
struct
mcfqspi_cs_control
*,
u8
,
bool
);
41
};
42
49
struct
mcfqspi_platform_data
{
50
s16
bus_num
;
51
u16
num_chipselect
;
52
struct
mcfqspi_cs_control
*
cs_control
;
53
};
54
55
#endif
/* mcfqspi_h */
Generated on Thu Jan 10 2013 13:08:06 for Linux Kernel by
1.8.2