repo.or.cz
/
mmotm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
"[PATCH] Fix leaks on /proc/{*/sched,sched_debug,timer_list,timer_stats}" and
[mmotm.git]
/
arch
/
mips
/
include
/
asm
/
mach-bcm63xx
/
bcm63xx_gpio.h
blob
76a0b7216af576ea868e3c3f245c7329a5b2a1b6
1
#ifndef BCM63XX_GPIO_H
2
#define BCM63XX_GPIO_H
3
4
#include <linux/init.h>
5
6
int
__init
bcm63xx_gpio_init
(
void
);
7
8
static
inline
unsigned long
bcm63xx_gpio_count
(
void
)
9
{
10
switch
(
bcm63xx_get_cpu_id
()) {
11
case
BCM6358_CPU_ID
:
12
return
40
;
13
case
BCM6348_CPU_ID
:
14
default
:
15
return
37
;
16
}
17
}
18
19
#define GPIO_DIR_OUT 0x0
20
#define GPIO_DIR_IN 0x1
21
22
#endif
/* !BCM63XX_GPIO_H */