Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
0002 /*
0003  * Definitions for talking to the CUDA.  The CUDA is a microcontroller
0004  * which controls the ADB, system power, RTC, and various other things.
0005  *
0006  * Copyright (C) 1996 Paul Mackerras.
0007  */
0008 
0009 #ifndef _UAPI_LINUX_CUDA_H
0010 #define _UAPI_LINUX_CUDA_H
0011 
0012 /* CUDA commands (2nd byte) */
0013 #define CUDA_WARM_START     0
0014 #define CUDA_AUTOPOLL       1
0015 #define CUDA_GET_6805_ADDR  2
0016 #define CUDA_GET_TIME       3
0017 #define CUDA_GET_PRAM       7
0018 #define CUDA_SET_6805_ADDR  8
0019 #define CUDA_SET_TIME       9
0020 #define CUDA_POWERDOWN      0xa
0021 #define CUDA_POWERUP_TIME   0xb
0022 #define CUDA_SET_PRAM       0xc
0023 #define CUDA_MS_RESET       0xd
0024 #define CUDA_SEND_DFAC      0xe
0025 #define CUDA_RESET_SYSTEM   0x11
0026 #define CUDA_SET_IPL        0x12
0027 #define CUDA_SET_AUTO_RATE  0x14
0028 #define CUDA_GET_AUTO_RATE  0x16
0029 #define CUDA_SET_DEVICE_LIST    0x19
0030 #define CUDA_GET_DEVICE_LIST    0x1a
0031 #define CUDA_GET_SET_IIC    0x22
0032 
0033 
0034 #endif /* _UAPI_LINUX_CUDA_H */