gpio.h 357 B

1234567891011121314
  1. #ifndef _ASM_MICROBLAZE_GPIO_H_
  2. #define _ASM_MICROBLAZE_GPIO_H_
  3. #include <asm-generic/gpio.h>
  4. /* Allocation functions */
  5. extern int gpio_alloc_dual(u32 baseaddr, const char *name, u32 gpio_no0,
  6. u32 gpio_no1);
  7. extern int gpio_alloc(u32 baseaddr, const char *name, u32 gpio_no);
  8. #define gpio_status() gpio_info()
  9. extern void gpio_info(void);
  10. #endif