~ubuntu-branches/ubuntu/precise/linux-lowlatency/precise

« back to all changes in this revision

Viewing changes to arch/arm/mach-w90x900/include/mach/nuc900_spi.h

  • Committer: Package Import Robot
  • Author(s): Alessio Igor Bogani
  • Date: 2011-10-26 11:13:05 UTC
  • Revision ID: package-import@ubuntu.com-20111026111305-tz023xykf0i6eosh
Tags: upstream-3.2.0
ImportĀ upstreamĀ versionĀ 3.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * arch/arm/mach-w90x900/include/mach/nuc900_spi.h
 
3
 *
 
4
 * Copyright (c) 2009 Nuvoton technology corporation.
 
5
 *
 
6
 * Wan ZongShun <mcuos.com@gmail.com>
 
7
 *
 
8
 * This program is free software; you can redistribute it and/or modify
 
9
 * it under the terms of the GNU General Public License as published by
 
10
 * the Free Software Foundation;version 2 of the License.
 
11
 *
 
12
 */
 
13
 
 
14
#ifndef __ASM_ARCH_SPI_H
 
15
#define __ASM_ARCH_SPI_H
 
16
 
 
17
extern void mfp_set_groupg(struct device *dev, const char *subname);
 
18
 
 
19
struct nuc900_spi_info {
 
20
        unsigned int num_cs;
 
21
        unsigned int lsb;
 
22
        unsigned int txneg;
 
23
        unsigned int rxneg;
 
24
        unsigned int divider;
 
25
        unsigned int sleep;
 
26
        unsigned int txnum;
 
27
        unsigned int txbitlen;
 
28
        int bus_num;
 
29
};
 
30
 
 
31
struct nuc900_spi_chip {
 
32
        unsigned char bits_per_word;
 
33
};
 
34
 
 
35
#endif /* __ASM_ARCH_SPI_H */