staging: brcm80211: decreased indentation level of brcms_c_wme_setparams function
[zen-stable.git] / arch / arm / mach-at91 / sam9_smc.h
blobbf72cfb3455baf2ebb224eff017e4ecdab2fbea2
1 /*
2 * linux/arch/arm/mach-at91/sam9_smc.
4 * Copyright (C) 2008 Andrew Victor
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 as
8 * published by the Free Software Foundation.
9 */
11 struct sam9_smc_config {
12 /* Setup register */
13 u8 ncs_read_setup;
14 u8 nrd_setup;
15 u8 ncs_write_setup;
16 u8 nwe_setup;
18 /* Pulse register */
19 u8 ncs_read_pulse;
20 u8 nrd_pulse;
21 u8 ncs_write_pulse;
22 u8 nwe_pulse;
24 /* Cycle register */
25 u16 read_cycle;
26 u16 write_cycle;
28 /* Mode register */
29 u32 mode;
30 u8 tdf_cycles:4;
33 extern void __init sam9_smc_configure(int cs, struct sam9_smc_config* config);