cuda.h 462 B

12345678910111213141516171819
  1. /*
  2. * Definitions for talking to the CUDA. The CUDA is a microcontroller
  3. * which controls the ADB, system power, RTC, and various other things.
  4. *
  5. * Copyright (C) 1996 Paul Mackerras.
  6. */
  7. #ifndef _LINUX_CUDA_H
  8. #define _LINUX_CUDA_H
  9. #include <uapi/linux/cuda.h>
  10. extern int find_via_cuda(void);
  11. extern int cuda_request(struct adb_request *req,
  12. void (*done)(struct adb_request *), int nbytes, ...);
  13. extern void cuda_poll(void);
  14. #endif /* _LINUX_CUDA_H */