1 /* SPDX-License-Identifier: GPL-2.0 */ << 2 /* 1 /* 3 * Definitions for talking to the CUDA. The C 2 * Definitions for talking to the CUDA. The CUDA is a microcontroller 4 * which controls the ADB, system power, RTC, 3 * which controls the ADB, system power, RTC, and various other things. 5 * 4 * 6 * Copyright (C) 1996 Paul Mackerras. 5 * Copyright (C) 1996 Paul Mackerras. 7 */ 6 */ 8 #ifndef _LINUX_CUDA_H 7 #ifndef _LINUX_CUDA_H 9 #define _LINUX_CUDA_H 8 #define _LINUX_CUDA_H 10 9 11 #include <linux/rtc.h> << 12 #include <uapi/linux/cuda.h> 10 #include <uapi/linux/cuda.h> 13 11 14 12 15 extern int __init find_via_cuda(void); !! 13 extern int find_via_cuda(void); 16 extern int cuda_request(struct adb_request *re 14 extern int cuda_request(struct adb_request *req, 17 void (*done)(struct ad 15 void (*done)(struct adb_request *), int nbytes, ...); 18 extern void cuda_poll(void); 16 extern void cuda_poll(void); 19 << 20 extern time64_t cuda_get_time(void); << 21 extern int cuda_set_rtc_time(struct rtc_time * << 22 17 23 #endif /* _LINUX_CUDA_H */ 18 #endif /* _LINUX_CUDA_H */ 24 19
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.