mantis_ioc.h 722 B

12345678910111213141516171819202122232425262728293031
  1. #ifndef __MANTIS_IOC_H
  2. #define __MANTIS_IOC_H
  3. #define GPIF_A00 0x00
  4. #define GPIF_A01 0x01
  5. #define GPIF_A02 0x02
  6. #define GPIF_A03 0x03
  7. #define GPIF_A04 0x04
  8. #define GPIF_A05 0x05
  9. #define GPIF_A06 0x06
  10. #define GPIF_A07 0x07
  11. #define GPIF_A08 0x08
  12. #define GPIF_A09 0x09
  13. #define GPIF_A10 0x0a
  14. #define GPIF_A11 0x0b
  15. #define GPIF_A12 0x0c
  16. #define GPIF_A13 0x0d
  17. #define GPIF_A14 0x0e
  18. enum mantis_stream_control {
  19. STREAM_TO_HIF = 0,
  20. STREAM_TO_CAM
  21. };
  22. extern int mantis_get_mac(struct mantis_pci *mantis);
  23. extern void gpio_set_bits(struct mantis_pci *mantis, u32 bitpos, u8 value);
  24. extern int mantis_stream_control(struct mantis_pci *mantis, enum mantis_stream_control stream_ctl);
  25. #endif /* __MANTIS_IOC_H */