blob: b723328238072cd62bf19dd30e635bc916cb23ce [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
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 */
David Howellsfde28452011-12-13 09:26:45 +00007#ifndef _LINUX_CUDA_H
8#define _LINUX_CUDA_H
9
David Howells607ca462012-10-13 10:46:48 +010010#include <uapi/linux/cuda.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070011
Linus Torvalds1da177e2005-04-16 15:20:36 -070012
13extern int find_via_cuda(void);
14extern int cuda_request(struct adb_request *req,
15 void (*done)(struct adb_request *), int nbytes, ...);
16extern void cuda_poll(void);
17
David Howellsfde28452011-12-13 09:26:45 +000018#endif /* _LINUX_CUDA_H */