blob: 056867f09a0177e7bfd201d3a1befae7831d84ad [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Linus Torvalds1da177e2005-04-16 15:20:36 -07002/*
3 * Definitions for talking to the CUDA. The CUDA is a microcontroller
4 * which controls the ADB, system power, RTC, and various other things.
5 *
6 * Copyright (C) 1996 Paul Mackerras.
7 */
David Howellsfde28452011-12-13 09:26:45 +00008#ifndef _LINUX_CUDA_H
9#define _LINUX_CUDA_H
10
David Howells607ca462012-10-13 10:46:48 +010011#include <uapi/linux/cuda.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070012
Linus Torvalds1da177e2005-04-16 15:20:36 -070013
14extern int find_via_cuda(void);
15extern int cuda_request(struct adb_request *req,
16 void (*done)(struct adb_request *), int nbytes, ...);
17extern void cuda_poll(void);
18
David Howellsfde28452011-12-13 09:26:45 +000019#endif /* _LINUX_CUDA_H */