blob: 056867f09a0177e7bfd201d3a1befae7831d84ad [file] [log] [blame]
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00001/* SPDX-License-Identifier: GPL-2.0 */
2/*
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 */
8#ifndef _LINUX_CUDA_H
9#define _LINUX_CUDA_H
10
11#include <uapi/linux/cuda.h>
12
13
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
19#endif /* _LINUX_CUDA_H */