Blame view

include/linux/cuda.h 501 Bytes
b24413180   Greg Kroah-Hartman   License cleanup: ...
1
  /* SPDX-License-Identifier: GPL-2.0 */
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
2
3
4
5
6
7
  /*
   * Definitions for talking to the CUDA.  The CUDA is a microcontroller
   * which controls the ADB, system power, RTC, and various other things.
   *
   * Copyright (C) 1996 Paul Mackerras.
   */
fde284513   David Howells   UAPI: Guard linux...
8
9
  #ifndef _LINUX_CUDA_H
  #define _LINUX_CUDA_H
607ca46e9   David Howells   UAPI: (Scripted) ...
10
  #include <uapi/linux/cuda.h>
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
11

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
12
13
14
15
16
  
  extern int find_via_cuda(void);
  extern int cuda_request(struct adb_request *req,
  			void (*done)(struct adb_request *), int nbytes, ...);
  extern void cuda_poll(void);
fde284513   David Howells   UAPI: Guard linux...
17
  #endif /* _LINUX_CUDA_H */