x86: local.h fix checkpatch warnings
[linux-2.6/openmoko-kernel/knife-kernel.git] / include / asm-cris / arch-v32 / pinmux.h
bloba66dc9970919850cd4ce9f18795c21da7c0e4b31
1 #ifndef _ASM_CRIS_ARCH_PINMUX_H
2 #define _ASM_CRIS_ARCH_PINMUX_H
4 #define PORT_B 0
5 #define PORT_C 1
6 #define PORT_D 2
7 #define PORT_E 3
9 enum pin_mode
11 pinmux_none = 0,
12 pinmux_fixed,
13 pinmux_gpio,
14 pinmux_iop
17 enum fixed_function
19 pinmux_ser1,
20 pinmux_ser2,
21 pinmux_ser3,
22 pinmux_sser0,
23 pinmux_sser1,
24 pinmux_ata0,
25 pinmux_ata1,
26 pinmux_ata2,
27 pinmux_ata3,
28 pinmux_ata,
29 pinmux_eth1,
30 pinmux_timer
33 int crisv32_pinmux_init(void);
34 int crisv32_pinmux_alloc(int port, int first_pin, int last_pin, enum pin_mode);
35 int crisv32_pinmux_alloc_fixed(enum fixed_function function);
36 int crisv32_pinmux_dealloc(int port, int first_pin, int last_pin);
37 void crisv32_pinmux_dump(void);
39 #endif