7 extern __u32
sb_gpioin(void *sbh
);
8 extern __u32
sb_gpiointpolarity(void *sbh
, __u32 mask
, __u32 val
, __u8 prio
);
9 extern __u32
sb_gpiointmask(void *sbh
, __u32 mask
, __u32 val
, __u8 prio
);
10 extern __u32
sb_gpioouten(void *sbh
, __u32 mask
, __u32 val
, __u8 prio
);
11 extern __u32
sb_gpioout(void *sbh
, __u32 mask
, __u32 val
, __u8 prio
);
13 #define gpioin() sb_gpioin(sbh)
14 #define gpiointpolarity(mask,val) sb_gpiointpolarity(sbh, mask, val, 0)
15 #define gpiointmask(mask,val) sb_gpiointmask(sbh, mask, val, 0)
16 #define gpioouten(mask,val) sb_gpioouten(sbh, mask, val, 0)
17 #define gpioout(mask,val) sb_gpioout(sbh, mask, val, 0)
19 #elif defined(BCMGPIO)
21 #define sbh bcm947xx_sbh
22 extern void *bcm947xx_sbh
;
23 extern __u32
sb_gpioin(void *sbh
);
24 extern __u32
sb_gpiointpolarity(void *sbh
, __u32 mask
, __u32 val
);
25 extern __u32
sb_gpiointmask(void *sbh
, __u32 mask
, __u32 val
);
26 extern __u32
sb_gpioouten(void *sbh
, __u32 mask
, __u32 val
);
27 extern __u32
sb_gpioout(void *sbh
, __u32 mask
, __u32 val
);
29 #define gpioin() sb_gpioin(sbh)
30 #define gpiointpolarity(mask,val) sb_gpiointpolarity(sbh, mask, val)
31 #define gpiointmask(mask,val) sb_gpiointmask(sbh, mask, val)
32 #define gpioouten(mask,val) sb_gpioouten(sbh, mask, val)
33 #define gpioout(mask,val) sb_gpioout(sbh, mask, val)
36 #error Unsupported/unknown GPIO configuration
This page took 0.050114 seconds and 5 git commands to generate.